On Wed, Oct 5, 2011 at 12:20 PM, jelle feringa <jelleferi...@gmail.com>wrote:
> 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. >> > > That's not really a surprise; SMESH is a fortran lib that is hard to > compile, which is why we'll fork it out of PythonOCC and will make it a > separate module. > > Therefore I started building pythonOCC by disabling SMESH support. I get >> the following error: >> > .... > >> I know that PythonOCC is still not ready to work with OCE, are these >> errors related to that? >> > > That's not really true, yesterday I built pyocc with the current master of > OCE [ 0.5 and 0.6 work just as well ], and all works as expected. > So, this is perhaps due to having an older software version? Could you let > us know which swig & g++ version you use? Building pyocc is a pretty > painless process, so I'm somewhat surprised. > Thanks for the quick reply. Here are the versions: mbp: ~/git/pythonocc/src/contrib/smesh-5.1.2.2 [master] $ swig -version SWIG Version 1.3.31 Compiled with g++ [i686-apple-darwin10.0] Please see http://www.swig.org for reporting bugs and further information mbp: ~/git/pythonocc/src/contrib/smesh-5.1.2.2 [master] $ g++ -v Using built-in specs. Target: i686-apple-darwin10 Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) I had once unsuccessfully installed OpenCascade 6.x and PythonOCC 0.5, on this machine (from this page http://www.pythonocc.org/resources/build_install/macosx-snow-leopard-10-6-intel-64-bit-binaries/). I wonder if that is causing conflicts. -- Jayesh
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users