Hi,<br><div class="gmail_quote"><div>
<br></div><div>Following error occured while building ITK library using MinGW Makefile.</div><div><br></div><div><b>[42%] Building CXX object Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloatingPointExceptions.cxx.obj</b></div>
<div><p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:
In static</p>
<p class="">member function 'static void
itk::FloatingPointExceptions::Enable()':</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:14:
err</p>
<p class="">or: '_EM_DENORMAL' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:29:
err</p>
<p class="">or: '_EM_UNDERFLOW' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:45:
err</p>
<p class="">or: '_EM_INEXACT' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:58:
err</p>
<p class="">or: '_MCW_EM' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:65:
err</p>
<p class="">or: '_controlfp' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:
In static</p>
<p class="">member function 'static void
itk::FloatingPointExceptions::Disable()':</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:14:
err</p>
<p class="">or: '_EM_INVALID' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:28:
err</p>
<p class="">or: '_EM_DENORMAL' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:43:
err</p>
<p class="">or: '_EM_ZERODIVIDE' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:60:
err</p>
<p class="">or: '_EM_OVERFLOW' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:14:
err</p>
<p class="">or: '_EM_UNDERFLOW' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:30:
err</p>
<p class="">or: '_EM_INEXACT' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:43:
err</p>
<p class="">or: '_MCW_EM' was not declared in this scope</p>
<p class="">C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:50:
err</p>
<p class="">or: '_controlfp' was not declared in this scope</p>
<p class="">mingw32-make[2]: *** [Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloati</p>
<p class="">ngPointExceptions.cxx.obj] Error 1</p>
<p class="">mingw32-make[1]: ***
[Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/all] Erro</p>
<p class="">r 2</p>
<p class="">mingw32-make: *** [all] Error 2</p></div><div><br></div><div><br></div><div><br></div><div>After building ITK even with errors, I tried to build a program I got this error :</div><div><br></div><div>mingw32-make[2]: *** No rule to make target 'C:/ITK/mingwbin/lib/libITKCommon-4.2.dll.a', needed by 'Events.exe'. Stop.</div>
<div>mingw32-make[1]: *** [CMakeFiles/Events.dir/all] Error2</div><div>mingw32-make: *** [all] Error2</div><div><br></div>
<div><br></div><div>I checked in ITK build folder there were no libITKCommon-4.2.dll.a file.</div><div>Is this error related to build error?</div><div>Please help me to solve this.</div><div><br></div><div>I have attached screenshots of errors.</div>
<div><br></div><div>Thanks</div>
</div><br>