Cool.... 

-----Ursprüngliche Nachricht-----
Von: Thomas Paviot [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 26. November 2008 23:49
An: minerva-pythonocc@gna.org; [EMAIL PROTECTED]
Betreff: Linux build of pythonOCC with viewer support successfull

Hi all,

I succeeded to build pythonOCC for Linux with 3d viewer support.

(1)  I removed a few headers in the Visualization.h file (that caused
compilation failure),
(2) I set the environment variable CSF_GraphicShr so that it points to
libTkOpenGL.so:
export CSF_GraphicShr="/usr/local/lib/libTKOpenGL.so"
(3) I hacked the wxDisplay.py script. Under Linux, the window must be shown
before the Display3d class is initialized.

And here is the result ! The wxDisplay.py script runs exactly as under
Windows and works perfectly.

Point (1) is available in rev. 295 of SVN repository. I still have to
automate the environment variable setting and check in modifications of
wxDisplay.py.

Thomas


_______________________________________________
Minerva-pythonocc mailing list
Minerva-pythonocc@gna.org
https://mail.gna.org/listinfo/minerva-pythonocc

Reply via email to