Mingw32-MXE package : jpeg2000 support is broken
Mantis Issue 978, reported by jmichel, assigned to rkanavath, created: 2014-10-10
Using the MXE cross-compiled package, behaviour of jpeg2000 reading is erratic. The package now builds with a gdal providing the openjpeg driver.
There is a lot of mixed issues here :
- Potential conflict with ITK/GDCM internal openjpeg
- Poor support of mingw32 in openjpeg
- Limited testing of mingw32 compiler for openjpeg.
First step should be to set up a mingw32 submission to openjpeg dashboard I think.
1413562409 - gpaseroThere are experimental builds on OpenJpeg dashboard, using Mingw32 : http://my.cdash.org/index.php?project=OPENJPEG
I have tried an other Mingw32 build using MXE but couldn't reproduce the crash. The build was using internal ITK (4.6). I will try with the released Mingw32 binaries.
1413790893 - gpaseroI have tried with the released Mingw32 binaries. At 88% of the extraction process, I got the following error :
Writing Z:\gpasero\OTB\channel2.tif...: 88% [*********************************** ********* ] 2014 Oct 17 20:00:18 : Application.logger (FATAL) The following error occurred during application execution : /home/otbtesting/win-sources/mxe/tmp-itk-i686-pc-mingw32.shared/InsightToolkit-4.6.0/Modules/Core/Common/src/itkMultiThreader.cxx:358: itk::ERROR: MultiThreader(0x57161c8): Exception occurred during SingleMethodExec ute /home/otbtesting/sources/orfeo/trunk/OTB-Nightly/Code/IO/otbJPEG2000ImageIO.cxx: 1167: itk::ERROR: otbopenjpeg failed to decode the desi