[Insight-users] Compiling error with ITK 3.4.0 on my MinGW platform

Thomas Feuvrier thomas.feuvrier at c-s.cnes.fr
Fri Nov 9 11:59:12 EST 2007


Hi ITK users

Between ITK v 3.2.0 and v 3.4.0, the file 
ITK/Utilities/itkjpeg/jconfig.h.in had been modified in the line 24.
In 3.2.0 version the line was :
             #if defined (_WIN32) && !(defined(__CYGWIN__) || 
defined(__MINGW32__))
In 3.4.0 version the line is :
             #if defined (_WIN32) && !defined(__CYGWIN__) 

On my MinGW platform, the ITK 3.2.0 compiling with success.
But the new version 3.4.0 generate this compiling error :
[  5%] Building C object 
Utilities/itktiff/CMakeFiles/itktiff.dir/tif_jpeg.obj
In file included from 
G:/OTB-DART-NIGHTLY/sources/InsightToolkit-3.4.0/Utilities/itktiff/tif_jpeg.c:74:
G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:99: 
parse error before "boolean"
G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:115: 
parse error before "boolean"
G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:167: 
parse error before "boolean"
G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:182: 
parse error before '*' token
:
:
(with CMake v 2.4.6)

Could you help me, How can I solve my problem ?

Thanks,
Thomas






More information about the Insight-users mailing list