- 首先安装Gi
# sudo apt-get install git
- 安装vcpkg
$ sudo git clone https://github.com/microsoft/vcpkg
$ ./vcpkg/bootstrap-vcpkg.sh
- 安装 osgEarth
./vcpkg/vcpkg install osgearth:x64-linux
4.构建osgEarth
(1)配置依赖
./vcpkg/vcpkg install osg:x64-windows gdal:x64-linux curl:x64-linux
(2)配置完整依赖
./vcpkg/vcpkg install sqlite3:x64-linux protobuf:x64-linux geos:x64-linux blend2d:x64-linux libwebp:x64-linux basisu:x64-linux draco:x64-linu