Changes between Version 29 and Version 30 of BuildingOnWindows


Ignore:
Timestamp:
Feb 16, 2017, 1:39:19 PM (7 years ago)
Author:
Mateusz Łoskot
Comment:

Move content to GeneratingVisualStudioProject

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v29 v30  
    1 GDAL can be built on Win32 platforms using MS VC++ 6.x and MS Visual Studio .NET (C++).  The source distribution includes NMAKE compatible makefiles for use from the command shell.   For those wanting Visual Studio 7.1 or 8.0 Solution files (instead of the command line nmake files), Ben Discoe normally makes them available on the [http://vterrain.org/Distrib/gdal.html VTP site].  Only the nmake file approach is directly supported by the GDAL maintainers. GDAL also provides automatically generated Visual Studio "Makefile Projects" for version 2003, 2005 and beyond. See [wiki:MakeFileProjects Using Makefile Projects] for details.
     1GDAL can be built on Win32 platforms using MS VC++ 6.x and MS Visual Studio .NET (C++).  The source distribution includes NMAKE compatible makefiles for use from the command shell.   For those wanting Visual Studio 7.1 or 8.0 Solution files (instead of the command line nmake files), Ben Discoe normally makes them available on the [http://vterrain.org/Distrib/gdal.html VTP site].  Only the nmake file approach is directly supported by the GDAL maintainers.
     2
     3Regarding use of Visual Studio projects check details on:
     4* [wiki:GeneratingVisualStudioProject Generating Visual Studio Project]
     5* [wiki:MakeFileProjects Using Makefile Projects]
    26
    37Windows CE is also supported by an alternate set of build files. See [wiki:WindowsCE GDAL for Windows CE] for details.
     
    150154GDAL_DRIVER_PATH folder (you will need to explicitly set this environment variable to allow GDAL to find its plugin drivers).  Your next gdalinfo
    151155or gdal_translate (or any other GDAL calls) should now be able to see the driver when it goes through the driver registration process.
    152 
    153 = Generating Visual Studio Project =
    154 
    155 Use makegdal_gen.bat script available in GDAL source code tree:
    156 
    157 {{{
    158 Parameters:
    159    1 : Visual C++ version is not the same as Visual Studio version ( => 10.0 )
    160    2 : Windows platform 32 for Win32 and 64 for Win64
    161    3 : Base file name, with no path and no extension (*)
    162 }}}
    163 
    164 {{{
    165 Examples:
    166    makegdal_gen.bat 10.1 32 makefileproj_vs10
    167    makegdal_gen.bat 11.0 32 makefileproj_vs11
    168    makegdal_gen.bat 12.0 32 makefileproj_vs12
    169    makegdal_gen.bat 14.0 32 makefileproj_vs14
    170 }}}
    171 
    172 1. configure nmake.opt (or nmake.local) as usual
    173 2. execute: makegdal_gen.bat 14.0 32 makefileproj_vs14
    174 3. Launch VS2015 IDE
    175 4. File > Open > !Project/Solution...
    176 5. Select makefileproj_vs14.vcxproj
    177 6. You may also have to add in Windows SDK library paths in the project's "VC++ Directories" configuration properties