News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Linux Newbie, needs help linking with codeblocks

Started by sipickles, May 29, 2007, 09:30:09 AM

Previous topic - Next topic

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.
Be a part of the solution, not a part of the problem.

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.