2012.02.01 21:48 "[Tiff] tiff warning question", by

2012.02.02 01:23 "Re: [Tiff] linking libtiff in ubuntu", by Jürgen_Buchmüller

On Wed, 1 Feb 2012 18:41:20 +0100

Martin Alegre <tin.alegre@gmail.com> wrote:

g++ -ggdb -ansi -std=c++0x -llibtiff ./src/color.cpp -I./inc -o

./obj/color.o

FWIW the -l is for the linking stage and you generally don't give the initial lib... name part. In order to link libz.so or libz.a (static), you specify just -lz, not -llibz

That's not the source of your problem, though.

Did you install the libtiff4-dev package?

        apt-get install libtiff4-dev

HTH
Jürgen

--
Jürgen Buchmüller <pullmoll@t-online.de>