Include path in kdevelop
A newbie here. I'm using KDevelop 3.2 to do a "hello word" program using Wx widget. The wizard generates a cpp file contains #include <wx/wx.h>. Compiler complaints it can't find it. If I include the full path #include <usr/include/wx-2.6/wx/wx.h>, then all worked. How to you set the "include path" to point to "usr/include/wx-2.6" in kdevelop? thx.
|
Automake manager (if you're using it, if not, settings of your building system)->right click on subproject->Options->Include dirs
Here you can add the right directory to be searched for includes. |
wxwidgets has a configure program, wx-config.. if you give the compiler the arg
Code:
`wx-config --cxxflags` edit> you can enter this info under the project options, configure options, c/c++ preproc flags.. |
got it... Thanks Mara and xhi.
|
All times are GMT -5. The time now is 11:07 PM. |