#20 Make fails using custom libtiff path

open
Ruven
server (11)
5
2012-10-06
2012-04-25
Anonymous
No

Scenario:
The tiff library is installed at /home/myself/iip/tiff/ . Makefiles are created using
./configure --with-tiff-includes=/home/myself/iip/tiff/include --with-tiff-libraries=/home/myself/iip/tiff/lib

Error:
After running make I got:
TPTImage.h:28:18: error: tiff.h: No such file or directory
TPTImage.h:29:20: error: tiffio.h: No such file or directory

Cause:
The resulting Makefiles seem to contain buggy include statements at line 120:
INCLUDES = -I. -I -I/home/myself/iip/ltiff/include

Solution:
Remove "-I " from that line and run make again.

Discussion