<div dir="ltr">Hi everybody!
<br>I'm a new user of GDAL; in particular I'm working with GDAL in Visual 
Studio 2005 in order to read Geotiff images; I'm following the GDAL API 
Tutorial, but I have some problems.
<br>I'm trying to open the file (a geotiff image); according to the tutorial 
I have written the following code:
<br>
<br>#include <gdal_priv.h>
<br>int main()
<br>{
<br>   GDALDataset *poDataset;
<br>   GDALAllRegister();
<br>   poDataset=(GDALDataset *)GDALOpen("image.tif", GA_ReadOnly);
<br>   if (poDataset==NULL)
<br>       int a=12;
<br>}
<br>
<br>where image.tif is the name of my dataset; when I try to compile the 
program I receive a message with a lot of errors like these:
<br>Error    1    error LNK2001: unresolved external symbol "public: virtual 
char const * __thiscall GDALMajorObject::GetDescription(void)const " 
(?GetDescription@GDALMajorObject@@UBEPBDXZ)    provaopen.obj   
Error    2    error LNK2001: unresolved external symbol "public: virtual 
void __thiscall GDALMajorObject::SetDescription(char const *)" 
(?SetDescription@GDALMajorObject@@UAEXPBD@Z)    provaopen.obj   
Error    3    error LNK2001: unresolved external symbol "public: virtual 
char * * __thiscall GDALMajorObject::GetMetadata(char const *)" 
(?GetMetadata@GDALMajorObject@@UAEPAPADPBD@Z)    provaopen.obj   
<br>
<br>Can somebody help me?
<br>
<br>Best regards,
<br>Silvia
<br>
</div>