wxproj compilation problems

Jan-Oliver Wagner jan at intevation.de
Sun Apr 10 23:54:28 CEST 2005


Hi,

since the recent changes regarding the wx header file,
I can not build Thuban anymore:

| $ python setup.py  build_ext --use-wx-python-swig-hack  install_local
| running build_ext
| building 'Lib.wxproj' extension
| gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
| -Wstrict-prototypes -fPIC -DGTK_NO_CHECK_CASTS -D__WXGTK__
| -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DUSE_WX_PYTHON_SWIG_HACK
| -Ilibraries/shapelib -I/usr/local/include -Ilibraries/pyshapelib/
| -I/usr/lib/wx/include/gtk-2.4 -I/usr/include/python2.3 -c
| libraries/thuban/wxproj.cpp -o
| build/temp.linux-ppc-2.3/libraries/thuban/wxproj.o
| libraries/thuban/wxproj.cpp: In function `bool
| wxPyConvertSwigPtr(PyObject*, void**, char*)':
| libraries/thuban/wxproj.cpp:65: error: `wxPyCoreAPIPtr' undeclared
| (first use 
| this function)
| libraries/thuban/wxproj.cpp:65: error: (Each undeclared identifier
| is reported 
| only once for each function it appears in.)
| libraries/thuban/wxproj.cpp:66: error: `wxPyCoreAPI_IMPORT'
| undeclared (first 
| use this function)
| libraries/thuban/wxproj.cpp:68: error: `SWIG_GetPtrObj'
| undeclared (first use 
| this function)
| error: command 'gcc' failed with exit status 1

I am on Debian sarge with wx 2.4.

Any ideas?

	Jan

-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH                      http://intevation.de/
FreeGIS                                http://freegis.org/




More information about the Thuban-devel mailing list

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