[CMake] CMake Error: LOAD_COMMAND Attempt to load the library libcmVTK_WRAP_TCL2.so failed

William A. Hoffman billlist at nycap.rr.com
Tue Oct 25 13:04:51 EDT 2005


One think you could try is to build CMake with the same compiler as the one
your are building VTK with.   Is this a 64 bit machine?   If you do ldd
on /programs/VTK/CMake/libcmVTK_WRAP_TCL2.so what does it say?  Are there
any special compile flags you are using?

-Bill


At 12:33 PM 10/25/2005, AMIT H KUMAR wrote:
>Hello,
>
>I am using VTK 4.2 release, & CMake version 2.2-1-beta.
>I have checked and found these libraries in the respective directories and
>I still get these errors. Can anyone please help.
>I also tried providing soft links, it doesn't help.
>I also set my UPDATE_TYPE = cvs(v1.11.2)
>I am building it on a Linux, with gcc v3.2.3.
>
>CMake Error: Error in cmake code at
>/programs/VTK/CMake/vtkLoadCMakeExtensions.cmake:7:
>LOAD_COMMAND Attempt to load the library
>/programs/VTK/CMake/libcmVTK_WRAP_TCL2.so failed.
>CMake Error: Error in cmake code at
>/programs/VTK/CMakeLists.txt:102:
>A command failed during the invocation of macro
>"VTK_LOAD_SINGLE_CMAKE_EXTENSION".
>CMake Error: Error in cmake code at
>/programs/VTK/CMake/vtkLoadCMakeExtensions.cmake:17:
>VTK_LOAD_SINGLE_CMAKE_EXTENSION unknown error.
>CMake Error: Error in cmake code at
>/programs/VTK/CMakeLists.txt:102:
>A command failed during the invocation of macro
>"VTK_LOAD_CMAKE_EXTENSIONS".
>CMake Error: Error in cmake code at
>/programs/VTK/CMakeLists.txt:102:
>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: /programs/VTK
>The arguments are: COMMAND VTK_WRAP_TCL2
>CMake Error: Error in cmake code at
>/programs/VTK/Common/CMakeLists.txt:223:
>Unknown CMake command "VTK_MAKE_INSTANTIATOR2".
>CMake Error: Error in cmake code at
>/programs/VTK/Filtering/CMakeLists.txt:102:
>Unknown CMake command "VTK_MAKE_INSTANTIATOR2".
>CMake Error: Error in cmake code at
>/programs/VTK/Imaging/CMakeLists.txt:119:
>Unknown CMake command "VTK_MAKE_INSTANTIATOR2".
>CMake Error: Error in cmake code at
>/programs/VTK/Graphics/CMakeLists.txt:167:
>Unknown CMake command "VTK_MAKE_INSTANTIATOR2".
>CMake Error: Error in cmake code at
>/programs/VTK/IO/CMakeLists.txt:138:
>Unknown CMake command "VTK_MAKE_INSTANTIATOR2".
>CMake Error: Error in cmake code at
>/programs/VTK/Rendering/CMakeLists.txt:269:
>Unknown CMake command "VTK_MAKE_INSTANTIATOR2".
>Segmentation fault (core dumped)
>
>Thank you for any kind of feedback.
>Kumar.
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list