TheHubbit / PyInventor

3D Graphics in Python with Open Inventor
http://thehubbit.github.io/PyInventor
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

VolumeRendering example changes for Ubuntu 18.04 #9

Closed sildeag closed 5 years ago

sildeag commented 5 years ago

Traceback (most recent call last): File "VolumeRendering.py", line 69, in <module> ` lib = ctypes.cdll.LoadLibrary("/Library/Frameworks/VolumeViz.framework/VolumeViz") File "/usr/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary ` return self._dlltype(name) File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__ ` self._handle = _dlopen(self._name, mode) OSError: /Library/Frameworks/VolumeViz.framework/VolumeViz: cannot open shared object file:No`such file or directory

I have libSIMVoleon.so version 2.0.3a installed, what do I need to change or what am I missing?

changed line 70 to: lib = ctypes.cdll.LoadLibrary('/usr/local/lib/libSIMVoleon.so')