Hi,

I'm trying to build OpenCascade and PythonOCC from source, because I
could not find packages for the distribution I'm using. I compiled OCC
6.5.1 successfully, and tried to build PythonOCC 0.5 with it, but the
smesh library give compilation errors while doing that.

I noticed that PythonOCC 0.5 works with 6.3.0 version of OCC. But
older versions of OCC are nowhere to be found
(http://www.opencascade.org/org/forum/thread_20066/)

I also checked out PythonOCC top of tree from Google code, but that
also won't compile against OCC 6.5.1.

Any idea where can I get OCC 6.3.0?

The compiler error for PythonOCC 0.5 with OCC 6.3.0 is:
[ 50%] Building CXX object CMakeFiles/SMESH.dir/src/SMESH/SMESH_Pattern.cpp.o
/home/ec2-user/Downloads/pythonocc-0.5/src/contrib/smesh-5.1.2.2/src/SMESH/SMESH_Pattern.cpp:
In function ‘gp_XY project(const SMDS_MeshNode*, Extrema_GenExtPS&)’:
/home/ec2-user/Downloads/pythonocc-0.5/src/contrib/smesh-5.1.2.2/src/SMESH/SMESH_Pattern.cpp:439:
error: ‘class Extrema_GenExtPS’ has no member named ‘Value’
/home/ec2-user/Downloads/pythonocc-0.5/src/contrib/smesh-5.1.2.2/src/SMESH/SMESH_Pattern.cpp:440:
error: ‘class Extrema_GenExtPS’ has no member named ‘Value’
make[2]: *** [CMakeFiles/SMESH.dir/src/SMESH/SMESH_Pattern.cpp.o] Error 1
make[1]: *** [CMakeFiles/SMESH.dir/all] Error 2
make: *** [all] Error 2

Any idea how this can be fixed?
--
Jayesh

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to