Hi Sebastian,

this is done by adding the flag to the CMAKE_CXX_FLAGS (SuperBuild.cmake:188).

CMAKE_CXX_FLAGS is added to the ep_common_args variable in line 211, and 
ep_common_args in turn is passed to ITK (CMakeExternals/ITK.cmake:83).

If it does not work, we have to investigate why. ITK sets the bigobj flag by 
itself in the following cases:

- If MSVC_VERSION > 1310
- For a few tests if CMAKE_CL_64 or CMAKE_COMPILER_2005 with 
add_definitions(/bigobj).

Best,
Stefan
________________________________________
Von: Sebastian Ordas [[email protected]]
Gesendet: Samstag, 22. März 2014 01:05
An: [email protected]
Betreff: [mitk-users] how to add /bigobj  to the compilation?

Dear Team,

Have a look to the following errors in Windows, VS2010. How can I
fix/patch them?

Error    6    error C1128: el número de secciones superó el límite de
formato de archivo de objeto: compile con /bigobj
  
d:\binx64\mitk-multilabel\itk-src\modules\core\common\include\itkconstneighborhooditerator.hxx
  105

Error    7    error C1128: el número de secciones superó el límite de
formato de archivo de objeto: compile con /bigobj
d:\binx64\mitk-multilabel\itk-src\modules\core\common\include\itkimagetoimagefilter.hxx
108

than you,
sebastian



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to