User forums > Using Code::Blocks

Linux Newbie, needs help linking with codeblocks

(1/1)

sipickles:
hi,

I am experienced using IDEs on windows but am finally trying Ubuntu Linux.

I want to use codeblocks but can't get it to link to files and don't know how rto do this in Ubuntu.

For example, I am building a GUI project with wxwidgets. When I try to build for the first time, I get errors like

"cannot find include file wx/wxwidgets.h"

I think wxwdigets is installed when codeblocks is installed, yes? so how do I link to it?

Many thanks, and be gentle with me :)

Simon

Biplab:
In your PC wxWidgets runtime has been installed. Install another package which is postfixed with "devel". E.g., if you've installed wxGTK-2.6.3 package then look for wxGTK-2.6.3-devel package too.

Remember the package name I mentioned here is for explanation only.

manmach:
Simon,

You might want to work on your knowledge of your tools too.
The error you get is a compiler error, not a linker error. Your compiler is telling you that it cannot find a certain file, probably because, as Biplab noted, you have not installed the development package of wxWidgets.

Understanding your tools is essential in figuring out what is causing error messages.

Navigation

[0] Message Index

Go to full version