On 2010/5/10 Thomas Paviot wrote: [...] > Try to open the setup.py script and locate the following lines : > # > # OpenCascade libs > # > libraries = ['BinLPlugin', 'BinPlugin', 'BinXCAFPlugin', 'FWOSPlugin', > 'mscmd', 'PTKernel',\ > 'StdLPlugin', 'StdPlugin', 'TKAdvTools', 'TKBin', 'TKBinL', > 'TKBinTObj', 'TKBinXCAF',\ > 'TKBO', 'TKBool', 'TKBRep', 'TKCAF', 'TKCDF', 'TKCDLFront', > 'TKCPPClient', 'TKCPPExt',\ > 'TKCPPIntExt', 'TKCPPJini', 'TKCSFDBSchema', 'TKernel',\ > 'TKFeat', 'TKFillet', 'TKG2d', 'TKG3d', 'TKGeomAlgo', > 'TKGeomBase', 'TKHLR', 'TKIDLFront',\ > 'TKIGES', 'TKLCAF', 'TKMath', 'TKMesh', 'TKMeshVS', 'TKNIS', > 'TKOffset',\ > 'TKOpenGl', 'TKPCAF', 'TKPLCAF', 'TKPrim', 'TKPShape', > 'TKService', 'TKShapeSchema',\ > 'TKShHealing', 'TKStdLSchema', 'TKStdSchema', 'TKSTEP', > 'TKSTEP209', 'TKSTEPAttr',\ > 'TKSTEPBase', 'TKSTL', 'TKTCPPExt', 'TKTObj', 'TKTopAlgo', \ > 'TKV2d', 'TKV3d', 'TKVRML', 'TKXCAF', 'TKXCAFSchema',\ > 'TKXDEIGES', 'TKXDESTEP', 'TKXMesh', 'TKXml', 'TKXmlL', > 'TKXmlTObj',\ > 'TKXmlXCAF', 'TKXSBase', 'XCAFPlugin',\ > 'XmlLPlugin', 'XmlPlugin', 'XmlXCAFPlugin'] > And remove the 'mscmd' string from the first line of the lib list. > Then retry to build pythonocc.
For the record, the following libraries are shipped by opencascade-wok in Debian and should surely be removed too from this file: TKCDLFront TKCPPClient TKCPPExt TKCPPIntExt TKCPPJini TKCSFDBSchema TKIDLFront TKTCPPExt If they are really needed, a symlink must be added in /usr/lib (libXXX.so --> libXXX-6.3.0.so) so that pythonocc finds them. Denis _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users