If you use the wizard for a wxWidgets project , the calls to "wx-config" are set correctly.
If you don't use any special libraries you should get a build log like this (with full commandline logging turned on):
-------------- Build: Debug in test ---------------
g++ -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -Wall -g -Iusr/include/ -c /tmp/test/testApp.cpp -o obj/Debug/testApp.o
g++ -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -Wall -g -Iusr/include/ -c /tmp/test/testMain.cpp -o obj/Debug/testMain.o
g++ -L/usr/lib/ -o bin/Debug/test obj/Debug/testApp.o obj/Debug/testMain.o -pthread -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
Output size is 328,39 KB
Process terminated with status 0 (0 minutes, 6 seconds)
0 errors, 0 warnings
In the global Compiler-settings there should only be the search-dirs for compiler, linker and resources be set (for me :"/usr/include", "/usr/lib" and again "/usr/include").
"wx-config" is called with backticks "
` ", that means something like this:
.
Create a simple project with the wizzard, don't change anything (inspite of the projects name and path of course) and try it again.
It would be helpful if you could post the full commandline pasted from the Buil Log. Look
here for a way to do it.