VS 2012 编译64位的GDAL

来源:互联网 发布:淘宝小号自助交易 编辑:程序博客网 时间:2024/04/30 00:54

注意点,

打开VS2012 x64 Native Tools Command Prompt

然后运行下面的命令:

nmake -f makefile.vc WIN64=TRUE

等待吧,成功。之前不成功是没有注意看文档,http://trac.osgeo.org/gdal/wiki/BuildingOnWindows


里面写着:

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

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.



原创粉丝点击