[vtkusers] VTK5 with TCL wrapper on linux

Pedro Amaral lockemind at gmail.com
Wed Dec 6 21:53:28 EST 2006


Hello,
I have successfully compiled VTK5, and made some tests, it is working fine.
I wanted do use KWwidgets, and to do so i need to compile VTK5 with the
option VTK_WRAP_TCL set ON.
I Compiled it, after installing the tcl and tk dev packages with no problem,
but when i tested the examples again,
cmake cannot create a makefile, and show the following errors:

locke at blackbox:~/VTK/Examples/Tutorial/Step1/Cxx$ cmake .
-- Loading VTK CMake commands
CMake Error: Error in cmake code at
FILE:7:
LOAD_COMMAND Attempt to load command failed from file
"libcmVTK_WRAP_TCL2.so"
Current CMake stack:
/home/locke/VTK/Examples/Tutorial/Step1/Cxx/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/local/lib/vtk-
5.0/UseVTK.cmake
CMake Error: Error in cmake code at
/usr/local/lib/vtk-5.0/UseVTK.cmake:35:
A command failed during the invocation of macro
"VTK_LOAD_SINGLE_CMAKE_EXTENSION".
CMake Error: Error in cmake code at
FILE:27:
VTK_LOAD_SINGLE_CMAKE_EXTENSION unknown error.
Current CMake stack:
/home/locke/VTK/Examples/Tutorial/Step1/Cxx/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/local/lib/vtk-
5.0/UseVTK.cmake
CMake Error: Error in cmake code at
/usr/local/lib/vtk-5.0/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-5.0/UseVTK.cmake:35:
VTK_LOAD_CMAKE_EXTENSIONS unknown error.
Current CMake stack:
/home/locke/VTK/Examples/Tutorial/Step1/Cxx/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/local/lib/vtk-
5.0/UseVTK.cmake
The end of a CMakeLists file was reached with an IF statement that was not
closed properly.
Within the directory: /home/locke/VTK/Examples/Tutorial/Step1/Cxx
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: /home/locke/VTK/Examples/Tutorial/Step1/Cxx
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: /home/locke/VTK/Examples/Tutorial/Step1/Cxx
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: /home/locke/VTK/Examples/Tutorial/Step1/Cxx
The arguments are: COMMAND VTK_WRAP_TCL2
-- Configuring done
CMake Error: Unable to open check cache file for write.
/home/locke/VTK/Examples/Tutorial/Step1/Cxx/CMakeFiles/cmake.check_cache

I tried to run cmake with both user and root priveliges but the result was
the same.
I don't know what the problem might be... :S
Can anyone give me a hand?
-- 
Pedro Amaral

pedr.amaral at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061207/754d0493/attachment.htm>


More information about the vtkusers mailing list