[Paraview] Problem compiling NIFTI reader/writer
Moreland, Kenneth
kmorel at sandia.gov
Wed May 7 19:31:17 EDT 2014
I'm trying to compile the latest snapshot on master, and I'm getting several linker errors regarding the NIFTI reader and writer. They appear to be missing some zlib symbols. Is it possible that the zlib library is somehow left out of the target libraries in the CMake file?
The following are the specific errors:
Linking CXX shared library ../../../lib/libvtkIOImage-pv4.1.dylib
Undefined symbols for architecture x86_64:
"_vtk_zlib_gzclose", referenced from:
vtkNIFTIImageReader::CanReadFile(char const*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageReader::RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageWriter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageWriter.cxx.o
"_vtk_zlib_gzeof", referenced from:
vtkNIFTIImageReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
"_vtk_zlib_gzopen", referenced from:
vtkNIFTIImageReader::CanReadFile(char const*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageReader::RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageWriter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageWriter.cxx.o
"_vtk_zlib_gzread", referenced from:
vtkNIFTIImageReader::CanReadFile(char const*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageReader::RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
vtkNIFTIImageReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
"_vtk_zlib_gzseek", referenced from:
vtkNIFTIImageReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageReader.cxx.o
"_vtk_zlib_gzwrite", referenced from:
vtkNIFTIImageWriter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) in vtkNIFTIImageWriter.cxx.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-Ken
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov<mailto:kmorel at sandia.gov>
** *** ** phone: (505) 844-8919
*** web: http://www.sandia.gov/~kmorel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140507/ccfa6d77/attachment.html>
More information about the ParaView
mailing list