Bug #14360 2008-08-13 07:12
thomascatlee
"`wxconfig --cflags`" didn't work
I create an new wxWidgets project through the wizard, and then try to compile it. But "`wxconfig --cflags`" in the Project->Build options->Compiler settings->other options didn't work.
As a result, I get "g++ -Wall -g -I/usr/include -I/usr/local/include -c /home/lx/wx/test1/test1App.cpp -o obj/Debug/test1App.o" in the Build log, which suppose to be "g++ -Wall `wx-config --cflags` -g -I/usr/include -I/usr/local/include -c /home/lx/wx/test1/test1App.cpp -o obj/Debug/test1App.o".
I replace "`wxconfig --cflags`" with "-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__WXGTK__ -pthread", it works, I can compile the files that generated by the template.
I hope that I described the problem clearly, my poor english!
codeblock version:svn 5182 linux unicode
- Category
- Application::WrongBehaviour
- Group
- Status
- Open
- Close date
- Assigned to