<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>Could you please provide detail information about what compiler and OS you are running?</div><div><br></div><div>I believe if you set VNL_CONFIG_ENABLE_SSE2_ROUNDING in the cmake configuration to false, to disable the use of SSE intrinsics, you should be able to build ITK.</div><div><br></div><div>They way some of these SSE intrinsics are detected is not smart enough in ITK. Some versions of gcc don't have the needed methods. The problem is right around line 50 in itkMathDetail.h. Can you please file a detailed bug report into mantis?</div><div><br></div><div>Brad</div><div><br><div><div>On May 24, 2010, at 6:30 AM, motes motes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I am trying to build itk 3.18 with review/review statistics on an<br>external linux server. But I get this error:<br><br>[ 79%] Building CXX object<br>Code/Common/CMakeFiles/ITKCommon.dir/itkChainCodePath2D.o<br>/InsightToolkit-3.18.0/Code/Common/itkMathDetail.h: In function<br>'itk::int64_t itk::Math::Detail::RoundHalfIntegerToEven_64(double)':<br>/InsightToolkit-3.18.0/Code/Common/itkMathDetail.h:251: error:<br>'_mm_cvtsd_si64' was not declared in this scope<br>/InsightToolkit-3.18.0/Code/Common/itkMathDetail.h: In function<br>'itk::int64_t itk::Math::Detail::RoundHalfIntegerToEven_64(float)':<br>/InsightToolkit-3.18.0/Code/Common/itkMathDetail.h:258: error:<br>'_mm_cvtss_si64' was not declared in this scope<br>make[2]: *** [Code/Common/CMakeFiles/ITKCommon.dir/itkChainCodePath2D.o] Error 1<br>make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2<br>make: *** [all] Error 2<br><br>any ideas on how to solve this or what might be causing it?<br>_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.html<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">========================================================</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Bradley Lowekamp<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="font-family: Arial; "><span class="Apple-style-span" style="font-family: Arial; ">Lockheed Martin </span></span></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Contractor for</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Office of High Performance Computing and Communications</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">National Library of Medicine<span class="Apple-converted-space"> </span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></span>
</div>
<br></div></body></html>