<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Did you provide those command line parameter the first time CMake ran is configuration?<div><br></div><div>By adding those options afterwards you are changing the architecture you are compiling for, so thing left in the CMakeCache may be wrong. You must have those the first time CMake performs it's configuration.</div><div><br></div><div>Brad</div><div><br><div><div>On Apr 2, 2013, at 11:13 AM, Benoit Scherrer <<a href="mailto:benoitscherrer@gmail.com">benoitscherrer@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div dir="ltr">Hi,<div><br></div><div style="">I successfully compiled ITK 4.4 (from the git repository today)</div><div style="">in 32bits on my x86_64 linux.</div><div style="">I'm using the cmake command line parameters:</div>
<div style=""><pre style="">-DCMAKE_CXX_FLAGS:STRING=-m32 -DCMAKE_C_FLAGS:STRING=-m32 -DCMAKE_EXE_LINKER_FLAGS:STRING=-m32 -DCMAKE_REQUIRED_FLAGS:STRING=-m32</pre><pre style=""><span style="color:rgb(34,34,34);font-family:arial;white-space:normal">However, when compiling an application using it (with the same -m32 parameters for cmake) i get the typical error from itkMathDetail.h</span><br>
</pre><pre><pre style="">177:38: error: '_mm_set_sd' was not declared in this scope
177:40: <span style="font-family:arial">error: '_mm_cvtsd_si32' was not declared in this scope</span><br>etc..</pre><pre style=""><font face="arial"><span style="white-space:normal">Do you know what is happening? I deleted the whole build directories and rebuild </span></font><span style="white-space:normal;font-family:arial">everything from scratch (with the -m32 parameters) to be sure to have a clean CMakeCache for both ITK and my app but it was not successful.</span></pre>
<pre style=""><span style="white-space:normal;font-family:arial">Any idea?</span></pre><pre style=""><span style="white-space:normal;font-family:arial"><br></span></pre><pre style=""><span style="white-space:normal;font-family:arial">Thanks!</span></pre>
<pre style=""><span style="white-space:normal;font-family:arial">B</span></pre><pre style=""><span style="white-space:normal;font-family:arial"><br></span></pre></pre><pre style=""><span style="color:rgb(34,34,34);font-family:arial;white-space:normal"><br>
</span></pre><pre style=""><div style="color:rgb(34,34,34);font-family:arial;white-space:normal"><br></div></pre></div></div>
_______________________________________________<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://kitware.com/products/protraining.php<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-developers<br></blockquote></div><br></div></body></html>