AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2021.04.14 16:48 "[Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 18:15 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 18:23 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 18:31 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 18:51 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 19:00 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 19:20 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 19:23 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 19:33 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 19:38 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 19:46 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 20:05 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 20:13 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 20:34 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 20:47 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 22:12 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 22:14 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 22:23 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 22:25 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 22:31 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 22:40 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 20:38 "Re: [Tiff] 4.3.0 release ?", by Even Rouault
2021.04.14 20:41 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha
2021.04.14 19:25 "Re: [Tiff] 4.3.0 release ?", by Jeff McKenna
2021.04.14 20:05 "Re: [Tiff] 4.3.0 release ?", by Bob Friesenhahn

2021.04.14 18:15 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha

I'd be willing to issue a 4.3.0 release soon. The driver as far as I'm concerned is the inclusion of the LERC codec, and having a libtiff release, will unlock downstream channels such as conda-forge to be able to use it.

Under Windows 10, I tried to enable the LERC library and the build fails with the following output:

2>C:\Build\git\libtiff\tif_lerc.c(503,46): warning C4047: 'function': 'int' differs in levels of indirection from 'uint8_t *'
2>C:\Build\git\libtiff\tif_lerc.c(503,22): warning C4024: 'lerc_decode': different types for formal and actual parameter 3
2>C:\Build\git\libtiff\tif_lerc.c(504,18): warning C4047: 'function': 'unsigned char *' differs in levels of indirection from 'int'
2>C:\Build\git\libtiff\tif_lerc.c(504,13): warning C4024: 'lerc_decode': different types for formal and actual parameter 4
2>C:\Build\git\libtiff\tif_lerc.c(509,36): warning C4047: 'function': 'unsigned int' differs in levels of indirection from 'uint8_t *'
2>C:\Build\git\libtiff\tif_lerc.c(509,15): warning C4024: 'lerc_decode': different types for formal and actual parameter 9
2>C:\Build\git\libtiff\tif_lerc.c(500,31): error C2198: 'lerc_decode': too few arguments for call
2>C:\Build\git\libtiff\tif_lerc.c(855,46): warning C4047: 'function': 'int' differs in levels of indirection from 'uint8_t *'
2>C:\Build\git\libtiff\tif_lerc.c(855,22): warning C4024: 'lerc_encodeForVersion': different types for formal and actual parameter 8
2>C:\Build\git\libtiff\tif_lerc.c(856,26): error C2440: 'function': cannot convert from 'double' to 'const unsigned char *'
2>C:\Build\git\libtiff\tif_lerc.c(856,15): warning C4024: 'lerc_encodeForVersion': different types for formal and actual parameter 9
2>C:\Build\git\libtiff\tif_lerc.c(857,34): error C2440: 'function': cannot convert from 'void *' to 'double'
2>C:\Build\git\libtiff\tif_lerc.c(857,15): warning C4024: 'lerc_encodeForVersion': different types for formal and actual parameter 10
2>C:\Build\git\libtiff\tif_lerc.c(858,32): warning C4047: 'function': 'unsigned char *' differs in levels of indirection from 'unsigned int'
2>C:\Build\git\libtiff\tif_lerc.c(858,15): warning C4024: 'lerc_encodeForVersion': different types for formal and actual parameter 11
2>C:\Build\git\libtiff\tif_lerc.c(859,29): warning C4047: 'function': 'unsigned int' differs in levels of indirection from 'unsigned int *'
2>C:\Build\git\libtiff\tif_lerc.c(859,13): warning C4024: 'lerc_encodeForVersion': different types for formal and actual parameter 12
2>C:\Build\git\libtiff\tif_lerc.c(846,41): error C2198: 'lerc_encodeForVersion': too few arguments for call

I am under the impression that I could successfully build the tiff library with LERC before.

The cmake command line used was the following:

cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_C_FLAGS:STRING="-O2 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE" -DCMAKE_STATIC_LIBRARY_SUFFIX_C=-static.lib -Dccitt:BOOL=ON -Dpackbits:BOOL=ON -Dlzw:BOOL=ON -Dthunder:BOOL=ON -Dnext:BOOL=ON -Dlogluv:BOOL=ON -Dzlib:BOOL=ON -Dlibdeflate:BOOL=ON -Dpixarlog:BOOL=ON -Djpeg:BOOL=ON -Dold-jpeg:BOOL=ON -Djpeg12:BOOL=OFF -Djbig:BOOL=ON -Dlzma:BOOL=OFF -Dzstd:BOOL=OFF -Dwebp:BOOL=OFF -Dlerc:BOOL=ON -DCMAKE_SHARED_LINKER_FLAGS="/NODEFAULTLIB:LIBCMT /machine:x64" -DCMAKE_STATIC_LINKER_FLAGS="/NODEFAULTLIB:LIBCMT /machine:x64" -DCMAKE_EXE_LINKER_FLAGS="/NODEFAULTLIB:LIBCMT /machine:x64" -S C:\build\git\libtiff -B C:\build\bin\libtiff