Author Topic: Debian wheezy, CB + wxwidgets. Critical error with wx/setup.h  (Read 4674 times)

Offline x153

  • Single posting newcomer
  • *
  • Posts: 6
Hello!
I have just installed fresh wheezy and would like to start learning wxWidgets. Unfortunetly I have got a bug. When I try to use #include "wx/string.h" I have got following error: "Critical error: wx/setup.h: no such file or directory".
Could anyone help me with that? When I make wxwidgets project the "build-in" program works fine.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6675
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Debian wheezy, CB + wxwidgets. Critical error with wx/setup.h
« Reply #2 on: April 21, 2013, 05:59:54 pm »
Use wx-config on linux, global wx-variable normally is not needed.

Look at the build-options of the wxWidgets-wizard project to see how it is done.

Offline x153

  • Single posting newcomer
  • *
  • Posts: 6
Re: Debian wheezy, CB + wxwidgets. Critical error with wx/setup.h
« Reply #3 on: April 21, 2013, 06:17:09 pm »
Thanks A LOT!
Works like a charm :). I tried that before, but when you click "build options" on a project you will see "build options" of single file (thats why I wasn't able to see anything). Now it works perfect, thanks again :)