e: gcc and libtiff, maybe a newbie question
>
>
> Hi,
>
> The problem is partially due to where the -lname bits are.
> They should be put at the end of the line (after all options
> and stuff). You also needed to include libz (-lz) and libjpeg
> (-ljpeg).
>
>
Hi,
The problem is partially due to where the -lname bits are. They should
be put at the end of the line (after all options and stuff). You also
needed to include libz (-lz) and libjpeg (-ljpeg).
This worked for me:
$ gcc -static -o tifft tifft.c -lm -ltiff -ljpeg -lz
P.s. I renamed your file t
Hi, first I haven't done C programming in years and am a bit rusty with
gcc and ld. I am having problems with ld reporting "undefined reference
to _TIFFOpen" etc, which should be in libtiff. However, I am not even
sure if the problem is about libtiff or if miss something else.
Here is my minimize
3 matches
Mail list logo