2004.10.18 19:25 "[Tiff] Hello's and Urgent problem!!!", by Elzumba Sefue

2004.10.18 19:41 "Re: [Tiff] Hello's and Urgent problem!!!", by Frank Warmerdam

Hello to all!!! Before nothing, my name is Matias Nicolas Sommi, and I'm a newbie in the TIFF programming, I'm interesting in it for my work. The first problem that I have is "unresolved symbol to TIFFOpen"...(See the source code below) I'm using windows 2k OS, and the compiler is Dev-C++ 4.9.9

Thank you very much, and I'm waiting for your answers.

#include "tiffio.h"
#include <stdio.h>
#include <math.h> //In linux is necessary to compile,
but I'm windows...
int main() {
    TIFF *tif;
    printf("\nMANUAL BREAKPOINT");
    tif = TIFFOpen("1.tif", "r"); //It's the error
    printf("\nMANUAL BREAKPOINT 2");
    TIFFClose(tif);
    printf("\nMANUAL BREAKPOINT 3");
    return 0;
}

Elzumba,

Perhaps you should link against the libtiff library?

I would add that Dev-C++ isn't a supportted compiler so if you want to use it with libtiff you had better be prepared to figure some stuff out. Without any more information than you have provided I would have to assume that you think the compiler will just magically find the library. Of course I could be wrong, but you haven't given enough information on what you have tried for anyone to point out a mistake or suggestion short of "I use Dev-C++ too, let me do everything for you".

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent