News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

compile error

Started by hadian, November 25, 2009, 07:44:56 AM

Previous topic - Next topic

hadian

I have installed codeblocks on gentoo (emerge codeblocks). i created a sample wxwidget project (created by codeblocks itself). when i try to compile the code it gives me the messages like "error : wx/app No such file or directory" and other mesages that seems it can not filnd wx/wx.h wxbutton.h and so on.
i checked the installed file. the wxGTK ver. 2.8.10.1-r1 is already installed. is there any other packages that should be installed?

MortenMacFly

Quote from: hadian on November 25, 2009, 07:44:56 AM
any other packages that should be installed?
You not only need the runtime, but also the development version (package). In addition make sure your project is setup correctly so that the compiler can find all required files (check the include path's in the project settings).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

It's most likely called wxGTK-dev or something like that.