<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>When compiling WrapITK with more than a certain number of types on, one encounters 'Fatal Error C1128' which is due to the fact that the compiled object exceeds the maximum allowable number of sections [1, 2, 3].<br><br>Since VS.net 8.0, it is possible to avoid this problem by the command /bigobj, however, it may not be trivial to 'programatically' find which object exceeds the limit and assign the /bigobj command dynamically in this way. There are at least 2 rather static solutions:<br><br>(a) To include /bigobj for all the projects. It is not known to me if this would affect the compilation, or even runtime, performance or not.<br><br>(b) To use /bigobj as we go. For ITK 3.4, the only project that I needed to include the command was IntensityFiltersPython.<br><br>It would be good if option (b) could be included in the CVS. The only condition is that the VS.net version number must be &gt;= 8.0.<br><br><br><br>[1] http://msdn2.microsoft.com/en-us/library/8578y171(VS.80).aspx<br>[2] http://msdn2.microsoft.com/en-us/library/ms173499(VS.80).aspx<br>[3] http://cpbotha.net/2007/08/02/python-enabled-vtk-51-and-itk-32-windows-binaries/#comment-3685<br><br></div><br /><hr />The next generation of MSN Hotmail has arrived -  <a href='http://www.newhotmail.co.uk' target='_new'>Windows Live Hotmail</a></body>
</html>