[Insight-users] Problem: Cant build ITK 4.0 with Mingw under Win7

Bill Lorensen bill.lorensen at gmail.com
Tue Mar 6 13:59:08 EST 2012


We have a nightly build that uses Msys makefiles:
http://open.cdash.org/viewNotes.php?buildid=2068619
And here are the settings: http://open.cdash.org/viewNotes.php?buildid=2068619

I'm not sure if there is a difference using mingw makefiles. I don't
have access to my mingw system currently, so I can't check.

Bill

On Tue, Mar 6, 2012 at 11:45 AM, Shraiki, Mario
<Mario.Shraiki at eye-tech.net> wrote:
>
> Steps to reproduce:
> 1. I cloned the latest "commit 235a1d703cc8fc6c0703b7905601026437dc4072" version from the kitware website 4.0
> 2. I used the CMake gui for configuring and generating the CMake files (for a subfolder called binary)
> 3. I generated the MinGw Makefiles
> 4. I called mingw32-make
> After several compilation steps the following error occured:
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
> [ 40%] Building CXX object Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkThreadedIndexedContainerPartitioner.cxx.obj
> [ 40%] Building CXX object Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkObjectFactoryBase.cxx.obj
> [ 40%] Building CXX object Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloatingPointExceptions.cxx.obj
>
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx: In static member function 'static void itk::FloatingPointExceptions::Enable()':
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:415:14: error: '_EM_DENORMAL' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:415:29: error: '_EM_UNDERFLOW' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:415:45: error: '_EM_INEXACT' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:415:58: error: '_MCW_EM' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:415:65: error: '_controlfp' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx: In static member function 'static void itk::FloatingPointExceptions::Disable()':
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:423:14: error: '_EM_INVALID' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:423:28: error: '_EM_DENORMAL' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:423:43: error: '_EM_ZERODIVIDE' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:423:60: error: '_EM_OVERFLOW' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:424:14: error: '_EM_UNDERFLOW' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:424:30: error: '_EM_INEXACT' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:424:43: error: '_MCW_EM' was not declared in this scope
> d:/ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:424:50: error: '_controlfp' was not declared in this scope
>
> make[2]: *** [Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloatingPointExceptions.cxx.obj] Error 1
> make[1]: *** [Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/all] Error 2
> make: *** [all] Error 2
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
> GCC has the version 4.6.2
>
> Am I missing some preprocessor commands?
>
> Regards, Mario
>
>
> +++ Trust your eyes - thanks to state-of-the-art technologies from SCHWIND eye-tech-solutions +++
>
> Geschäftsführer: Dipl.-Kfm. Rolf Schwind, Kurt Geiß
> SCHWIND eye-tech-solutions GmbH & Co. KG, Registergericht Aschaffenburg, HRA 814
> Komplementär: SCHWIND Beteiligungs GmbH, Registergericht Aschaffenburg, HRB 4325
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list