[vtkusers] How to set macOS RPATH or install_name (VTK 8.x)

Sean McBride sean at rogue-research.com
Tue Sep 19 12:10:04 EDT 2017


On Fri, 25 Aug 2017 08:01:14 -0400, Michael Jackson said:

>What is the recommended way to work with VTK during development? I can
>run from the command line by export'ing DYLD_LIBRARY_PATH but I'm sure I
>should have to do this. Or is the recommended way of developing against
>VTK to have my project use the VTK build directory versus an install
>directory?

I always build static libraries, and use a 'source tree' in Xcode to point to the vtk libs.  (As per our old SimpleCocoaVTK example.)

Welcome back to VTK!

Cheers,

Sean




More information about the vtkusers mailing list