VC++(msvc2005) and GDAL

2 messages Options
Embed this post
Permalink
weixj2003ld

VC++(msvc2005) and GDAL

Reply Threaded More More options
Print post
Permalink
Hi,
I am a newer to GDAL.
How to embed GDAL into VC++,that is,I want to create frame with MFC,and GDAL only read/write Raster data?Thank you in advance.
Wei




网易历六年耗亿资打造,3D国韵网游《天下贰》,免费领光盘

_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Ivan-5

Re: VC++(msvc2005) and GDAL

Reply Threaded More More options
Print post
Permalink
Wei,

Your VC++ project would need to see the GDAL include and GDAL lib folder; it should need to link with the "gdal_i.lib"; and at run time it will requires GDAL bin folder to be on the Windows path variable.

You can get the GDAL Dev distribution by compiling GDAL from the source code, from OSGeo4w or downloading the zip package. But if you compile from the source code, remember to run "nmake -f makefile.vc *devinstall*". That will setup all the folders that I mentioned before.

Regards,

Ivan

>  -------Original Message-------
>  From: weixj2003ld <[hidden email]>
>  Subject: [gdal-dev] VC++(msvc2005) and GDAL
>  Sent: Nov 05 '09 01:16
>  
>  Hi,
>  I am a newer to GDAL.
>  How to embed GDAL into VC++,that is,I want to create frame with MFC,and
>  GDAL only read/write Raster data?Thank you in advance.
>  Wei
>  
>  
>  [LINK:
>  http://allyes.nie.163.com/main/adfclick?db=afanie&bid=1256,612,23&cid=146,4,1&sid=1353&show=ignore&url=http://tx2.163.com/fab.html]
>   3D
>  
>  --------------------
>  _______________________________________________
>  gdal-dev mailing list
>  [LINK: [hidden email]] [hidden email]
>  [LINK: http://lists.osgeo.org/mailman/listinfo/gdal-dev]
>  http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/gdal-dev