Should it not be #include "gdal.h"? The <> construct is used for system includes, whereas gdal.h counts as a user include, to be found in the include path. But I admit my c to be a little rusty ... Peter

Riki Tiki wrote:
Hi,

I am using bloodshed dev-C++...

I have written only this

//////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
#include <gdal.h>

int main(int argc, char *argv[])
{ system("PAUSE");
  return 0;
}
/////////////////////////////////////

Before compiling it i have installed the FWTools2.4.5,
all header files are located in
C:\Program Files\FWTools2.4.5\include

/////////////////////////////////////
Now before compiling and running above program
i have added to the
Tools->Compiler Options->Directories->Libraries

the above path of the fwtools' include folder...

////////////////////////////////////////

when i compile and run it... it says the following:
C:\...\main.c gdal.h: No such file or directory. C:\...\Makefile.win [Build Error] [main.o] Error 1

can you help me to solve the problem?
thanks a lot in advance.


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

--
--------------------------------------------------------------------------------
Peter J Halls, GIS Advisor, University of York
Telephone: 01904 433806     Fax: 01904 433740
Snail mail: Computing Service, University of York, Heslington, York YO10 5DD
This message has the status of a private and personal communication
--------------------------------------------------------------------------------
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to