Is is a warning or an error? Passing the --disable-Werror flag to the configure script will prevent the build from erroring out if it comes across a warning from the compiler. I havent testing on Ubuntu 15 but I will give it a shot early early next week.
-Zeke > I'm preparing to migrate over to the new Ubuntu when it comes out. > > I'm having the following issues compiling it: > > The included VXL library doesnt compile, using the system version seems to > fix this: > > /usr/pubsw/packages/vxl/current/include/vxl/core/vnl/algo/vnl_symmetric_eigensystem.h:82:1: > warning: keyword 'export' not implemented, and will be ignored > export template <class T> > > The inline functions MRIgetVoxVal ... should be defined in the .h file, > they are not, I have to comment out the inline versions > > ../include/mri.h:313:15: warning: inline function 'MRIgetVoxVal' declared > but never defined > inline float MRIgetVoxVal(const MRI *mri, int c, int r, int s, int f); > > The included ITK library doesnt have the cxx11 ABI > ../utils/libutils.a(mriio_nrrd_itk.o): In function > `itk::MemoryAllocationError::MemoryAllocationError(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&, unsigned int, > std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&, std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)': > /usr/pubsw/packages/itk/current/include/InsightToolkit/Common/itkExceptionObject.h:174: > undefined reference to > `itk::ExceptionObject::ExceptionObject(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&, unsigned int, > std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&, std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > ../utils/libutils.a(mriio_nrrd_itk.o):(.rodata._ZTVN3itk24ImageFileReaderExceptionE[_ZTVN3itk24ImageFileReaderExceptionE]+0x40): > undefined reference to > `itk::ExceptionObject::SetLocation(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > ../utils/libutils.a(mriio_nrrd_itk.o):(.rodata._ZTVN3itk24ImageFileReaderExceptionE[_ZTVN3itk24ImageFileReaderExceptionE]+0x48): > undefined reference to > `itk::ExceptionObject::SetDescription(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > ../utils/libutils.a(mriio_nrrd_itk.o):(.rodata._ZTVN3itk21MemoryAllocationErrorE[_ZTVN3itk21MemoryAllocationErrorE]+0x40): > undefined reference to > `itk::ExceptionObject::SetLocation(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > ../utils/libutils.a(mriio_nrrd_itk.o):(.rodata._ZTVN3itk21MemoryAllocationErrorE[_ZTVN3itk21MemoryAllocationErrorE]+0x48): > undefined reference to > `itk::ExceptionObject::SetDescription(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > ../utils/libutils.a(mriio_nrrd_itk.o): In function > `itk::ImageFileReader<itk::Image<itk::DiffusionTensor3D<float>, 3u>, > itk::DefaultConvertPixelTraits<itk::DiffusionTensor3D<float> > > >::GenerateOutputInformation()': > /usr/pubsw/packages/itk/current/include/InsightToolkit/IO/itkImageFileReader.txx:136: > undefined reference to > `itk::ObjectFactoryBase::CreateAllInstance[abi:cxx11](char const*)' > ../utils/libutils.a(mriio_nrrd_itk.o): In function > `itk::ImageFileReader<itk::Image<itk::DiffusionTensor3D<float>, 3u>, > itk::DefaultConvertPixelTraits<itk::DiffusionTensor3D<float> > > >::DoConvertBuffer(void*, unsigned long)': > /usr/pubsw/packages/itk/current/include/InsightToolkit/IO/itkImageFileReader.txx:545: > undefined reference to > `itk::ImageIOBase::GetComponentTypeAsString[abi:cxx11](itk::ImageIOBase::IOComponentType) > const' > ../utils/libutils.a(numerics.o):(.rodata._ZTV8fs_lbfgs[_ZTV8fs_lbfgs]+0x28): > undefined reference to `vnl_nonlinear_minimizer::is_a[abi:cxx11]() const' > ../utils/libutils.a(numerics.o):(.rodata._ZTV8fs_lbfgs[_ZTV8fs_lbfgs]+0x30): > undefined reference to > `vnl_nonlinear_minimizer::is_class(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&) const' > ../utils/libutils.a(numerics.o):(.rodata._ZTV9fs_powell[_ZTV9fs_powell]+0x28): > undefined reference to `vnl_nonlinear_minimizer::is_a[abi:cxx11]() const' > ../utils/libutils.a(numerics.o):(.rodata._ZTV9fs_powell[_ZTV9fs_powell]+0x30): > undefined reference to > `vnl_nonlinear_minimizer::is_class(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&) const' > > > > Dr Chris Adamson > Research Officer, Developmental Imaging, Murdoch Childrens Research > Institute > Murdoch Childrens Research Institute > Royal Children's Hospital > Flemington Road, Parkville, Victoria 3052, Australia > www.mcri.edu.au<http://www.mcri.edu.au/> > E chris.adam...@mcri.edu.au > T 03 9936 6780 > > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > _____________________________________________________________________________________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.