|
From: Szathmary L. <sz...@de...> - 2003-04-08 20:26:12
|
Hi,
I'm quite new to Dev-C++, and I ran into a problem. I wanted to compile
this simple prg.:
#include <stdlib.h>
#include <tiffio.h>
#include <tiff.h>
int main(int argc, char *argv[])
{
TIFF* tif = TIFFOpen("foo.tif", "r");
// ... do stuff ...
TIFFClose(tif);
system("PAUSE");
return 0;
}
but I get the next error: undefined reference to TIFFOpen and to
TIFFClose. In the include directory I have tiff.h, tiffio.h and
tiffvers.h, in the lib dir. I have tiff.lib, and libtiff.a
What is wrong? In the options menu the lib and iclude directories are set
properly.
Thanks,
laszlo
|