News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debian wheezy, CB + wxwidgets. Critical error with wx/setup.h

Started by x153, April 21, 2013, 04:10:48 PM

Previous topic - Next topic

x153

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.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

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.

x153

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 :)