[vtkusers] How to build and install the python wrapper properly on (rootless) MacOS 10.11
juch at zhaw.ch
Mon Oct 10 17:28:05 EDT 2016
Owing to a hint from Bernard Giroux, I was able to solve my problem.
The CMake command I am using now on MacOS 10.11. looks now like the
With the flags CMAKE_MACOSX_RPATH and CMAKE_INSTALL_RPATH, I am enforcing a
fixed (hardcoded) RPATH. Now, the vtk-python binaries know exactly where to
look up the vtk-dylibs they are linking to, without that DYLD_LIBRARY_PATH
had to be set.
Note otool -L vtkCommonCorePython.so (as an example) still indicates the use
of RPATH, but still a fixed path is enforced.
*Question to the developers: why not making this a default setting for Mac?*
CMake and RPATHs
rpath in Apple's dev doc
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-build-and-install-the-python-wrapper-properly-on-rootless-MacOS-10-11-tp5740708p5740718.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers