Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: hadian on November 25, 2009, 07:44:56 am

Title: compile error
Post by: hadian on November 25, 2009, 07:44:56 am
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?
Title: Re: compile error
Post by: MortenMacFly on November 25, 2009, 08:55:13 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).
Title: Re: compile error
Post by: Jenna on November 25, 2009, 09:03:29 am
It's most likely called wxGTK-dev or something like that.