[MINC-users] minc-toolkit-v2 compilation

Jérôme Redouté redoute at cermep.fr
Wed May 4 07:47:13 EDT 2016


I think I've found:
it was because my source files were located on a NFS share....
Have a nice day !
JR


Le 04/05/2016 11:42, Jerome Redoute a écrit :
> Thank you for these tips... compilation went further, but still have
> some issues:
>
> - Warnings about modification time in the future:
>
> I've checked my time/date: they are OK
>
> - compilation ends with this error:
>
>> [ 71%] Building C object mni_autoreg/minctracc/CMakeFiles/xfm2param.dir/Extra_progs/xfm2param.c.o
>> [ 71%] Linking C executable xfm2param
>> lib_minctracc.a(init_params.c.o): dans la fonction « vol_to_cov »:
>> init_params.c:(.text+0xcd0): définitions multiples de « vol_to_cov »
>> CMakeFiles/xfm2param.dir/Extra_progs/xfm2param.c.o:xfm2param.c:(.text+0x0): défini pour la première fois ici
>> collect2: error: ld returned 1 exit status
>> mni_autoreg/minctracc/CMakeFiles/xfm2param.dir/build.make:109: recipe for target 'mni_autoreg/minctracc/xfm2param' failed
>> make[2]: *** [mni_autoreg/minctracc/xfm2param] Error 1
>> CMakeFiles/Makefile2:15671: recipe for target 'mni_autoreg/minctracc/CMakeFiles/xfm2param.dir/all' failed
>> make[1]: *** [mni_autoreg/minctracc/CMakeFiles/xfm2param.dir/all] Error 2
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
> and same for make install
>
> so the built binaries are not installed...
>
> any ideas on how to fix that?
>
> Thank you again
>
> ---
> ==================================================
> Jerome Redoute
> CERMEP - Imagerie du vivant
> Centre d'étude et de recherche multimodal et pluridisciplinaire
> 59 Bd Pinel
> 69667 Bron - FRANCE
> tel : 33 (0)4 72 68 86 13 (bureau)
> tel : 33 (0)4 72 68 86 00 (standard)
> fax : 33 (0)4 72 68 86 10
> ==================================================
>
> Le 03/05/2016 17:55, Robert D. Vincent a écrit :
>
>> Hi Jerome,
>>
>> Here is how I check out 'develop' and build for everything on Ubuntu
>> (although this is for minc-toolkit, not minc-toolkit-v2, the same idea
>> should work).
>>
>> sudo apt-get install -y \
>> build-essential \
>> g++ \
>> cmake \
>> cmake-curses-gui \
>> bison \
>> flex \
>> freeglut3 \
>> freeglut3-dev \
>> libxi6 \
>> libxi-dev \
>> libxmu6 \
>> libxmu-dev \
>> libxmu-headers \
>> zlib1g-dev \
>> libexpat1-dev \
>> bc \
>> git
>>
>> git clone --recursive git://github.com/BIC-MNI/minc-toolkit.git
>> cd minc-toolkit
>> git checkout develop
>> git submodule foreach --recursive 'git checkout develop || :'
>>
>> mkdir ../minc-build
>> cd ../minc-build
>> cmake ../minc-toolkit -DCMAKE_BUILD_TYPE=Release -DMT_BUILD_VISUAL_TOOLS=ON
>> make
>>
>> On Tue, May 3, 2016 at 10:46 AM, Jérôme Redouté <redoute at cermep.fr> wrote:
>>
>> Hi,
>> Could someone help me to set up my debian environment for compiling
>> minc-toolkit-v2 using git repository?
>>
>> |git clone --recursive https://github.com/BIC-MNI/minc-toolkit-v2.git minc-toolkit-v2 |
>> allows me to copy all the repository.. but how can I compile the develop
>> branch only?
>>
>> is there specific instructions for ccmake et make?
>>
>> Thanks for your help
>> Jerome
>>
>> --
>> ==================================================================
>> Jérôme Redouté
>> Ph.D. - Ingénieur de Recherche - Université Claude Bernard - Lyon1
>> CERMEP - Imagerie du vivant
>> 59 Bd Pinel. 69677 Bron - FRANCE
>> tel : 33 (0)4 72 68 86 18 (bureau)
>> tel : 33 (0)4 72 68 86 00 (standard)
>> fax : 33 (0)4 72 68 86 10
>> ==================================================================
>>
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>   _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>   
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


-- 
==================================================================
Jérôme Redouté
Ph.D. - Ingénieur de Recherche - Université Claude Bernard - Lyon1
CERMEP - Imagerie du vivant
59 Bd Pinel. 69677 Bron - FRANCE
tel : 33 (0)4 72 68 86 18 (bureau)
tel : 33 (0)4 72 68 86 00 (standard)
fax : 33 (0)4 72 68 86 10
==================================================================




More information about the MINC-users mailing list