VTK 5.6 wont build under Mac with Parallel and CMAKE_INSTALL_PREFIX set.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
[ 75%] Generating vtkSocketCommunicatorHash.h dyld: Library not loaded: libvtksys.5.6.dylib Referenced from: /Users/hjohnson/src/BRAINS-COMPILE/Darwin/FAST_64-lib/VTK-build/Parallel/../bin/vtkHashSource make[1]: *** [Parallel/CMakeFiles/vtkParallel.dir/all] Error 2 make: *** [all] Error 2
In VTK/Parallel/CMakeLists.txt
238 # Generate "vtkSocketCommunicatorHash.h". 239 ADD_CUSTOM_COMMAND( 240 OUTPUT ${VTK_BINARY_DIR}/Parallel/vtkSocketCommunicatorHash.h 241 DEPENDS ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx 242 vtkHashSource 243 COMMAND vtkHashSource 244 ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx 245 vtkSocketCommunicatorHash vtkSocketCommunicatorHash.h 246 )
The problem is that the program vtkHashSource depends on share libraries that are not on the environment path.