Hello, this is normal for x64 compillations with Visual Studio. I thought, ITK needs that flag too. I also recommend to set the option as an envionment variable. The Visual Studio project settings will be overwritten the next time you run cmake.
Regards, Jochen ________________________________________ From: Baumhauer Matthias [[email protected]] Sent: Friday, January 29, 2010 11:50 AM To: 'g c'; 'mitk-users' Subject: Re: [mitk-users] Error C1128 when compiling mitkCoreExt George, try adding the /bigobj flag either as environment variable (set CL=/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /MP /bigobj), or in Cmake as compiler flags. Regards, Matthias Von: g c [mailto:[email protected]] Gesendet: Donnerstag, 28. Januar 2010 15:18 An: mitk-users Betreff: [mitk-users] Error C1128 when compiling mitkCoreExt Hi, When trying to build MITK-0.14 I got the following error when compiling mitkCoreExt: 33>mitkBSplineRegistration.cpp 33>Generating Code... 33>c:\mitk\insighttoolkit-3.16.0\code\basicfilters\itkrescaleintensityimagefilter.h(128) : fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj 33>Build log was saved at "file://c:\mitk\build_MITK-0.14_shared_ITK-3.16.0_VTK-5.4.2_Qt-4.5.3_msvc2005\Modules\MitkExt\mitkCoreExt.dir\Release\BuildLog.htm" 33>mitkCoreExt - 1 error(s), 146 warning(s) I followed the compiler's suggestion of adding the /bigobj flag after which everything compiled fine. (Property Manager -> mitkCoreExt -> Properties -> Configuration Properties -> C/C++ -> Command Line -> add /bigobj flag) I'm using ITK-3.16.0, VTK-5.4.2, Qt-4.5.3, Visual Studio 8 on 64bit Windows XP (building Release x64). Did anyone else encounter this error? Thanks, George ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
