Dear Licilio,
There was a mistake in the code I've sent you. This is the working
version:
if not api.GetCompiler().TargetIsWindows():
gmKernel.AddDefinitions(["-ftemplate-depth-1024"], private =
1)
I've fixed the error in SVN.
Best regards,
Xavi
-----Original Message-----
From: Lucilio Cordero [mailto:[email protected]]
Sent: jueves, 23 de febrero de 2012 19:39
To: Xavier Planes
Cc: [email protected]; [email protected]
Subject: RE: Linux GIMIAS compilation
Dear Xavi.
Yes, the bug has been fixed and the compilation has proceeded completely.
Nevertheless I have had to delete the option _NOT_WIN32 = 1 because it has
not been recognized when selecting the projects.
Cheers!
On Thu, 23 Feb 2012, Xavier Planes wrote:
> Dear Luicilio,
>
> Thank you for your feedback. To add a compiler flag for Linux using
> CSnake, you can edit the file csnGMKernel.py and add the following line:
> gmKernel.AddDefinitions(["-ftemplate-depth-1024"], private = 1,
> _NOT_WIN32 = 1)
>
> Please, let me know if it fixes the error, so I can commit the
change
> in the SVN repository.
>
> Best regards,
> Xavi
>
> -----Original Message-----
> From: Lucilio Cordero [mailto:[email protected]]
> Sent: jueves, 23 de febrero de 2012 11:45
> To: [email protected]
> Cc: [email protected]
> Subject: Linux GIMIAS compilation
>
>
> Dear Xavi:
>
> I write this in English so as to allow you to make the e-mail public
> in case you judge it of interest for the GIMIAS community.
>
> I am compiling the software in linux and I obtain the following error:
>
> [ 38%] Building CXX object
> /nfs/datos/heart/GIMIAS_NUEVO/GIMIAS_1_4_1/library/Debug/gmKernel/CMak
> eFiles
> /gmKernel.dir/nfs/datos/heart/GIMIAS_NUEVO/GIMIAS_1_4_1/src/Apps/Gimia
> s/Core
> /Kernel/src/coreSessionReader.o
>
> /nfs/datos/heart/GIMIAS_NUEVO/GIMIAS_1_4_1/thirdParty/BOOST-1.45.0/boo
> st/boo
> st/type_traits/remove_cv.hpp:55:
> error: la profundidad de instanciación de la plantilla excede el
> máximo de
> 50 (use -ftemplate-depth-NN para incrementar el máximo) al instanciar
> struct boost::detail::rvalue_ref_filter_rem_cv<const
> boost::serialization::collection_size_type>
>
> Therefore it seems I have to add a compiler flag. The problem is that
> I don't know how this can be carried out inside the CSnake environment.
>
> Thanks in advance for your attention.
>
> Lucilio Cordero Grande
> Laboratorio de Procesado de Imagen
> University of Valladolid (Spain)
>
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers