2021.04.14 16:48 "[Tiff] 4.3.0 release ?", by Even Rouault

2021.04.14 20:05 "Re: [Tiff] 4.3.0 release ?", by Miguel Medalha

Could you check if you have several tif_config.h around (it should normally be in {build_path}/libtiff/tif_config.h, but if there are other tif_config.h accessible through inclusion that might create confusion), and what its content is.

That seemed to be the case. There was a previous version of 'tif_config.h' under 'C:\build\include', for use with other projects. This 'automatic finding' of something we didn't explicitly specify, and in fact specified otherwise on the cmake command line by "-DJPEG12_LIBRARY:FILEPATH=C:\build\lib\jpeg-static-12bit.lib -DJPEG12_INCLUDE_DIR:PATH=C:\build\include\jpeg12", makes the whole thing harder to manage...

Is that line in ' tif_jpeg_12.c ' really necessary? The header and library for 12-bit jpeg are correctly found by specifying their locations on the cmake command line.