Author Topic: compile error  (Read 2207 times)

hadian

  • Guest
compile error
« 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9614
Re: compile error
« Reply #1 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).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: compile error
« Reply #2 on: November 25, 2009, 09:03:29 am »
It's most likely called wxGTK-dev or something like that.