From: SourceForge.net <no...@so...> - 2011-12-18 22:40:29
|
Bugs item #3462269, was opened at 2011-12-18 14:40 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3462269&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: python Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andreas K. Hüttel () Assigned to: Nobody/Anonymous (nobody) Summary: error: too few arguments to function 'PyObject* Swig_python: Initial Comment: Compiling freecad-0.11.4422 succeeds with swig-1.3.40 but fails with swig-2.0.4. The error message follows; the full build log is attached. Please indicate what other information would be useful. Note that this installation of swig-2.0.4 already includes the patch of svn-commit 12814, otherwise compiling pivy (dependency of freecad) would be impossible with swig-2. (FreeCAD still fails at the linking stage, but that is a different issue not related to swig.) libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -DHAVE_SWIG=1 -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.7 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -march=native -O2 -pipe -ggdb -fpermissive -Wno-deprecated -frtti -c swigpyrun.cpp -fPIC -DPIC -o .libs/libFreeCADBase_la-swigpyrun.o In file included from swigpyrun.cpp:30:0: swigpyrun.inl: In function 'int Swig_python::createSWIGPointerObj_T(const char*, void*, PyObject**, int)': swigpyrun.inl:35:55: warning: invalid conversion from 'void*' to 'PyObject* {aka _object*}' [-fpermissive] swigpyrun.inl:35:55: warning: invalid conversion from 'int' to 'Swig_python::swig_type_info*' [-fpermissive] swigpyrun.inl:35:55: error: too few arguments to function 'PyObject* Swig_python::SWIG_Python_NewPointerObj(PyObject*, void*, Swig_python::swig_type_info*, int)' ./swigpyrun.h:2536:1: note: declared here make[4]: *** [libFreeCADBase_la-swigpyrun.lo] Fehler 1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3462269&group_id=1645 |