scially / Cesium3DTilesConverter

Convert OSGB,Shp,GDAL To Cesium 3DTiles
GNU Lesser General Public License v2.1
369 stars 85 forks source link

Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR) #3

Closed CHCDST-SY closed 2 years ago

CHCDST-SY commented 2 years ago

cmake时提示这个,是需要把编译好的gdal库添加到win的环境变量里面吗?

scially commented 2 years ago

如果是windows,建议直接用vcpkg安装

CHCDST-SY commented 2 years ago

如果是windows,建议直接用vcpkg安装

我是用vs2017直接打开的cmakelist.txt,然后自动编译运行,报的这个错

scially commented 2 years ago

gdal装了没

CHCDST-SY commented 2 years ago

gdal装了没

vcpkg装gdal报错了,然后我自己编译了一个gdal版本,但是没有放到环境变量里面

scially commented 2 years ago

如果是自己编译的,可参考 https://www.cnblogs.com/airscrat/p/14600967.html

CHCDST-SY commented 2 years ago

好的,谢谢

scially commented 2 years ago

那我先关闭问题。