<div dir="ltr">Dear All,<div><br></div><div>I have a problem compiling a simple read-image-file code below in Fedora, after I build ITK 4.12.1 from  source code downloaded from the ITK website. I did not receive any error for compiling ITK. For compilation of ITK 4.12.1, I did not change the default CMake options of the ITK library, and the CMake options for compilation were set  as</div><div><br></div><div>CMAKE_CXX_COMPILER           /usr/lib64/ccache/c++</div><div>CMAKE_CXX_FLAGS                  -std=c++11  -pthread</div><div>CMAKE_EXE_LINKER_FLAGS   -pthread</div><div><br></div><div>The error, from compiling the read-image-file code below, was all "undefined reference to 'vnl_vector<T>::~vnl_vector()'" with some data types T including long long, short, unsigned char, etc. I attached the file containing the error (std::cerr from 'make' command for single-thread compilation) to this email. </div><div><br></div><div><br></div><div>// Code --------------------------------------------------</div><div>#include "itkImageFileReader.h"</div><div><br></div><div>int main()</div><div>{</div><div>  typedef itk::Image<float, 2> ImageType;</div><div>  typedef itk::ImageFileReader<ImageType>  ImageFileReaderType;</div><div>  ImageFileReaderType::Pointer reader = ImageFileReaderType::New();<br></div><div>  reader->SetFileName("some_image_filename");</div><div>  reader->Update();</div><div>  </div><div>  ImageType::Pointer image = reader->GetOutput();</div><div><br></div><div>  return EXIT_SUCCESS;</div><div>}</div><div><br></div><div>Thank you very much for you time and help,</div><div><br></div><div>Best regards,</div><div><br></div><div>Ja</div></div>