[wxPython-dev] compile problems

Robin Dunn robin at alldunn.com
Tue Dec 19 11:22:36 PST 2006


Michele Petrazzo wrote:
> Robin Dunn wrote:
>> 1. Are you using swig 1.3.29 with my patches applied?  See 
>> wxPython/SWIG/README.txt
>>
> 
> No, of course :) Just downloaded and tomorrow will try.
> 
>> 2. You should just use setup.py to build and install the wxPython 
>> extension modules, including letting it run swig for you.  See 
>> wxPython/docs/BUILD.txt
> 
> Here I can found all that I need, except (if can be a problem) that I
> don't find how to build only one extensions, not all. A solution, like
> can I see, is to remove the .o file from build directory. Is the right one?

That will do the compile, but not run swig.  There is however some 
dependency checking going on, so if you modify the .i file then it will 
automatically know that it needs to run swig on that file and then 
compile the .cpp file it produces.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list