VS 2012 编译64位的GDAL

2014-11-23 20:25:29 · 作者: · 浏览: 10

注意点,

打开VS2012 x64 Native Tools Command Prompt

然后运行下面的命令:


[cpp]
nmake -f makefile.vc WIN64=TRUE

nmake -f makefile.vc WIN64=TRUE
等待吧,成功。


里面写着:


[cpp]
If you plan to compile for the 64bit platform be sure to choose the correct bat / command prompt.

If you plan to compile for the 64bit platform be sure to choose the correct bat / command prompt.
[cpp]
WIN64: Enable this if compiling for the 64 bit platform. You also need to use the correct Visual C++ compiler and set the environment properly.

WIN64: Enable this if compiling for the 64 bit platform. You also need to use the correct Visual C++ compiler and set the environment properly.