[Insight-developers] gccxml error: '_mm_set_sd' was not declared in this scope

Brad King brad.king at kitware.com
Tue Mar 22 13:16:56 EDT 2011


On 03/22/2011 12:00 PM, Gaëtan Lehmann wrote:
> It seems that the custom emmintrin.h is not included as it should.
> The build was OK before the modularization - is it possible that the  
> modularization broke something on that side?

It looks like this change:

  http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=75093bb7

did not make it fully through the modularization.  This is related to the
TODO-Modularization.txt entry about platform tests.  Try the patch below.

-Brad K


diff --git a/CMakeLists.txt b/CMakeLists.txt
index 61f3c15..a237024 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,9 @@ set(CMAKE_MODULE_PATH ${ITK_SOURCE_DIR}/CMake ${CMAKE_MODULE_PATH})
 include(PreventInSourceBuilds)
 include(ITKModuleMacros)

+# Check if this platform support the sse2 rounding functions for 32 and 64 bits
+include(CheckSupportForSSERounding)
+
 set(ITK_VERSION_MAJOR "4")
 set(ITK_VERSION_MINOR "0")
 set(ITK_VERSION_PATCH "0")


More information about the Insight-developers mailing list