Author Topic: compile error  (Read 3207 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: 9694
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • 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.