2010/5/10 John Griessen <j...@industromatic.com> > Denis Barbier wrote: > > On 2010/5/10 Thomas Paviot wrote: > > >> Hard to answer this question: it depends on your machine. Maybe the > >> compilation is longer on Linux than on MacOSX : it's about 1h30 on my > >> MacBookPro. > > [...] > > > > Ditto on my Linux laptop, IIRC. > > I did not check how much memory is needed, but John, maybe you run out > > of memory (because of swig?) and are swapping a lot? > > It completed after about 7 hours. My machine is just 1GHz and with all the > other apps running when I started the compile, it had just 220MB of RAM > unused > according to top. That was probably it. > > So now I do install and something is off. Here's the message: > > j...@toolbench:/backups-650mb/pythonocc-read-only/src$ sudo python > setup.py install > Building pythonOCC-0.5dev for linux2 > Checking OCC Standard_Transient.hxx header ... found > Checking OpenCASCADE libraries BinLPlugin BinPlugin BinXCAFPlugin > FWOSPlugin PTKernel StdLPlugin StdPlugin TKAdvTools > TKBin TKBinL TKBinTObj TKBinXCAF TKBO TKBool TKBRep TKCAF TKCDF > TKernel TKFeat TKFillet TKG2d TKG3d TKGeomAlgo > TKGeomBase TKHLR TKIGES TKLCAF TKMath TKMesh TKMeshVS TKNIS > TKOffset TKOpenGl TKPCAF TKPLCAF TKPrim TKPShape > TKService TKShapeSchema TKShHealing TKStdLSchema TKStdSchema TKSTEP > TKSTEP209 TKSTEPAttr TKSTEPBase TKSTL TKTObj > TKTopAlgo TKV2d TKV3d TKVRML TKXCAF TKXCAFSchema TKXDEIGES TKXDESTEP > TKXMesh TKXml TKXmlL TKXmlTObj TKXmlXCAF > TKXSBase XCAFPlugin XmlLPlugin XmlPlugin XmlXCAFPlugin ... found. > Checking salomegeometry GEOMAlgo_Algo.hxx header ... found > Checking salomegeometry GEOM library ... not found > GEOM library not found on your system >
I use to develop with MacOSX and Windows. Maybe I made a mistake in the way the setup.pu script detects the GEOM and SMESH libraries. What are the names of the .so files installed to /usr/local/lib? > This will build the GEOM project and install shared library to > /usr/local/lib > > I already built GEOM by: > > cd ./src/contrib/GEOM > cmake . > make > sudo make install > > I executed theinstall anyway and see things like this happening: > > copying build/lib.linux-i686-2.5/OCC/_Geom2dAPI.so -> > /usr/lib/python2.5/site-packages/OCC > copying build/lib.linux-i686-2.5/OCC/_Geom2dConvert.so -> > /usr/lib/python2.5/site-packages/OCC > > So maybe it's OK. > Maybe not. Geom2dAPI and GEOM2dConvert does not depend on the GEOM library (I know, naming conventions for OpenCascade and Salomé are a bit strange). You'd better check for _SGEOM.so (which depends on GEOM). If it is not installed in your site-packages/OCC directory, it's because the installer skipped its compilation. > > John > Thomas
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users