Gdal can read and write Multiband spectral data, and after installing VS2013, compile gdal with the VS command-line tool.
First download Gdal Source: Http://trac.osgeo.org/gdal/wiki/DownloadSource.
Not too new version, I downloaded is 2.0.2 version, download to D drive, unzip.
Locate D:\Program Files (x86) \microsoft Visual Studio 12.0\common7\tools\shortcuts\vs2013 x86 native Tools command prompt. LNK, the following interface will pop up when opened:
Then use the CD command to enter the Gdal folder
Type the following command in turn:
Nmake-f makefile.vcnmake-f makefile.vc installnmake-f makefile.vc devinstall
Wait for the compilation to succeed.
After the compilation succeeds, a new folder will be generated in the C drive: C:\warmerda\bld, which is the result of successful compilation.
The next step is to access gdal in VS, in the project properties of VC + + settings include directory: C:\warmerda\bld\include,
Added in library directory: C:\warmerda\bld\lib,
Linker-Added dependency in input: Gdal_i.lib.
This completes the entire Gdal environment compilation.
Windows system +vs2013 compiled Gdal (using the cmd command line)