Hi Arthur,

I'm sure I'll get it soon.  You are helping me out a lot here.

Arthur Magill wrote:
>
> Where have you installed OCC? Try
>
>  > locate libTKOpenGl.so
>
>   
/opt/OpenCASCADE6.3.0/lib/libTKOpenGl.so
/opt/OpenCASCADE6.3.0/lib/libTKOpenGl.so.0
/opt/OpenCASCADE6.3.0/lib/libTKOpenGl.so.0.0.0
/opt/occ/lib/libTKOpenGl.so
/opt/occ/lib/libTKOpenGl.so.0
/opt/occ/lib/libTKOpenGl.so.0.0.0
/usr/lib/libTKOpenGl.so

> I think this will say /opt/OpenCASCADE6.3.0/lib on your setup? Set 
> CSF_GraphicShr to wherever this lib appears
>
>  > export CSF_GraphicShr=/where/ever/lib/is
>   

Ok, set this to :
d...@dan-desktop:~$ echo $CSF_GraphicShr
/opt/occ/lib

> Also, what does
>
>  > echo $CASROOT
>
> give you (I think it should be /opt/OpenCASCADE6.3.0)?
>
>   
d...@dan-desktop:~/CAM/OCC$ echo $CASROOT
/opt/occ

I killed the terminal and started a new one just to make sure that 
.bashrc sticks.  But, I still run into this error:

d...@dan-desktop:~/CAM/pythonOCC/Tools/InteractiveViewer$ python 
InteractiveViewer.py
[]
Display3d class initialization starting ...
terminate called after throwing an instance of 
'Aspect_GraphicDeviceDefinitionError'
Aborted


Thanks,
Dan







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

Reply via email to