Search code examples
c++gdal

How to setup in GDAL 1.9.2 CPP project on windows VS C++?


I recently downloaded GDAL source code from here

I want to compile it and I want to modify it. So I started with its source code which I have downloaded.

Now I have seen that in supported compilers there is Visual C++ here...

How to setup it?

EDIT:

I have successfully setup it but now i am looking for some options to run GDALDEM.cpp.


Solution

  • For Setup, I did it... just sharing so someone can save time

    Step 1 Download this Project from here

    This project is just project file. You need to copy GDAL source code to it in next steps..

    Step 2 Extract it.

    Step 3 Now copy paste all folders/files from gdal-1.11.1 folder to project solution folder

    Select all files as shown below, press Ctrl +C

    copy this files

    Now paste in extracted project

    paste here

    Step 4 Now open Visual C++ -> Open Project -> Select Project

    proj

    Step 5 Simple Setup done....

    gdal setup done