Thuban still crashes because of SWIG pointer problem

Jonathan Coles jonathan.coles at gmail.com
Wed May 11 16:21:48 CEST 2005


Despite some recent hacks at working around incompatibilities with
SWIG pointers, Thuban still segfaults when compiling on Debian sid
using python 2.3, libwxgtk2.5.3-python, wxpython2.5.3, and
libwxgtk2.5-dev.

If --use-wx-python-swig-hack is NOT specified, then
wx/wxPython/wxPython.h cannot be found. If the flag IS specified, I
get a segfault when loading the iceland sample.

My fix for this has been to not specify the flag, copy wxPython.h from
the wxPython (v2.5.3.1) source to libraries/thuban and modify
wxproj.cpp to include "wxPython.h" instead of </wxPython/wxPython.h>.

The swigPtrConvertHack.h does not work properly with wxwidgets 2.5.3
(at least on my machine).

Is anyone else experiencing the same trouble?

thanks,

--jonathan

-- 
=====================================================================
Jonathan Coles                               http://www.jpcoles.com
jonathan at jpcoles.com
=====================================================================




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)