Re: [gdal-dev] #include tiffio.h in gtiff/libgeotiff/

2018-04-12 Thread Ari Jolma
On 12.04.2018 19:25, Even Rouault wrote: On jeudi 12 avril 2018 09:56:35 CEST Ari Jolma wrote: The file frmts/gtiff/libgeotiff/xtiffio.h #include's "tiffio.h", which is in frmts/gtiff/libtiff. However, when compiling in this directory frmts/gtiff/libtiff is not included. I presume the

Re: [gdal-dev] #include tiffio.h in gtiff/libgeotiff/

2018-04-12 Thread Even Rouault
On jeudi 12 avril 2018 09:56:35 CEST Ari Jolma wrote: > The file frmts/gtiff/libgeotiff/xtiffio.h #include's "tiffio.h", which > is in frmts/gtiff/libtiff. However, when compiling in this directory > frmts/gtiff/libtiff is not included. I presume the libtiff.so must be present on the system, but

Re: [gdal-dev] #include tiffio.h in gtiff/libgeotiff/

2018-04-12 Thread Ari Jolma
It seems to me that frmts/gtiff/libgeotiff/GNUmakefile should also override the default rule for %.$(OBJ_EXT) in GDALmake.opt %.$(OBJ_EXT):    %.c     $(CC) $(GDAL_INCLUDE) $(ALL_C_FLAGS) -c -o $@ $< in addition to the rule for ../../o/%.$(OBJ_EXT) BTW, could somebody explain why the two sets