<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Hi,<div><br></div><div>I just want to report that ITK 3.14.0 fails to compile when set up to be built as a universal binary (i386;x86_64;ppc;ppc64) on Mac OSX Leopard 10.5.7 with gcc version 4.0.1.  The compilation will succeed if only i386 and x86_64 are chosen.  The error message, attached below, points to an error in vnl_math.h.  It seems that emmintrin.h is being incorrectly included even for ppc/ppc64.</div>

<div><br></div><div>Gary</div><div><br></div><div><div>In file included from /Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.cxx:8:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:51:46: error: emmintrin.h: No such file or directory</div>

<div>In file included from /Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.cxx:8:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:51:46: error: emmintrin.h: No such file or directory</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_rnd_halfinttoeven(float)’:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:193: error: ‘_mm_set_ss’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:193: error: ‘_mm_cvtss_si32’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_rnd_halfinttoeven(double)’:</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:200: error: ‘_mm_set_sd’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:200: error: ‘_mm_cvtsd_si32’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_floor(float)’:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:359: error: ‘_mm_set_ss’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:359: error: ‘_mm_cvtss_si32’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_floor(double)’:</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:366: error: ‘_mm_set_sd’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:366: error: ‘_mm_cvtsd_si32’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_ceil(float)’:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:444: error: ‘_mm_set_ss’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:444: error: ‘_mm_cvtss_si32’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_ceil(double)’:</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:451: error: ‘_mm_set_sd’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:451: error: ‘_mm_cvtsd_si32’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_rnd_halfinttoeven(float)’:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:193: error: ‘_mm_set_ss’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:193: error: ‘_mm_cvtss_si32’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_rnd_halfinttoeven(double)’:</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:200: error: ‘_mm_set_sd’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:200: error: ‘_mm_cvtsd_si32’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_floor(float)’:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:359: error: ‘_mm_set_ss’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:359: error: ‘_mm_cvtss_si32’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_floor(double)’:</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:366: error: ‘_mm_set_sd’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:366: error: ‘_mm_cvtsd_si32’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_ceil(float)’:</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:444: error: ‘_mm_set_ss’ was not declared in this scope</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:444: error: ‘_mm_cvtss_si32’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h: In function ‘int vnl_math_ceil(double)’:</div>

<div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:451: error: ‘_mm_set_sd’ was not declared in this scope</div><div>/Users/huiz/unix/tools/ITK/src/InsightToolkit-3.14.0/Utilities/vxl/core/vnl/vnl_math.h:451: error: ‘_mm_cvtsd_si32’ was not declared in this scope</div>

<div><br></div></div></span>