Closed mathieudesro closed 9 years ago
Can't reproduce, builds fine with following options: LIB_SUFFIX=64 BUILD_TESTING:BOOL=ON CMAKE_BUILD_TYPE:STRING=Release CMAKE_INSTALL_PREFIX:PATH=/opt/minc GLUT_X11_LIBRARY:FILEPATH=/usr/lib64/libX11.so MT_BUILD_C3D:BOOL=OFF MT_BUILD_ITK_TOOLS:BOOL=OFF MT_BUILD_LITE:BOOL=OFF MT_BUILD_MINC_ANTS:BOOL=OFF MT_BUILD_SHARED_LIBS:BOOL=OFF MT_BUILD_VISUAL_TOOLS:BOOL=ON MT_USE_OPENMP:BOOL=ON USE_SYSTEM_FFTW3F:BOOL=ON USE_SYSTEM_GLUT:BOOL=ON USE_SYSTEM_GSL:BOOL=ON USE_SYSTEM_HDF5:BOOL=OFF USE_SYSTEM_ITK:BOOL=OFF USE_SYSTEM_NETCDF:BOOL=OFF USE_SYSTEM_PCRE:BOOL=ON USE_SYSTEM_ZLIB:BOOL=OFF
To make the installation work for my server, I need to go in EZminc/image_proc/CMakeLists.txt and remove every lines that contain FFTW3F_FOUND. Then noise_estimate become available into libminc_image_proc.a library.
Weird.
Probably cmake didn't find FFTW3 then
I try to build the latest minc packages I receive the following error at 100% of compilation
the 28 november 2014
git clone --recursive git://github.com/BIC-MNI/minc-toolkit.git minc-toolkit
Here my configuration
BUILD_TESTING ON
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local/pkg/minc-1.9
MT_BUILD_ITK_TOOLS OFF
MT_BUILD_LITE OFF
MT_BUILD_SHARED_LIBS OFF
MT_BUILD_VISUAL_TOOLS OFF
MT_USE_OPENMP ON
USE_SYSTEM_FFTW3F ON
USE_SYSTEM_GLUT ON
USE_SYSTEM_GSL ON
USE_SYSTEM_HDF5 OFF
USE_SYSTEM_ITK OFF
USE_SYSTEM_NETCDF OFF
USE_SYSTEM_PCRE ON
USE_SYSTEM_ZLIB OFF
I receive the following error
CMakeFiles/mincnlm.dir/mincnlm.cpp.o: In function const&, double&, bool, bool)'
collect2: error: ld returned 1 exit status
make[2]: * [EZminc/mincnlm/mincnlm] Error 1
make[1]: * [EZminc/mincnlm/CMakeFiles/mincnlm.dir/all] Error 2
make: *\ [all] Error 2
Exec(minc::simple_volume<float>&, float*, int*, double*, float*)': mincnlm.cpp:(.text+0xcbe): undefined reference to
minc::noise_estimate(minc::simple_volume