Hi Michiel,
Thanks for your help, I did your suggestion, and it seems to work, but later on appears another error, here is the full message:
make[1]: Entering directory '/home/mblesa/EBC/local/CUDIMOT/cudimot'
make[2]: Entering directory '/home/mblesa/EBC/local/CUDIMOT/cudimot'
rm -f ./objs/*.o
rm -f ./objs/testFunctions_NODDI_Bingham
mkdir -p /home/mblesa/EBC/local/FSL5011/FSLDEV/bin
mkdir -p ./objs
c++ -Wall -ansi -pedantic -Wno-long-long -m64 -O3 -fexpensive-optimizations -m64 -I/home/mblesa/EBC/local/FSL5011/extras/include/boost -I/home/mblesa/EBC/local/FSL5011/extras/include/newmat -I/home/mblesa/EBC/local/FSL5011/extras/include/newran -I/home/mblesa/EBC/local/FSL5011/extras/include/libcprob -I/home/mblesa/EBC/local/FSL5011/extras/include/libprob -I/home/mblesa/EBC/local/FSL5011/extras/include/boost -I/home/mblesa/EBC/local/FSL5011/extras/include -Imymodels/NODDI_Bingham -I. -I/home/mblesa/EBC/local/FSL5011/FSLDEV/include -I/home/mblesa/EBC/local/FSL5011/include -L/home/mblesa/EBC/local/FSL5011/extras/lib -L/home/mblesa/EBC/local/FSL5011/extras/lib -L/home/mblesa/EBC/local/FSL5011/extras/lib -L/home/mblesa/EBC/local/FSL5011/extras/lib -L/home/mblesa/EBC/local/FSL5011/extras/lib -L. -L/home/mblesa/EBC/local/FSL5011/FSLDEV/lib -L/home/mblesa/EBC/local/FSL5011/lib -o objs/cart2spherical utils/cart2spherical.cc -lwarpfns -lbasisfield -lmeshclass -lnewimage -lutils -lmiscmaths -lnewmat -lnewran -lfslio -lniftiio -lznz -lcprob -lprob -lm -lz
/tmp/cccGqYLk.o: In function `int NEWIMAGE::save_volume<double>(NEWIMAGE::volume<double> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
cart2spherical.cc:(.text._ZN8NEWIMAGE11save_volumeIdEEiRKNS_6volumeIT_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8NEWIMAGE11save_volumeIdEEiRKNS_6volumeIT_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1c): undefined reference to `NEWIMAGE::fslbasename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
cart2spherical.cc:(.text._ZN8NEWIMAGE11save_volumeIdEEiRKNS_6volumeIT_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8NEWIMAGE11save_volumeIdEEiRKNS_6volumeIT_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x2e): undefined reference to `int NEWIMAGE::save_basic_volume<double>(NEWIMAGE::volume<double> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, bool)'
/tmp/cccGqYLk.o: In function `main':
cart2spherical.cc:(.text.startup+0xf5): undefined reference to `int NEWIMAGE::read_volume4DROI<double>(NEWIMAGE::volume4D<double>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, short&, bool, int, int, int, int, int, int, int, int, bool)'
cart2spherical.cc:(.text.startup+0x109): undefined reference to `NEWIMAGE::handle_read_error(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
cart2spherical.cc:(.text.startup+0x117): undefined reference to `NEWIMAGE::handle_read_error(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
cart2spherical.cc:(.text.startup+0x3df): undefined reference to `NEWIMAGE::imthrow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
cart2spherical.cc:(.text.startup+0x53f): undefined reference to `NEWIMAGE::imthrow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
cart2spherical.cc:(.text.startup+0x6a7): undefined reference to `NEWIMAGE::imthrow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
collect2: error: ld returned 1 exit status
Makefile:86: recipe for target 'objs/cart2spherical' failed
make[2]: *** [objs/cart2spherical] Error 1
make[2]: Leaving directory '/home/mblesa/EBC/local/CUDIMOT/cudimot'
/home/mblesa/EBC/local/FSL5011/config/common/rules.mk:56: recipe for target 'master-install-script' failed
make[1]: *** [master-install-script] Error 2
make[1]: Leaving directory '/home/mblesa/EBC/local/CUDIMOT/cudimot'
/home/mblesa/EBC/local/FSL5011/config/common/rules.mk:35: recipe for target 'install' failed
make: *** [install] Error 2
Do you know what's the cause? Thanks in advance.
Best regards,
Manuel
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|