Hi, I am trying to build top of tree versions from OCE and PythonOCC repositories on Mac OSX Snow leopard. OCE built fine. Under pythonOCC, I built and installed Geom lib successfully, but SMESH failed to install. I get following error:
[ 49%] Building CXX object CMakeFiles/SMESH.dir/src/SMESH/SMESH_MeshEditor.cpp.o /Users/jayesh/git/pythonocc/src/contrib/smesh-5.1.2.2/src/SMESH/SMESH_MeshEditor.cpp: In function ‘bool getClosestUV(Extrema_GenExtPS&, const gp_Pnt&, gp_XY&)’: /Users/jayesh/git/pythonocc/src/contrib/smesh-5.1.2.2/src/SMESH/SMESH_MeshEditor.cpp:2187: error: ‘class Extrema_GenExtPS’ has no member named ‘Value’ /Users/jayesh/git/pythonocc/src/contrib/smesh-5.1.2.2/src/SMESH/SMESH_MeshEditor.cpp:2188: error: ‘class Extrema_GenExtPS’ has no member named ‘Value’ make[2]: *** [CMakeFiles/SMESH.dir/src/SMESH/SMESH_MeshEditor.cpp.o] Error 1 make[1]: *** [CMakeFiles/SMESH.dir/all] Error 2 make: *** [all] Error 2 Therefore I started building pythonOCC by disabling SMESH support. I get the following error: ~ python setup.py --disable-SMESH --with-occ-include=/usr/local/inc --with-occ-lib=/usr/local/lib --with-geom-lib=/usr/local/lib build .... swigging /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly.i to /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp swig -python -O -c++ -DHAVE_LIMITS_H -DHAVE_CONFIG_H -DCSFDB -w302,401,314,509,512 -DOCC_CONVERT_SIGNALS -outdir /Users/jayesh/git/pythonocc/src/build/swig_output_darwin_py26 -D_OCC64 -o /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly.i g++ -O2 -fPIC -dynamic -pipe -arch x86_64 -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DCSFDB -DOCC_CONVERT_SIGNALS -D_OCC64 -I/usr/local/inc -I/Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp -o build/temp.macosx-10.6-universal-2.6/Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.o -I/usr/X11R6/include /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp: In function ‘void SWIG_Python_AddErrorMsg(const char*)’: /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp:870: warning: format not a string literal and no format arguments /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp: In function ‘PyObject* _wrap_Poly_PointOnTriangle(PyObject*, PyObject*)’: /Users/jayesh/git/pythonocc/src/wrapper/SWIG_files/linux_darwin/Poly_wrap.cpp:14294: error: ‘PointOnTriangle’ is not a member of ‘Poly’ error: command 'g++' failed with exit status 1 I know that PythonOCC is still not ready to work with OCE, are these errors related to that? Thanks. -- Jayesh
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users