Package: libvtk5-dev
Version: 5.0.2-4

Hi,

I'm trying to build a new package which uses VTK and cmake for
compiling.

I get the following:

CMake Error: Error in cmake code at
/usr/share/cmake-2.4/Modules/UseVTKConfig40.cmake:21:
LOAD_CACHE Cannot load cache file from
/usr/bin/../lib/vtk-5.0/CMakeCache.txt
Current CMake stack:
/build/mbanck/molekel-5.0/src/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

This is apparently because cmake cannot find VTKConfig.cmake, which is
placed in /usr/lib/vtk, while all the other cmake stuff from this
package is in /usr/lib/vtk-5.0 (excpet for UseVTK.cmake, which is
identically in both directories).

Indeed, if I copy VTKConfig.cmake over to /usr/lib/vtk-5.0, the program
configures fine, so I wonder whether is a bug or an oversight or
something?


Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to