[vtkusers] VTK install on MacOS X 10.3.9
David Cole
david.cole at kitware.com
Thu Oct 13 09:35:57 EDT 2005
If you are trying to switch the value of BUILD_SHARED_LIBS from OFF to
ON (or vice versa) you need to re-configure with CMake (or ccmake) to
change its value. You also need to start over with a clean (empty)
binary tree and rebuild everything after this change.
Hope this helps,
David
Mayank Singh wrote:
>While trying to install VTK on Mac OSX 10.3.9 - I am getting the following error
>message -
>
>Linking CXX shared library bin/libvtkGenericFiltering.dylib
>Scanning dependencies of target ProcessShader
>Building CXX object
>Utilities/MaterialLibrary/CMakeFiles/ProcessShader.dir/ProcessShader.o
>Linking CXX executable bin/ProcessShader
>Generating vtkMaterialXMLLibrary.h
>dyld: ../../bin/ProcessShader can't open library: libvtksys.dylib.5.1 (No such
>file or directory, errno = 2)
>make[2]: *** [Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h] Error 133
>make[1]: ***
>[Utilities/MaterialLibrary/CMakeFiles/vtkMaterialLibraryConfiguredFiles.dir/all]
>Error 2
>make: *** [all] Error 2
>
>
>Reading installation instructions off the this page --
>http://www.macdevcenter.com/pub/a/mac/2002/06/28/data_visualization.html?page=2
>
>I edited the CMakeCache.txt to add the following line -
>// OS X CMake build VTK with shared libraries
>BUILD_SHARED_LIBS:BOOL=ON
>
>When I attempted 'make' again - I got the following message.
>Generating vtkMaterialXMLLibrary.h
>dyld: ../../bin/ProcessShader can't open library: libvtksys.dylib.5.1 (No such
>file or directory, errno = 2)
>make[2]: *** [Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h] Error 133
>make[1]: ***
>[Utilities/MaterialLibrary/CMakeFiles/vtkMaterialLibraryConfiguredFiles.dir/all]
>Error 2
>make: *** [all] Error 2
>
>Can anyone please help me?
>Also there are better instructions to install VTK on mac, please guide me.
>
>Thank you,
>Mayank
>VIZ Laboratory
>Texas A&M University
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
More information about the vtkusers
mailing list