[MINC-users] Error compiling MINC-Tools on RedHat

Paul GRAVEL pgravel at bic.mni.mcgill.ca
Fri Feb 3 10:10:47 EST 2017


Dear All,

ok, so I found a workaround which now works!

I set to 'OFF' all fields related to EZMINC (sorry Vlad ;-)!).
However, is there a fix for mincnlm to make it RedHat compatible?

Best,

Paul


On Thu, 2 Feb 2017, Paul GRAVEL wrote:

> Dear All,
>
> I am currently trying to compile the MINC tools on RedHat:
> lsb_release -a
> LSB Version: 
> :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
> Distributor ID: RedHatEnterpriseAS
> Description:    Red Hat Enterprise Linux AS release 6 (Update 5)
> Release:        6
> Codename:       Update5
>
> I have followed the instructions on:
> https://github.com/BIC-MNI/minc-toolkit
>
> git clone --recursive git://github.com/BIC-MNI/minc-toolkit.git minc-toolkit
> cd minc-toolkit
> mkdir build && cd build
> ccmake ..
>
> I have installed (I hope!) all the dependencies (BISON, FLEX, GLUT);
> Perl, libxi, and libxmu is already on the system.
> And the packages (NETCDF, HDF5, PCRE, GSL, FFTW3); zlib is already on the 
> system.
>
> That being said, when I run: make
>
> It gets to 94% and then I get this error:
> [ 94%] Linking CXX executable mincnlm CMakeFiles/mincnlm.dir/mincnlm.cpp.o: 
> In function `Exec(minc::simple_volume<float>&, float*, int*, double*, 
> float*)':
> mincnlm.cpp:(.text+0xb40): undefined reference to 
> `minc::noise_estimate(minc::simple_volume<float> const&, double&, bool, 
> bool)'
> collect2: 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
>
> Any idea as to why?
>
> As always, any help will be greatly appreciated!
>
> Best Regards,
>
> Paul
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list