[vtkusers] vtkNIFTIImageReader.h: No such file or directory

Francisco Lopez de la Franca franciscolopezdelafranca at gmail.com
Mon May 25 03:54:02 EDT 2015


Hi everybody.
I'd like to read a NIFTI image from VTK.
I downloaded and compiled VTK 6.1.0, but when I include the
vtkNIFTIImageReader header file, the compilation gives the error "No such
file or directory".
I've searched for the header file into the VTK directory and it is true,
there is no such a file.

I've tested with vtkImageReader2 and compilation goes fine, but the NIFTI
file read does not seem to go well.

Does anybody know what the problem could be?

Thanks a lot.
My best regards.
/Francisco

P.D.: My CMakeLists.txt contains the next lines:

cmake_minimum_required(VERSION 2.8)

project(CV_TFM_CONVEX_HULL)

# Find VTK.
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

set(CV_TFM_CONVEX_HULL_SRC CV_TFM_ConvexHull.cxx)

add_executable(CV_TFM_CONVEX_HULL ${CV_TFM_CONVEX_HULL_SRC})

target_link_libraries(CV_TFM_CONVEX_HULL ${VTK_LIBRARIES})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150525/9c58344f/attachment.html>


More information about the vtkusers mailing list