Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#579 closed bug (fixed)

error compiling with msexport_wrap.cxx

Reported by: steko@… Owned by: gsherman
Priority: major: does not work as expected Milestone:
Component: Build/Install Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

Hi, I am on Ubuntu Feisty Fawn (all updates shining and running)

I'm trying to compile QGIS from SVN:6551.

At the end of the make process I get this error

[ 99%] Building CXX object tools/mapserver_export/CMakeFiles/msexport.dir/msexport_wrap.o
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx: In function ‘int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)’:
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:1180: error: invalid conversion from ‘const char*’ to ‘char*’
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx: In function ‘void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)’:
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:2071: error: invalid conversion from ‘const char*’ to ‘char*’
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx: At global scope:
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:231: warning: ‘swig_type_info* SWIG_TypeDynamicCast(swig_type_info*, void**)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:419: warning: ‘const char* SWIG_UnpackDataName(const char*, void*, size_t, const char*)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:483: warning: ‘swig_type_info* SWIG_TypeQuery(const char*)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:499: warning: ‘void SWIG_PropagateClientData(swig_type_info*)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:1202: warning: ‘void* SWIG_Python_MustGetPtr(PyObject*, swig_type_info*, int, int)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:1216: warning: ‘int SWIG_Python_ConvertPacked(PyObject*, void*, size_t, swig_type_info*, int)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:1389: warning: ‘int SWIG_CheckLongInRange(long int, long int, long int, const char*)’ defined but not used
/home/steko/src/qgis_unstable/tools/mapserver_export/msexport_wrap.cxx:2002: warning: ‘void SWIG_Python_addvarlink(PyObject*, char*, PyObject* (*)(), int (*)(PyObject*))’ defined but not used
make[2]: *** [tools/mapserver_export/CMakeFiles/msexport.dir/msexport_wrap.o] Error 1
make[1]: *** [tools/mapserver_export/CMakeFiles/msexport.dir/all] Error 2
make: *** [all] Error 2

Attachments (1)

CMakeCache.txt (36.5 KB ) - added by steko@… 17 years ago.
CMakeCache of my failed build

Download all attachments as: .zip

Change History (10)

by steko@…, 17 years ago

Attachment: CMakeCache.txt added

CMakeCache of my failed build

comment:1 by steko@…, 17 years ago

forgot to say that I asked for help on IRC: http://logs.qgis.org/slogs/%23qgis.2007-02-06.log around 09:30:49. There you can find some clue, perhaps.

comment:2 by anonymous, 17 years ago

Milestone: Version 0.9 Release

comment:3 by steko@…, 17 years ago

Does that mean that I won't be able at all to compile from SVN on my machine?

comment:4 by anonymous, 17 years ago

You can try to disable bindings for now. Set teh WITH_BINDINGS option to OFF in cmakesetup

comment:5 by anonymous, 17 years ago

Owner: changed from nobody to gsherman

Ah sorry those are swig errors not sip so the bindings option os probably not the one we need. Please ignore last post. Gary Sherman is probably the best person to ask about this.

comment:6 by homann, 17 years ago

This is pyhton 2.5/ vs 2.4 error. Appeared for me when I switched to 2.5

Change lines 1177 and 2068 in <trunk_qgis>tools/mapserver_export/msexport_wrap.cxx from '#ifdef WIN32' to '#if 1'.

gsherman, time to re-generate the wrapper file??

comment:7 by steko@…, 17 years ago

Works for me. Thanks. Now I'm another happy QGIS SVN user

comment:8 by anonymous, 17 years ago

Awaiting user input: unset
Resolution: fixed
Status: newclosed

comment:9 by (none), 15 years ago

Milestone: Version 0.9

Milestone Version 0.9 deleted

Note: See TracTickets for help on using tickets.