[Insight-developers] Fwd: Error while building ITK: libITKCommon-4.2.dll is not existing after build

qt.itk.vtk.help qt.itk.vtk.help at gmail.com
Wed Nov 28 03:04:37 EST 2012


Hi,

Following error occured while building ITK library using MinGW Makefile.

*[42%] Building CXX object
Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloatingPointExceptions.cxx.obj
*

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx: In
static

member function 'static void itk::FloatingPointExceptions::Enable()':

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:14:
err

or: '_EM_DENORMAL' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:29:
err

or: '_EM_UNDERFLOW' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:45:
err

or: '_EM_INEXACT' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:58:
err

or: '_MCW_EM' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:430:65:
err

or: '_controlfp' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx: In
static

member function 'static void itk::FloatingPointExceptions::Disable()':

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:14:
err

or: '_EM_INVALID' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:28:
err

or: '_EM_DENORMAL' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:43:
err

or: '_EM_ZERODIVIDE' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:438:60:
err

or: '_EM_OVERFLOW' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:14:
err

or: '_EM_UNDERFLOW' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:30:
err

or: '_EM_INEXACT' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:43:
err

or: '_MCW_EM' was not declared in this scope

C:\ITK\Source\Modules\Core\Common\src\itkFloatingPointExceptions.cxx:439:50:
err

or: '_controlfp' was not declared in this scope

mingw32-make[2]: ***
[Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloati

ngPointExceptions.cxx.obj] Error 1

mingw32-make[1]: *** [Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/all]
Erro

r 2

mingw32-make: *** [all] Error 2



After building ITK even with errors, I tried to build a program I got this
error :

mingw32-make[2]: *** No rule to make target
'C:/ITK/mingwbin/lib/libITKCommon-4.2.dll.a', needed by 'Events.exe'. Stop.
mingw32-make[1]: *** [CMakeFiles/Events.dir/all] Error2
mingw32-make: *** [all] Error2


I checked in ITK build folder there were no libITKCommon-4.2.dll.a file.
Is this error related to build error?
Please help me to solve this.

I have attached screenshots of errors.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20121128/4df6dfb7/attachment.htm>


More information about the Insight-developers mailing list