Hi,
I am trying to build wxPython on my machine and got into troubles.
In step 3 in wxPython/docs/BUILD.txt I try to run the command:python2.3
setup.py build_ext --inplace --debug
and get the following error:
gcc ..... _core_wrap.cpp ....
include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No such file or
directory
.... and many more errors like that.
wx.h is located ../include/wx/wx.h I see in the gcc compile line the cflag
-Iinclude but it seems that the gcc thinks the base directory is ./ instead
of ../
Can you give more details, like your OS, the paths to where you untarred the source files and where you are executing your build scripts, and the exact commands you are executing in each step?
Hi,
I am trying to build wxPython on my machine and got into troubles.
In step 3 in wxPython/docs/BUILD.txt I try to run the command:python2.3
setup.py build_ext --inplace --debug
and get the following error:
gcc … _core_wrap.cpp …
include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No such file or
directory
… and many more errors like that.
wx.h is located …/include/wx/wx.h I see in the gcc compile line the cflag
-Iinclude but it seems that the gcc thinks the base directory is ./ instead
of …/
Hi,
I am trying to build wxPython on my machine and got into troubles.
In step 3 in wxPython/docs/BUILD.txt I try to run the command:python2.3
setup.py build_ext --inplace --debug
and get the following error:
gcc ..... _core_wrap.cpp ....
include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No such file or
directory
.... and many more errors like that.
wx.h is located ../include/wx/wx.h I see in the gcc compile line the cflag
-Iinclude but it seems that the gcc thinks the base directory is ./ instead
of ../
Did you do the "make install" step of the wxGTK build? Where was it installed to? Is that {prefix}/bin dir on your PATH? If not then you need to either put it on the path, or give the WX_CONFIG=/full/path/to/wx-config command line parameter to the setup.py command. Setup.py uses wx-config to find out things about the specific wxGTK install that it should use, like the locations of the include files and libs, what libs to link with, etc.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!