[vtkusers] Possible install problem with TCL wrappers on MacOSX Tiger
David Flitney
flitney at fmrib.ox.ac.uk
Fri Sep 2 04:57:52 EDT 2005
I've been getting a problem when building VTK with TCL wrappers which
may actually be a CMake problem rather than a VTK one. The VTK (Latest
CVS of VTK and CMake) build goes fine and local testing looks great but
after a "make install" the installation can't be used to build against.
A FIND_PACKAGE(VTK REQUIRED) in my projects CMakeLists.txt yields the
following output
CMake Error: Error in cmake code at
/usr/local/lib/vtk-4.5/CMake/vtkLoadCMakeExtensions.cmake:7:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_TCL2.so
CMake Error: Error in cmake code at
/usr/local/lib/vtk-4.5/UseVTK.cmake:35:
A command failed during the invocation of macro
"VTK_LOAD_SINGLE_CMAKE_EXTENSION".
CMake Error: Error in cmake code at
/usr/local/lib/vtk-4.5/CMake/vtkLoadCMakeExtensions.cmake:27:
VTK_LOAD_SINGLE_CMAKE_EXTENSION unknown error.
CMake Error: Error in cmake code at
/usr/local/lib/vtk-4.5/UseVTK.cmake:35:
A command failed during the invocation of macro
"VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/usr/local/lib/vtk-4.5/UseVTK.cmake:35:
VTK_LOAD_CMAKE_EXTENSIONS unknown error.
The end of a CMakeLists file was reached with an IF statement that was
not closed properly.
Within the directory: /usr/people/flitney/fslview/src/viewer
The arguments are: VTK_NEED_LOADED_COMMANDS
The end of a CMakeLists file was reached with an IF statement that was
not closed properly.
Within the directory: /usr/people/flitney/fslview/src/viewer
The arguments are: COMMAND VTK_WRAP_TCL2
The end of a CMakeLists file was reached with an IF statement that was
not closed properly.
Within the directory: /usr/people/flitney/fslview/src/viewer
The arguments are: VTK_NEED_LOADED_COMMANDS
The end of a CMakeLists file was reached with an IF statement that was
not closed properly.
Within the directory: /usr/people/flitney/fslview/src/viewer
The arguments are: COMMAND VTK_WRAP_TCL2
If I then manually copy the libraries in vtk-build/CMake/libcmVTK_*
into <prefix>/lib/vtk-4.5/CMake the problem goes away.
Haven't had a chance to test on other platforms yet.
--
Cheers, Dave
Dave Flitney, IT Manager
Oxford Centre for Functional MRI of the Brain
E:flitney at fmrib.ox.ac.uk W:+44-1865-222713 F:+44-1865-222717
URL: http://www.fmrib.ox.ac.uk/~flitney
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2392 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050902/1e4d809c/attachment.bin>
More information about the vtkusers
mailing list