[vtkusers] static libs...
fred
fredmfp at gmail.com
Mon Dec 11 04:17:33 EST 2006
Mathieu Malaterre a écrit :
> Unfortunately this feature is not available for now in CMake, you'll
> have to wait for CMake 2.4.4.
Hi,
I have updated my debian etch with cmake 2.4.4.
But I don't understand what's going on ;-(
marsu[pts/0]:~/tmp/vtktest/{7}/> cat CMakeLists.txt
PROJECT (vtktest)
FIND_PACKAGE(VTK REQUIRED)
INCLUDE(${VTK_USE_FILE})
ADD_EXECUTABLE(vtktest_shared vtktest_shared.c)
TARGET_LINK_LIBRARIES(vtktest_shared vtkIO)
marsu[pts/0]:~/tmp/vtktest/{8}/> cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
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:
/home/fred/tmp/vtktest/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
Warning: CMake is forcing CMAKE_C_FLAGS_DEBUG to "" to match that
imported from VTK. If this message appears for more than one imported
project, you have conflicting options and will have to re-build one of
those projects.
Warning: CMake is forcing CMAKE_C_FLAGS_RELEASE to "" to match that
imported from VTK. If this message appears for more than one imported
project, you have conflicting options and will have to re-build one of
those projects.
.../...
There is no CMakeCache.txt in /usr/lib/vtk-5.0/, so I tried to set
LOAD_CACHE
to /home/fred/tmp/vtktest in CMakeLists.txt but I still have the same
messages.
What am I doing wrong ?
Cheers,
PS : Mathieu, what's new about my issue with vtkXMLWriterC.h since 2
months (sorry to insist, but I really
need this issue to be fixed) ? Thanks in advance.
--
http://scipy.org/FredericPetit
More information about the vtkusers
mailing list