| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2003.12.22 23:59 "undefined reference to `TIFFDataWidth'", by Pushkar PradhanWhen I try to use TIFFDataWidth, I get this compiler error: Redstone[382] pushkar$ gcc -g -o main rgbtolhs-serial.c ip/rgblhs.c tiff/tiff_misc.c -Iip/ -Ierrs/ -Itiff/ -ltiff -lm /tmp/ccpBNPef.o(.text+0x349): In function `writeTIFFTags': /rstc/user1/erc/pushkar/data-fusion/tiff/tiff_misc.c:86: undefined reference to `TIFFDataWidth' collect2: ld returned 1 exit status I'm using 3.6.0 BETA2 libtiff. Was this available only after this version? I've another question too, I'm calculating the bitspersample tag from sampleformat tag, will this always give the correct result: (dType is TIFFDataType) (wtags is just a struct containing all the tags I want). wtags.sampleFormat = dType; wtags.bitsPerSample = TIFFDataWidth(dType)*8; Thanks, Pushkar Pradhan |
|||||||