[vtkusers] cmake fails to find the latest VTK

Dominik Szczerba domi at vision.ee.ethz.ch
Wed Nov 8 15:37:12 EST 2006


Hi,

For a long time it always worked for me, now after checking out the latest CVS 
*7.11.06) cmake no longer configures my projects:

domel at ibmx60:bin> 
cmake -DVTK_DIR:PATH=/usr/local/pack/vtk-cvs/lib/vtk-5.1 ../src/
CMake Error: Error in cmake code at
/home/domel/Programs/vtkViewer/src/CMakeLists.txt:16:
INCLUDE Could not find include 
file: /usr/local/pack/vtk-cvs/lib/vtk-5.1/UseVTK.cmake
Current CMake 
stack: /home/domel/Programs/vtkViewer/src/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/local/pack/vtk-cvs/lib/vtk-5.1/UseVTK.cmake
-- Configuring done


Cmake didnt change (still 2.4-3), neither did any of my projects. The change 
must be in the VTK then. The said file UseVTK.cmake is in include, not lib. 
Have there been any relevant changes recently? How do I fix it?

thanks,
Dominik

-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061108/4cbb2540/attachment.pgp>


More information about the vtkusers mailing list