[vtkusers] How to make CMakeLists.txt
sudhanshu gupta
sudhanshugupta2511 at gmail.com
Fri May 20 02:28:47 EDT 2011
HI Liam
I am getting this error . I dont know why ?
[100%] Building CXX object CMakeFiles/pipeline.dir/pipeline.cxx.o
/home/sudhanshu/pipeline/pipeline.cxx:1: fatal error: vtkImageReader.h : No
such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/pipeline.dir/pipeline.cxx.o] Error 1
make[1]: *** [CMakeFiles/pipeline.dir/all] Error 2
make: *** [all] Error 2
cmake_minimum_required(VERSION 2.6)
PROJECT(pipeline)
FIND_PACKAGE(VTK REQUIRED))
INCLUDE(${VTK_USE_FILE})
ADD_EXECUTABLE(pipeline pipeline.cxx)
TARGET_LINK_LIBRARIES(pipeline vtkRendering)
Sudhanshu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110520/572a96ea/attachment.htm>
More information about the vtkusers
mailing list