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: [email protected]<mailto:[email protected]>
** *** ** phone: (505) 844-8919
*** web: http://www.sandia.gov/~kmorel
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview