2011/4/12 Paul <spookte...@gmail.com>

> 2011/4/11 Paul <spookte...@gmail.com>
>
>> Hello,
>>>
>>> I'm trying to build the framework using the source archive on ArchLinu
>>> x64
>>> using gcc 4.6.
>>> I have built and installed the opencascade 6.3, geom and smesh
>>> dependencies.
>>> The build fails with the output:
>>>
>>> g++ -pthread -shared -Wl,--hash-style=gnu -Wl,--as-needed
>>>
>>> build/temp.linux-x86_64-2.7/home/paul/Downloads/pythonocc-0.5/src/wrapper/SWIG/linux_darwin/SMDSAbs_wrap.o
>>> -L/opt/opencascade/lib -L/usr/local/lib -L/usr/local/lib -L/usr/lib
>>> -lBinLPlugin -lBinPlugin -lBinXCAFPlugin -lFWOSPlugin -lPTKernel
>>> -lStdLPlugin -lStdPlugin -lTKAdvTools -lTKBin -lTKBinL -lTKBinTObj
>>> -lTKBinXCAF -lTKBO -lTKBool -lTKBRep -lTKCAF -lTKCDF -lTKernel -lTKFeat
>>> -lTKFillet -lTKG2d -lTKG3d -lTKGeomAlgo -lTKGeomBase -lTKHLR -lTKIGES
>>> -lTKLCAF -lTKMath -lTKMesh -lTKMeshVS -lTKNIS -lTKOffset -lTKOpenGl
>>> -lTKPCAF
>>> -lTKPLCAF -lTKPrim -lTKPShape -lTKService -lTKShapeSchema -lTKShHealing
>>> -lTKStdLSchema -lTKStdSchema -lTKSTEP -lTKSTEP209 -lTKSTEPAttr
>>> -lTKSTEPBase
>>> -lTKSTL -lTKTObj -lTKTopAlgo -lTKV2d -lTKV3d -lTKVRML -lTKXCAF
>>> -lTKXCAFSchema -lTKXDEIGES -lTKXDESTEP -lTKXMesh -lTKXml -lTKXmlL
>>> -lTKXmlTObj -lTKXmlXCAF -lTKXSBase -lXCAFPlugin -lXmlLPlugin -lXmlPlugin
>>> -lXmlXCAFPlugin -lDriver -lDriverDAT -lDriverSTL -lDriverUNV -lSMDS
>>> -lSMESH
>>> -lSMESHDS -lStdMeshers -lpython2.7 -o
>>> build/lib.linux-x86_64-2.7/OCC/_SMDSAbs.so -Wl,--no-undefined -lm
>>> -lstdc++
>>> -lpython2.7
>>> /usr/bin/ld: cannot find -lDriver
>>> collect2: ld returned 1 exit status
>>> error: command 'g++' failed with exit status 1
>>>
>>> How can this be fixed?
>>> Thank you,
>>>
>>> Paul
>>>
>>>
>>>  Hi Paul,
>>
>> A smesh library is missing from your system (libDriver). After compiling
>> SMESH (located in the /src/contrib folder), make sure you have the
>> following
>> libraries installed on your machine (replace the 'dylib' extension with
>> 'so'
>> if you run Linux)
>>
>> -rwxr-xr-x  1 thomas  staff    16200 18 jan 09:41 libDriver.dylib
>> -rwxr-xr-x  1 thomas  staff    36600 18 jan 09:42 libDriverDAT.dylib
>> -rwxr-xr-x  1 thomas  staff    57912 18 jan 09:42 libDriverSTL.dylib
>> -rwxr-xr-x  1 thomas  staff   110576 18 jan 09:42 libDriverUNV.dylib
>> -rwxr-xr-x  1 thomas  staff   469376 18 jan 09:41 libSMDS.dylib
>> -rwxr-xr-x  1 thomas  staff  1430584 18 jan 09:43 libSMESH.dylib
>> -rwxr-xr-x  1 thomas  staff   244616 18 jan 09:42 libSMESHDS.dylib
>> -rwxr-xr-x  1 thomas  staff  1407576 18 jan 09:45 libStdMeshers.dylib
>>
>> Thomas
>>
>>  Hi Thomas,
>
> You were right. It was a library missing due to a faulty packaging script.
> It has now built and
> passed the unit tests. But the Hello World example fails to launch. I
> belive that it could fail bacause
> the OCC 6.3 package I made. This is the console output:
>
> ImportError: /opt/opencascade/lib/libTKNIS.so.0: undefined symbol:
> glMultMatrixd
>
>
> Paul
>

Hi Paul,

This comes from your opencascade installation, not from pythonocc. Are you
sure you linked occ libs with OpenGl ?

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

Reply via email to