#1214 error: too few arguments to function 'PyObject* Swig_python:

closed-invalid
python (259)
5
2012-08-16
2011-12-18
Anonymous
No

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

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-12-18

    compressed build log of freecad

     
  • William Fulton

    William Fulton - 2012-08-16
    • assigned_to: nobody --> wsfulton
    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks