[Cmake] LOAD_COMMAND failing for VTK
Mark Foskey
mark_foskey at unc.edu
Fri Mar 7 12:23:58 EST 2003
I am trying to build a project that uses ITK, FLTK, and VTK, and the
build is failing with the following errors:
Building static library libsolVTKRenderMethod.a...
/WorkSpace/foskey/itkUNC-Debug/Code/ObjectViewer/RenderMethod/OpenGL:
building default_target
Building dependencies. cmake.depends...
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK/CMake/vtkLoadCMakeExtensions.cmake:19:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_TCL2.so
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK-Debug/UseVTK.cmake:27:
A command failed during the invocation of macro "VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK/CMake/vtkLoadCMakeExtensions.cmake:20:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_PYTHON2.so
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK-Debug/UseVTK.cmake:27:
A command failed during the invocation of macro "VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK/CMake/vtkLoadCMakeExtensions.cmake:21:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_WRAP_JAVA2.so
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK-Debug/UseVTK.cmake:27:
A command failed during the invocation of macro "VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK/CMake/vtkLoadCMakeExtensions.cmake:22:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_MAKE_INSTANTIATOR2.so
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK-Debug/UseVTK.cmake:27:
A command failed during the invocation of macro "VTK_LOAD_CMAKE_EXTENSIONS".
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK/CMake/vtkLoadCMakeExtensions.cmake:23:
LOAD_COMMAND Attempt to load command failed from file :
libcmVTK_GENERATE_JAVA_DEPENDENCIES.so
CMake Error: Error in cmake code at
/WorkSpace/foskey/VTK-Debug/UseVTK.cmake:27:
A command failed during the invocation of macro "VTK_LOAD_CMAKE_EXTENSIONS".
make[9]: *** [cmake.depends] Error 255
make[8]: *** [default_target] Error 2
make[7]: *** [default_target_OpenGL] Error 2
make[6]: *** [default_target] Error 2
make[5]: *** [default_target_RenderMethod] Error 2
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_ObjectViewer] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Code] Error 2
make: *** [default_target] Error 2
The problem seems to be that CMake is trying to load extensions (for
wrapping) that have not been built. But we arent using those
extensions. Does anybody have any suggestions?
--
Mark Foskey (919) 843-5436 Computer-Aided Diagnosis and Display Lab
mark_foskey at unc.edu Department of Radiology, CB 7515, UNC
http://www.cs.unc.edu/~foskey Chapel Hill, NC 27599-7515
More information about the CMake
mailing list