[vtkusers] CMake Error: Error in cmake code at

spam.me at gmx.info spam.me at gmx.info
Thu Feb 21 15:51:46 EST 2008


Hello,

I'm a vtk-newbie
My system:
AMD X2, Debian Etch

package install: 
cmake 2.4.5-1
libvtk5 5.0.2-4
libvtk5-dev 5.0.2-4
vtkdata 5.0.2-4
vtk-doc 5.0.2-4
vtk-examples 5.0.2-4
mayavi 1.5-4
python-vtk  5.0.2-4
python-pyvtk  0.4.66-6


If I run as root:
blade:/usr/share/vtk/Tutorial/Step1# ccmake Cxx

I get at first
 Page 1 of 1
 CMAKE_BACKWARDS_COMPATIBILITY    2.4
 CMAKE_BUILD_TYPE
 CMAKE_INSTALL_PREFIX             /usr/local
 EXECUTABLE_OUTPUT_PATH
 LIBRARY_OUTPUT_PATH
 VTK_DIR                          /usr/lib/vtk-5.0


After that, I continue with "configure" and obtain the error message

 CMake Error: Error in cmake code at
 /usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake:21:
 LOAD_CACHE Cannot load cache file from /usr/lib/vtk-5.0/CMakeCache.txt
 Current CMake stack:
 /usr/share/vtk/Tutorial/Step1/Cxx/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/usr/share/cmake-2.
 4/Modules/FindVTK.cmake;/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake

 CMake Error: Example Step1 requires VTK_USE_RENDERING.


Can somebody help me? Thanks a lot!

Greetings,



More information about the vtkusers mailing list