Make on Ubuntu 9.10 fails

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
minotaur5
Posts: 1
Joined: Mon Dec 28, 2009 8:05 pm

Make on Ubuntu 9.10 fails

Post by minotaur5 »

Hi Looking forward to getting to know freecad and am interested in extending it for CAM and to create GCode for EMC2.

I am on Ubuntu 9.10 and was able to create a configure file with no issues.
However, It fails to do a make with SWIG as per below. Any suggestions? :idea:
Thanks,
Mark

Freecad Revision: 2765

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -DHAVE_SWIG=1 -g -D_DEBUG -D_REENTRANT -Wall -g -O2 -Wno-deprecated -frtti -MT libFreeCADBase_la-swigpyrun.lo -MD -MP -MF .deps/libFreeCADBase_la-swigpyrun.Tpo -c swigpyrun.cpp -fPIC -DPIC -o .libs/libFreeCADBase_la-swigpyrun.o
In file included from swigpyrun.cpp:29:
swigpyrun.h: In function ‘int Swig_python::SWIG_Python_ConvertPtr(PyObject*, void**, Swig_python::swig_type_info*, int)’:
swigpyrun.h:1118: error: invalid conversion from ‘const char*’ to ‘char*’
make[4]: *** [libFreeCADBase_la-swigpyrun.lo] Error 1
make[4]: Leaving directory `/opt/freecad/src/Base'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/freecad/src/Base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/freecad/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/freecad'
make: *** [all] Error 2
Post Reply