<span style="font-family: arial,sans-serif;"><br>Hi SP H,</span><br style="font-family: arial,sans-serif;"><br style="font-family: arial,sans-serif;"><span style="font-family: arial,sans-serif;">Please look at the</span> variable <br>
<br> CMAKE_CXX_FLAGS_RELEASE
<br><br>in the output of the itkSystemInformation test:<br><br><a href="http://www.cdash.org/CDash/testDetails.php?test=3542878&build=81401" target="_blank">http://w</a><a href="http://www.cdash.org/CDash/testDetails.php?test=3542878&build=81401" target="_blank">ww.cdash.org/CDash/testDetails.php?test=3542878&build=81401</a><br style="font-family: arial,sans-serif;">
<pre style="font-family: arial,sans-serif;"><br>It says:<br><br> CMAKE_CXX_FLAGS_RELEASE:STRING=-g -wd1268<br><br></pre>You can disable warnin "1268" in the Intel compiler by adding to the CXX<br>flags the string <br>
<br> -wd1268<br><br style="font-family: arial,sans-serif;"><br>Please rerun ccmake, go to Advanced variables and add this <br>string to your CMAKE_CXX_FLAGS_RELEASE
variable.<br><br>Note that if you are not building for "Release" then you should<br>probably add the string to <br><br> CMAKE_CXX_FLAGS<br><br><br>Please give it a try and let us know if you encounter any problem,<br>
<br><br> Thanks<br><br><br> Luis<br><br><br>-------------------------------------------------------------------------<br><div class="gmail_quote">On Wed, May 21, 2008 at 5:01 PM, SP H <<a href="mailto:itkhsp@gmail.com">itkhsp@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for the email.<br> <br>I would like to know if there are additional things to do before compiling ITK with ICC.<br>
I just set these environment flags CC=icc, CXX=icpc before using ccmake to configure, and generate the Makefile.<br>
<br>And this produced some warnings such as ,<br> <br>/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/vnl_vector.h(37): warning #1268: support for exported templates is disabled<br> export template <class T> class vnl_matrix;<br>
^<br>/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/vnl_vector.h(534): warning #1268: support for exported templates is disabled<br> export template <class T> vcl_ostream& operator<<(vcl_ostream &, vnl_vector<T> const&);<br>
^<br>/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/vnl_vector.h(537): warning #1268: support for exported templates is disabled<br> export template <class T> vcl_istream& operator>>(vcl_istream &, vnl_vector<T> &);<br>
^<br> <br>...<br> <br>with -export option, compilation fails...<br> <br>Thanks<div><div></div><div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Wed, May 21, 2008 at 2:40 PM, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><br>Hi SP H,<br><br><br>There is one Nightly submission to the ITK Dashboard using ICC 10:<br>
<br> <a href="http://www.cdash.org/CDash/buildSummary.php?buildid=81486" target="_blank">http://www.cdash.org/CDash/buildSummary.php?buildid=81486</a><br>
<br>it seems to build without any errors or warnings.<br><br><br><br>You may want to look at its configuration from the output of<br>the itkSystemInformation test:<br><br><a href="http://www.cdash.org/CDash/testDetails.php?test=3542878&build=81401" target="_blank">http://www.cdash.org/CDash/testDetails.php?test=3542878&build=81401</a><br>
<br><br> Please let us know what you find,<br><br><br> Thanks<br><br><br> Luis<br><br><br>--------------<br>SP H wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>Hello, I am having trouble compiling ITK3.6 with the ICC compiler.<br>Compiling the InsightToolkit3.6 produce some warnings about "export template not supported issue".<br>But when I turn on that feature with -export flag, then another sets of errors occur.<br>
<br>Does anybody have solution to this ?<br>It needs to be compiled properly in order to use some ICC functionalities..<br><br>Thanks..<br><br><br></div></div>------------------------------------------------------------------------<br>
<br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></blockquote></div><br>
</div></div></blockquote></div><br>