使用 Visual Studio 2012
我按照步骤构建 gdal using
nmake
warmerda/bld 和创建的所有文件夹和文件。
但是当我在我的 C++ 项目和 <gdal_priv.h>
中包含文件夹(include/lib 和 gdal_i.ib)时一旦运行该程序。
我收到一条错误消息:
the program can't start because gdal201.dll is missing from your computer. Try reinstalling the program to fix this problem
有什么想法吗?我被困在这里了。
最佳答案
当我将 .dll 放入包含可执行文件的文件夹中时,系统提示我输入另一个 .dll。 我没有处理它,而是将文件夹更改为包含所有 .dll 文件的文件夹,然后从那里运行 ogr2ogr。
关于c++ - Visual Studio 2012 上的计算机错误中缺少 GDAL201.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40729277/