Hello.

It is not that easy to find this list. Can there be a link on the webpage?

Anyway. I am trying to compile pythonocc master on ubuntu 11.10. I have
installed the package liboce-dev from
https://launchpad.net/~hmeyer/+archive/3d/+packages
(after some problems) and I got the main extension built. What does not
build for me is 'OCC._SMESH' extension because I am
missing AIS_DataMapIteratorOfDataMapOfTransientTransient.hxx file. This
file seems to be part of libopencascade-visualization-dev but is not in
liboce-dev. Is this correct? Actually I am not able to find this file in
https://github.com/tpaviot/oce/ either so even though I did my own build it
did not help - I had to --disable-SMESH.

Not even doing my own build of liboce helped me to successfully run the
helloworld example. I am stuck with:

$ python examples/Level1/HelloWorld/helloworld.py
Traceback (most recent call last):
  File "examples/Level1/HelloWorld/helloworld.py", line 21, in <module>
    display, start_display, add_menu, add_function_to_menu = init_display()
  File "/usr/local/lib/python2.7/dist-packages/OCC/Display/SimpleGui.py",
line 134, in init_display
    from qtDisplay import qtViewer3d
  File "/usr/local/lib/python2.7/dist-packages/OCC/Display/qtDisplay.py",
line 24, in <module>
    import OCCViewer
  File "/usr/local/lib/python2.7/dist-packages/OCC/Display/OCCViewer.py",
line 78, in <module>
    set_CSF_GraphicShr()
  File "/usr/local/lib/python2.7/dist-packages/OCC/Display/OCCViewer.py",
line 73, in set_CSF_GraphicShr
    libTkOpenGl_library = output.split(' ')[2]
IndexError: list index out of range

because /usr/local/lib/python2.7/dist-packages/OCC/_V3d.so does not link to
libTkOpenGl at all. If I set the path to libTKOpenGl manualy, it runs. With
the packaged liboce from Henning it crashed.

To conclude:
1) Can I do anything to fix SMESH extension building? The libSMESH.so got
built alright.
2) OCCViewer.py most likely needs new way of finding libTkOpenGl.
3) liboce package from ppa:hmeyer/3d is not working for me (helloworld.py
crashes with segfault)

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

Reply via email to