slf 发表于 2016-12-18 16:08:33

编译osgEarth问题

请问各位大咖,有人知道以下问题怎么解决吗?
错误        1        error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALNoDataMaskBand::IRasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int)" (?IRasterIO@GDALNoDataMaskBand@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HH@Z)        C:\osgearth-build\src\osgEarth\GeoData.obj    osgEarth


错误        2        error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALNoDataMaskBand::IRasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int)" (?IRasterIO@GDALNoDataMaskBand@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HH@Z)        C:\osgearth-build\src\osgEarth\Registry.obj        osgEarth

slf 发表于 2016-12-18 16:21:40

问题解决了,连接库gdal.lib的版本没有没弄对!弄对就好了
页: [1]
查看完整版本: 编译osgEarth问题