<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><font size="3">Thomas,<br><br>ITK could be compiled on MinGW only as a static library -- when the shared-lib flag was on there were linking errors. There were attempts to solve these issue just before the 3.4 release, but it didn't get anywhere. The errors that you reported could be some side effects of those attempts.<br><br>Even if there were no eroors, ITK under MinGW is not really useful right now, ITK is a big template-basd library and static-linking it to your binary will be a slow-long process.<br><br><br>Hi ITK users
<br><br>Between ITK v 3.2.0 and v 3.4.0, the file
<br>ITK/Utilities/itkjpeg/jconfig.h.in had been modified in the line 24.
<br>In 3.2.0 version the line was :
<br> #if defined (_WIN32) && !(defined(__CYGWIN__) ||
<br>defined(__MINGW32__))
<br>In 3.4.0 version the line is :
<br> #if defined (_WIN32) && !defined(__CYGWIN__)
<br><br>On my MinGW platform, the ITK 3.2.0 compiling with success.
<br>But the new version 3.4.0 generate this compiling error :
<br>[ 5%] Building C object
<br>Utilities/itktiff/CMakeFiles/itktiff.dir/tif_jpeg.obj
<br>In file included from
<br>G:/OTB-DART-NIGHTLY/sources/InsightToolkit-3.4.0/Utilities/itktiff/tif_jpeg.c:74:
<br>G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:99:
<br>parse error before "boolean"
<br>G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:115:
<br>parse error before "boolean"
<br>G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:167:
<br>parse error before "boolean"
<br>G:/OTB-DART-NIGHTLY/nightly/mingw/outils/binaries/static/debug/itk-3.4.0-MinGW/Utilities/itkjpeg/8/jpeglib.h:182:
<br>parse error before '*' token
<br>:
<br>:
<br>(with CMake v 2.4.6)
<br><br>Could you help me, How can I solve my problem ?
<br><br>Thanks,
<br>Thomas
<br></font>
</div><br /><hr />Are you the Quizmaster? <a href='http://specials.uk.msn.com/brainbattle' target='_new'>Play BrainBattle with a friend now! </a></body>
</html>