Hello Thomas, I did a fresh checkout and then used the setup.py procedure. At least one thing is re-assuring. It fails consistently
swigging /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl.i to /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c swig -python -modern -fcompact -c++ -DHAVE_LIMITS_H -DHAVE_CONFIG_H -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -outdir /home/nawijn/scratch/pythonOCC/src/OCC -o /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl.i g++ -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -I/opt/occ/inc -I/usr/include/python2.5 -c /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c -o build/temp.linux-x86_64-2.5/home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.o -O0 /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c: In constructor ‘swig::PyObject_ptr::PyObject_ptr(PyObject*, bool)’: /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c:2958: warning: suggest explicit braces to avoid ambiguous ‘else’ In file included from /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c:3502: /opt/occ/inc/Interface_Check.hxx: At global scope: /opt/occ/inc/Interface_Check.hxx:184: error: expected unqualified-id before ‘)’ token In file included from /opt/occ/inc/MoniTool_DataMapNodeOfDataMapOfShapeTransient.hxx:34, from /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c:3576: /opt/occ/inc/TopoDS_Shape.hxx:158: error: expected unqualified-id before numeric constant /opt/occ/inc/TopoDS_Shape.hxx:161: error: expected unqualified-id before numeric constant In file included from /opt/occ/inc/TopoDS_Shape.lxx:7, from /opt/occ/inc/TopoDS_Shape.hxx:277, from /opt/occ/inc/MoniTool_DataMapNodeOfDataMapOfShapeTransient.hxx:34, from /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c:3576: /opt/occ/inc/TopoDS_TShape.hxx:119: error: expected unqualified-id before numeric constant /opt/occ/inc/TopoDS_TShape.hxx:122: error: expected unqualified-id before numeric constant In file included from /opt/occ/inc/TopoDS_Shape.hxx:277, from /opt/occ/inc/MoniTool_DataMapNodeOfDataMapOfShapeTransient.hxx:34, from /home/nawijn/scratch/pythonOCC/src/SWIG_src_modular_linux_darwin/STEPControl_wrap.c:3576: /opt/occ/inc/TopoDS_Shape.lxx:239: error: expected unqualified-id before numeric constant /opt/occ/inc/TopoDS_Shape.lxx:249: error: expected unqualified-id before numeric constant /opt/occ/inc/InterfaceGraphic_XWD.hxx:30: warning: ‘InterfaceGraphic_swaptest’ defined but not used error: command 'g++' failed with exit status 1 Any suggestions? Marco _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users