2021.04.16 17:46 "[Tiff] tiffcp: LERC codec options refer to zstd even if zstd support is not present", by Miguel Medalha

2021.04.16 22:28 "Re: [Tiff] tiffcp: LERC codec options refer to zstd even if zstd support is not present", by Even Rouault

When you say "https://github.com/Esri/lerc.git", I assume you mean the master version. Yes it is ahead of the v2.2.1 tag. On my Linux box, Lerc master works fine with tiffcp.

Yes, I mean the master version.

When switching between liblerc, do you make sure to rebuild libtiff against the new updated Lerc headers?

Yes, I had forgotten to replace the headers after switching to master.

For the record, I just did a Debug build of libtiff and liblerc master with VC 19.28.29910 for x64 and on quick test, this works fine with tiffcp -c lerc

But still some problem persists. If I build from master, with the correct headers, the following messages are produced, four of them fatal:

Given the errors, I strongly suspect you need to refresh to the very latest liblerc master. libtiff can only build against liblerc master, with the patch of https://github.com/Esri/lerc/commit/f8adffaf2f65206005214f6ec7c9115ecacbf519 applied, which was merged 2 days ago. Check you have the #define LERC_VERSION_MAJOR in the installed Lerc_c_api.h

Even

http://www.spatialys.com
My software is free, but my time generally not.