[Insight-developers] error C1128: number of sections exceeded object file format limit : compile with /bigobj c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility
Matt McCormick
matt.mccormick at kitware.com
Thu Nov 17 17:41:46 EST 2011
Hi Ho,
Thanks for testing and your report.
I have added a patch here:
http://review.source.kitware.com/#change,3334
Please test if you get a chance.
Thanks,
Matt
On Thu, Nov 10, 2011 at 11:21 PM, Ho Cheung <hocheung20 at gmail.com> wrote:
> Hi all,
>
> I am running Win 7 x64 and Microsoft Visual Studio 2010 SP1.
>
> I just downloaded ITK v4.0rc01 and tried to build it. I turned off
> BUILD_TESTING and BUILD_EXAMPLES, and turned on ITK_USE_REVIEW and
> ITK_USE_64_BITS_ID.
>
> I then get the following error:
>
> error C1128: number of sections exceeded object file format limit : compile
> with /bigobj c:\program files (x86)\microsoft visual studio
> 10.0\vc\include\xutility
>
> I have confirmed that the fix to this is just to add /bigobj to the
> CMAKE_CXX_FLAGS.
>
> This bug should affect Visual Studio 2005 and 2008 as well, although I have
> not tested it.
>
> Regards,
>
> Ho Cheung
> Research Assistant
> Bio-Image Analytics Lab - University of Houston
> hocheung20 at gmail.com
> Cell: (832) 215-6347
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
More information about the Insight-developers
mailing list