[gdal-dev] Compiling ECW 3.3 on MacOSX

John Daniel jdaniel at etresoft.com
Fri Jan 5 10:45:47 PST 2018


As I explained to Jeremy in an e-mail, I made those changes years ago. I don’t remember the exact details. I do know that those are all specific to OS X, and specifically to OS X and the Xcode toolchain circa 2011 (maybe?). Things are much different today. I must have needed those changes to make it work on the Mac. I did use this code to process a fair amount of JPEG2000-encoded NITF data. It seemed to work fine at the time.

However, I never applied these changes to any production Linux builds. They were only for the Mac and I only used the Mac for development. I would not recommend using this patch for any real data.

As soon as OpenJPEG became viable, I switched to that. Plus that ECW code has questionable licensing - real mess. Unfortunately, Jeremy has actual ECW files. I never had any of those.

However, you could use this patch to get a functional GDAL build with ECW and run tests. Then try to back out some of the more mysterious changes. That is always easier to do when you have it running and testable.

John Daniel
Etresoft, Inc.

On Jan 5, 2018, at 8:12 AM, Even Rouault <even.rouault at spatialys.com<mailto:even.rouault at spatialys.com>> wrote:

Hi Jeremy,



> https://gist.github.com/palmerj/54fa389c4e60fa7b9f1d5ceea7ac3359



Note that https://trac.osgeo.org/gdal/wiki/ECW references
https://trac.osgeo.org/gdal/attachment/wiki/ECW/libecwj2-3.3.patch which is the cumlated patch of a number of patches that have been collected over the years (for Linux builds)



I see that your gist has some of the fixes of libecwj2-3.3.patch, and a lot more (but some are not so obvious without digging more in the code)



This ECW situation is such a mess. Sigh



Even



--
Spatialys - Geospatial professional services
http://www.spatialys.com<http://www.spatialys.com/>
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180105/93c78b34/attachment-0001.html>


More information about the gdal-dev mailing list