查看: 3220|回复: 1

osgearth源码编译碰到问题,求高手指点

[复制链接]

该用户从未签到

发表于 2015-1-26 20:45:46 | 显示全部楼层 |阅读模式
我下载的是源码包,在进行osgearth的编译过程中,碰到如下问题(太多,全放在下面了)。我在论坛上也发现有人碰到同样的问题,给出的解决方法是:gdal的库没有添加进去。
本人做了如下的尝试:
1.是完全参照http://www.cnblogs.com/eaglezhao/archive/2011/09/26/2192389.html地址中osgearth的编译方法进行编译,并且版本都用的是连接中的老版本的支持库
2. gdal和geo的库都添加进ALL_BUILD项目属性中对应的目录,但是不能够添加 输入链接库(ALL_BUILD项目中,无法输入 链接库,只能设置包含和库目录)
3. 编译结束后,一共200个项目,能够成功184个,失败16个。

编译失败的错误如下:



2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALMajorObject::GetDescription(void)const " (?GetDescription@GDALMajorObject@@UBEPBDXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALMajorObject::GetDescription(void)const " (?GetDescription@GDALMajorObject@@UBEPBDXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALMajorObject::SetDescription(char const *)" (?SetDescription@GDALMajorObject@@UAEXPBD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALMajorObject::SetDescription(char const *)" (?SetDescription@GDALMajorObject@@UAEXPBD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char * * __thiscall GDALMajorObject::GetMetadata(char const *)" (?GetMetadata@GDALMajorObject@@UAEPAPADPBD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char * * __thiscall GDALMajorObject::GetMetadata(char const *)" (?GetMetadata@GDALMajorObject@@UAEPAPADPBD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALMajorObject::SetMetadata(char * *,char const *)" (?SetMetadata@GDALMajorObject@@UAE?AW4CPLErr@@PAPADPBD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALMajorObject::SetMetadata(char * *,char const *)" (?SetMetadata@GDALMajorObject@@UAE?AW4CPLErr@@PAPADPBD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALMajorObject::GetMetadataItem(char const *,char const *)" (?GetMetadataItem@GDALMajorObject@@UAEPBDPBD0@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALMajorObject::GetMetadataItem(char const *,char const *)" (?GetMetadataItem@GDALMajorObject@@UAEPBDPBD0@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALMajorObject::SetMetadataItem(char const *,char const *,char const *)" (?SetMetadataItem@GDALMajorObject@@UAE?AW4CPLErr@@PBD00@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALMajorObject::SetMetadataItem(char const *,char const *,char const *)" (?SetMetadataItem@GDALMajorObject@@UAE?AW4CPLErr@@PBD00@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALMajorObject::~GDALMajorObject(void)" (??1GDALMajorObject@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALMajorObject::`scalar deleting destructor'(unsigned int)" (??_GGDALMajorObject@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALMajorObject::~GDALMajorObject(void)" (??1GDALMajorObject@@UAE@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALDataset::IBuildOverviews(char const *,int,int *,int,int *,int (__stdcall*)(double,char const *,void *),void *)" (?IBuildOverviews@GDALDataset@@MAE?AW4CPLErr@@PBDHPAHH1P6GHN0PAX@Z2@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALDataset::IBuildOverviews(char const *,int,int *,int,int *,int (__stdcall*)(double,char const *,void *),void *)" (?IBuildOverviews@GDALDataset@@MAE?AW4CPLErr@@PBDHPAHH1P6GHN0PAX@Z2@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALDataset::IRasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int *,int,int,int)" (?IRasterIO@GDALDataset@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HPAHHHH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALDataset::IRasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int *,int,int,int)" (?IRasterIO@GDALDataset@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HPAHHHH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALDataset::FlushCache(void)" (?FlushCache@GDALDataset@@UAEXXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALDataset::FlushCache(void)" (?FlushCache@GDALDataset@@UAEXXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALDataset::GetProjectionRef(void)" (?GetProjectionRef@GDALDataset@@UAEPBDXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALDataset::GetProjectionRef(void)" (?GetProjectionRef@GDALDataset@@UAEPBDXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::SetProjection(char const *)" (?SetProjection@GDALDataset@@UAE?AW4CPLErr@@PBD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::SetProjection(char const *)" (?SetProjection@GDALDataset@@UAE?AW4CPLErr@@PBD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::GetGeoTransform(double *)" (?GetGeoTransform@GDALDataset@@UAE?AW4CPLErr@@PAN@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::GetGeoTransform(double *)" (?GetGeoTransform@GDALDataset@@UAE?AW4CPLErr@@PAN@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::SetGeoTransform(double *)" (?SetGeoTransform@GDALDataset@@UAE?AW4CPLErr@@PAN@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::SetGeoTransform(double *)" (?SetGeoTransform@GDALDataset@@UAE?AW4CPLErr@@PAN@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::AddBand(enum GDALDataType,char * *)" (?AddBand@GDALDataset@@UAE?AW4CPLErr@@W4GDALDataType@@PAPAD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::AddBand(enum GDALDataType,char * *)" (?AddBand@GDALDataset@@UAE?AW4CPLErr@@W4GDALDataType@@PAPAD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __thiscall GDALDataset::GetInternalHandle(char const *)" (?GetInternalHandle@GDALDataset@@UAEPAXPBD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __thiscall GDALDataset::GetInternalHandle(char const *)" (?GetInternalHandle@GDALDataset@@UAEPAXPBD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALDriver * __thiscall GDALDataset::GetDriver(void)" (?GetDriver@GDALDataset@@UAEPAVGDALDriver@@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALDriver * __thiscall GDALDataset::GetDriver(void)" (?GetDriver@GDALDataset@@UAEPAVGDALDriver@@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char * * __thiscall GDALDataset::GetFileList(void)" (?GetFileList@GDALDataset@@UAEPAPADXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char * * __thiscall GDALDataset::GetFileList(void)" (?GetFileList@GDALDataset@@UAEPAPADXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALDataset::GetGCPCount(void)" (?GetGCPCount@GDALDataset@@UAEHXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALDataset::GetGCPCount(void)" (?GetGCPCount@GDALDataset@@UAEHXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALDataset::GetGCPProjection(void)" (?GetGCPProjection@GDALDataset@@UAEPBDXZ)
2>Registry.obj : error LNK2019: 无法解析的外部符号 "public: virtual char const * __thiscall GDALDataset::GetGCPProjection(void)" (?GetGCPProjection@GDALDataset@@UAEPBDXZ),该符号在函数 "public: virtual __thiscall osgEarth:roxySettings::~ProxySettings(void)" (??1ProxySettings@osgEarth@@UAE@XZ) 中被引用
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct GDAL_GCP const * __thiscall GDALDataset::GetGCPs(void)" (?GetGCPs@GDALDataset@@UAEPBUGDAL_GCP@@XZ)
2>Registry.obj : error LNK2019: 无法解析的外部符号 "public: virtual struct GDAL_GCP const * __thiscall GDALDataset::GetGCPs(void)" (?GetGCPs@GDALDataset@@UAEPBUGDAL_GCP@@XZ),该符号在函数 "public: virtual __thiscall osgEarth::ProxySettings::~ProxySettings(void)" (??1ProxySettings@osgEarth@@UAE@XZ) 中被引用
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::SetGCPs(int,struct GDAL_GCP const *,char const *)" (?SetGCPs@GDALDataset@@UAE?AW4CPLErr@@HPBUGDAL_GCP@@PBD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::SetGCPs(int,struct GDAL_GCP const *,char const *)" (?SetGCPs@GDALDataset@@UAE?AW4CPLErr@@HPBUGDAL_GCP@@PBD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::AdviseRead(int,int,int,int,int,int,enum GDALDataType,int,int *,char * *)" (?AdviseRead@GDALDataset@@UAE?AW4CPLErr@@HHHHHHW4GDALDataType@@HPAHPAPAD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::AdviseRead(int,int,int,int,int,int,enum GDALDataType,int,int *,char * *)" (?AdviseRead@GDALDataset@@UAE?AW4CPLErr@@HHHHHHW4GDALDataType@@HPAHPAPAD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::CreateMaskBand(int)" (?CreateMaskBand@GDALDataset@@UAE?AW4CPLErr@@H@Z)
2>Registry.obj : error LNK2019: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALDataset::CreateMaskBand(int)" (?CreateMaskBand@GDALDataset@@UAE?AW4CPLErr@@H@Z),该符号在函数 __ehhandler$??1ProxySettings@osgEarth@@UAE@XZ 中被引用
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALAsyncReader * __thiscall GDALDataset::BeginAsyncReader(int,int,int,int,void *,int,int,enum GDALDataType,int,int *,int,int,int,char * *)" (?BeginAsyncReader@GDALDataset@@UAEPAVGDALAsyncReader@@HHHHPAXHHW4GDALDataType@@HPAHHHHPAPAD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALAsyncReader * __thiscall GDALDataset::BeginAsyncReader(int,int,int,int,void *,int,int,enum GDALDataType,int,int *,int,int,int,char * *)" (?BeginAsyncReader@GDALDataset@@UAEPAVGDALAsyncReader@@HHHHPAXHHW4GDALDataType@@HPAHHHHPAPAD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALDataset::EndAsyncReader(class GDALAsyncReader *)" (?EndAsyncReader@GDALDataset@@UAEXPAVGDALAsyncReader@@@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALDataset::EndAsyncReader(class GDALAsyncReader *)" (?EndAsyncReader@GDALDataset@@UAEXPAVGDALAsyncReader@@@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALDataset::~GDALDataset(void)" (??1GDALDataset@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALDataset::`scalar deleting destructor'(unsigned int)" (??_GGDALDataset@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALDataset::~GDALDataset(void)" (??1GDALDataset@@UAE@XZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALRasterBlock::~GDALRasterBlock(void)" (??1GDALRasterBlock@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALRasterBlock::`scalar deleting destructor'(unsigned int)" (??_GGDALRasterBlock@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALRasterBlock::~GDALRasterBlock(void)" (??1GDALRasterBlock@@UAE@XZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall GDALColorTable::GDALColorTable(enum GDALPaletteInterp)" (??0GDALColorTable@@QAE@W4GDALPaletteInterp@@@Z),该符号在函数 "public: void __thiscall GDALColorTable::`default constructor closure'(void)" (??_FGDALColorTable@@QAEXXZ) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall GDALColorTable::GDALColorTable(enum GDALPaletteInterp)" (??0GDALColorTable@@QAE@W4GDALPaletteInterp@@@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALRasterBand::IWriteBlock(int,int,void *)" (?IWriteBlock@GDALRasterBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALRasterBand::IWriteBlock(int,int,void *)" (?IWriteBlock@GDALRasterBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALRasterBand::IRasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int)" (?IRasterIO@GDALRasterBand@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALRasterBand::IRasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int)" (?IRasterIO@GDALRasterBand@@MAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::FlushCache(void)" (?FlushCache@GDALRasterBand@@UAE?AW4CPLErr@@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::FlushCache(void)" (?FlushCache@GDALRasterBand@@UAE?AW4CPLErr@@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char * * __thiscall GDALRasterBand::GetCategoryNames(void)" (?GetCategoryNames@GDALRasterBand@@UAEPAPADXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char * * __thiscall GDALRasterBand::GetCategoryNames(void)" (?GetCategoryNames@GDALRasterBand@@UAEPAPADXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetNoDataValue(int *)" (?GetNoDataValue@GDALRasterBand@@UAENPAH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetNoDataValue(int *)" (?GetNoDataValue@GDALRasterBand@@UAENPAH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetMinimum(int *)" (?GetMinimum@GDALRasterBand@@UAENPAH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetMinimum(int *)" (?GetMinimum@GDALRasterBand@@UAENPAH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetMaximum(int *)" (?GetMaximum@GDALRasterBand@@UAENPAH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetMaximum(int *)" (?GetMaximum@GDALRasterBand@@UAENPAH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetOffset(int *)" (?GetOffset@GDALRasterBand@@UAENPAH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetOffset(int *)" (?GetOffset@GDALRasterBand@@UAENPAH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetScale(int *)" (?GetScale@GDALRasterBand@@UAENPAH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall GDALRasterBand::GetScale(int *)" (?GetScale@GDALRasterBand@@UAENPAH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALRasterBand::GetUnitType(void)" (?GetUnitType@GDALRasterBand@@UAEPBDXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual char const * __thiscall GDALRasterBand::GetUnitType(void)" (?GetUnitType@GDALRasterBand@@UAEPBDXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum GDALColorInterp __thiscall GDALRasterBand::GetColorInterpretation(void)" (?GetColorInterpretation@GDALRasterBand@@UAE?AW4GDALColorInterp@@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum GDALColorInterp __thiscall GDALRasterBand::GetColorInterpretation(void)" (?GetColorInterpretation@GDALRasterBand@@UAE?AW4GDALColorInterp@@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALColorTable * __thiscall GDALRasterBand::GetColorTable(void)" (?GetColorTable@GDALRasterBand@@UAEPAVGDALColorTable@@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALColorTable * __thiscall GDALRasterBand::GetColorTable(void)" (?GetColorTable@GDALRasterBand@@UAEPAVGDALColorTable@@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::Fill(double,double)" (?Fill@GDALRasterBand@@UAE?AW4CPLErr@@NN@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::Fill(double,double)" (?Fill@GDALRasterBand@@UAE?AW4CPLErr@@NN@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetCategoryNames(char * *)" (?SetCategoryNames@GDALRasterBand@@UAE?AW4CPLErr@@PAPAD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetCategoryNames(char * *)" (?SetCategoryNames@GDALRasterBand@@UAE?AW4CPLErr@@PAPAD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetNoDataValue(double)" (?SetNoDataValue@GDALRasterBand@@UAE?AW4CPLErr@@N@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetNoDataValue(double)" (?SetNoDataValue@GDALRasterBand@@UAE?AW4CPLErr@@N@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetColorTable(class GDALColorTable *)" (?SetColorTable@GDALRasterBand@@UAE?AW4CPLErr@@PAVGDALColorTable@@@Z)
2>Registry.obj : error LNK2019: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetColorTable(class GDALColorTable *)" (?SetColorTable@GDALRasterBand@@UAE?AW4CPLErr@@PAVGDALColorTable@@@Z),该符号在函数 "public: virtual __thiscall osgEarth::HTTPResponse::~HTTPResponse(void)" (??1HTTPResponse@osgEarth@@UAE@XZ) 中被引用
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetColorInterpretation(enum GDALColorInterp)" (?SetColorInterpretation@GDALRasterBand@@UAE?AW4CPLErr@@W4GDALColorInterp@@@Z)
2>Registry.obj : error LNK2019: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetColorInterpretation(enum GDALColorInterp)" (?SetColorInterpretation@GDALRasterBand@@UAE?AW4CPLErr@@W4GDALColorInterp@@@Z),该符号在函数 "public: virtual __thiscall osgEarth::HTTPResponse::~HTTPResponse(void)" (??1HTTPResponse@osgEarth@@UAE@XZ) 中被引用
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetOffset(double)" (?SetOffset@GDALRasterBand@@UAE?AW4CPLErr@@N@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetOffset(double)" (?SetOffset@GDALRasterBand@@UAE?AW4CPLErr@@N@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetScale(double)" (?SetScale@GDALRasterBand@@UAE?AW4CPLErr@@N@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetScale(double)" (?SetScale@GDALRasterBand@@UAE?AW4CPLErr@@N@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetUnitType(char const *)" (?SetUnitType@GDALRasterBand@@UAE?AW4CPLErr@@PBD@Z)
2>Registry.obj : error LNK2019: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetUnitType(char const *)" (?SetUnitType@GDALRasterBand@@UAE?AW4CPLErr@@PBD@Z),该符号在函数 __ehhandler$??1HTTPResponse@osgEarth@@UAE@XZ 中被引用
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::GetStatistics(int,int,double *,double *,double *,double *)" (?GetStatistics@GDALRasterBand@@UAE?AW4CPLErr@@HHPAN000@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::GetStatistics(int,int,double *,double *,double *,double *)" (?GetStatistics@GDALRasterBand@@UAE?AW4CPLErr@@HHPAN000@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::ComputeStatistics(int,double *,double *,double *,double *,int (__stdcall*)(double,char const *,void *),void *)" (?ComputeStatistics@GDALRasterBand@@UAE?AW4CPLErr@@HPAN000P6GHNPBDPAX@Z2@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::ComputeStatistics(int,double *,double *,double *,double *,int (__stdcall*)(double,char const *,void *),void *)" (?ComputeStatistics@GDALRasterBand@@UAE?AW4CPLErr@@HPAN000P6GHNPBDPAX@Z2@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetStatistics(double,double,double,double)" (?SetStatistics@GDALRasterBand@@UAE?AW4CPLErr@@NNNN@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetStatistics(double,double,double,double)" (?SetStatistics@GDALRasterBand@@UAE?AW4CPLErr@@NNNN@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::ComputeRasterMinMax(int,double *)" (?ComputeRasterMinMax@GDALRasterBand@@UAE?AW4CPLErr@@HPAN@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::ComputeRasterMinMax(int,double *)" (?ComputeRasterMinMax@GDALRasterBand@@UAE?AW4CPLErr@@HPAN@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALRasterBand::HasArbitraryOverviews(void)" (?HasArbitraryOverviews@GDALRasterBand@@UAEHXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALRasterBand::HasArbitraryOverviews(void)" (?HasArbitraryOverviews@GDALRasterBand@@UAEHXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALRasterBand::GetOverviewCount(void)" (?GetOverviewCount@GDALRasterBand@@UAEHXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALRasterBand::GetOverviewCount(void)" (?GetOverviewCount@GDALRasterBand@@UAEHXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALRasterBand::GetOverview(int)" (?GetOverview@GDALRasterBand@@UAEPAV1@H@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALRasterBand::GetOverview(int)" (?GetOverview@GDALRasterBand@@UAEPAV1@H@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALRasterBand::GetRasterSampleOverview(int)" (?GetRasterSampleOverview@GDALRasterBand@@UAEPAV1@H@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALRasterBand::GetRasterSampleOverview(int)" (?GetRasterSampleOverview@GDALRasterBand@@UAEPAV1@H@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::BuildOverviews(char const *,int,int *,int (__stdcall*)(double,char const *,void *),void *)" (?BuildOverviews@GDALRasterBand@@UAE?AW4CPLErr@@PBDHPAHP6GHN0PAX@Z2@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::BuildOverviews(char const *,int,int *,int (__stdcall*)(double,char const *,void *),void *)" (?BuildOverviews@GDALRasterBand@@UAE?AW4CPLErr@@PBDHPAHP6GHN0PAX@Z2@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::AdviseRead(int,int,int,int,int,int,enum GDALDataType,char * *)" (?AdviseRead@GDALRasterBand@@UAE?AW4CPLErr@@HHHHHHW4GDALDataType@@PAPAD@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::AdviseRead(int,int,int,int,int,int,enum GDALDataType,char * *)" (?AdviseRead@GDALRasterBand@@UAE?AW4CPLErr@@HHHHHHW4GDALDataType@@PAPAD@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::GetHistogram(double,double,int,int *,int,int,int (__stdcall*)(double,char const *,void *),void *)" (?GetHistogram@GDALRasterBand@@UAE?AW4CPLErr@@NNHPAHHHP6GHNPBDPAX@Z2@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::GetHistogram(double,double,int,int *,int,int,int (__stdcall*)(double,char const *,void *),void *)" (?GetHistogram@GDALRasterBand@@UAE?AW4CPLErr@@NNHPAHHHP6GHNPBDPAX@Z2@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::GetDefaultHistogram(double *,double *,int *,int * *,int,int (__stdcall*)(double,char const *,void *),void *)" (?GetDefaultHistogram@GDALRasterBand@@UAE?AW4CPLErr@@PAN0PAHPAPAHHP6GHNPBDPAX@Z4@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::GetDefaultHistogram(double *,double *,int *,int * *,int,int (__stdcall*)(double,char const *,void *),void *)" (?GetDefaultHistogram@GDALRasterBand@@UAE?AW4CPLErr@@PAN0PAHPAPAHHP6GHNPBDPAX@Z4@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetDefaultHistogram(double,double,int,int *)" (?SetDefaultHistogram@GDALRasterBand@@UAE?AW4CPLErr@@NNHPAH@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetDefaultHistogram(double,double,int,int *)" (?SetDefaultHistogram@GDALRasterBand@@UAE?AW4CPLErr@@NNHPAH@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterAttributeTable const * __thiscall GDALRasterBand::GetDefaultRAT(void)" (?GetDefaultRAT@GDALRasterBand@@UAEPBVGDALRasterAttributeTable@@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterAttributeTable const * __thiscall GDALRasterBand::GetDefaultRAT(void)" (?GetDefaultRAT@GDALRasterBand@@UAEPBVGDALRasterAttributeTable@@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetDefaultRAT(class GDALRasterAttributeTable const *)" (?SetDefaultRAT@GDALRasterBand@@UAE?AW4CPLErr@@PBVGDALRasterAttributeTable@@@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::SetDefaultRAT(class GDALRasterAttributeTable const *)" (?SetDefaultRAT@GDALRasterBand@@UAE?AW4CPLErr@@PBVGDALRasterAttributeTable@@@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALRasterBand::GetMaskBand(void)" (?GetMaskBand@GDALRasterBand@@UAEPAV1@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALRasterBand::GetMaskBand(void)" (?GetMaskBand@GDALRasterBand@@UAEPAV1@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALRasterBand::GetMaskFlags(void)" (?GetMaskFlags@GDALRasterBand@@UAEHXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALRasterBand::GetMaskFlags(void)" (?GetMaskFlags@GDALRasterBand@@UAEHXZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::CreateMaskBand(int)" (?CreateMaskBand@GDALRasterBand@@UAE?AW4CPLErr@@H@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual enum CPLErr __thiscall GDALRasterBand::CreateMaskBand(int)" (?CreateMaskBand@GDALRasterBand@@UAE?AW4CPLErr@@H@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALRasterBand::~GDALRasterBand(void)" (??1GDALRasterBand@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALRasterBand::`scalar deleting destructor'(unsigned int)" (??_GGDALRasterBand@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALRasterBand::~GDALRasterBand(void)" (??1GDALRasterBand@@UAE@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALAllValidMaskBand::IReadBlock(int,int,void *)" (?IReadBlock@GDALAllValidMaskBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALAllValidMaskBand::IReadBlock(int,int,void *)" (?IReadBlock@GDALAllValidMaskBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALAllValidMaskBand::GetMaskBand(void)" (?GetMaskBand@GDALAllValidMaskBand@@UAEPAVGDALRasterBand@@XZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual class GDALRasterBand * __thiscall GDALAllValidMaskBand::GetMaskBand(void)" (?GetMaskBand@GDALAllValidMaskBand@@UAEPAVGDALRasterBand@@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALAllValidMaskBand::GetMaskFlags(void)" (?GetMaskFlags@GDALAllValidMaskBand@@UAEHXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALAllValidMaskBand::GetMaskFlags(void)" (?GetMaskFlags@GDALAllValidMaskBand@@UAEHXZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALAllValidMaskBand::~GDALAllValidMaskBand(void)" (??1GDALAllValidMaskBand@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALAllValidMaskBand::`scalar deleting destructor'(unsigned int)" (??_GGDALAllValidMaskBand@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALAllValidMaskBand::~GDALAllValidMaskBand(void)" (??1GDALAllValidMaskBand@@UAE@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALNoDataMaskBand::IReadBlock(int,int,void *)" (?IReadBlock@GDALNoDataMaskBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALNoDataMaskBand::IReadBlock(int,int,void *)" (?IReadBlock@GDALNoDataMaskBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALNoDataMaskBand::~GDALNoDataMaskBand(void)" (??1GDALNoDataMaskBand@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALNoDataMaskBand::`scalar deleting destructor'(unsigned int)" (??_GGDALNoDataMaskBand@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALNoDataMaskBand::~GDALNoDataMaskBand(void)" (??1GDALNoDataMaskBand@@UAE@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALNoDataValuesMaskBand::IReadBlock(int,int,void *)" (?IReadBlock@GDALNoDataValuesMaskBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "protected: virtual enum CPLErr __thiscall GDALNoDataValuesMaskBand::IReadBlock(int,int,void *)" (?IReadBlock@GDALNoDataValuesMaskBand@@MAE?AW4CPLErr@@HHPAX@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALNoDataValuesMaskBand::~GDALNoDataValuesMaskBand(void)" (??1GDALNoDataValuesMaskBand@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALNoDataValuesMaskBand::`scalar deleting destructor'(unsigned int)" (??_GGDALNoDataValuesMaskBand@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALNoDataValuesMaskBand::~GDALNoDataValuesMaskBand(void)" (??1GDALNoDataValuesMaskBand@@UAE@XZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALDriver::~GDALDriver(void)" (??1GDALDriver@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALDriver::`scalar deleting destructor'(unsigned int)" (??_GGDALDriver@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALDriver::~GDALDriver(void)" (??1GDALDriver@@UAE@XZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALDriverManager::~GDALDriverManager(void)" (??1GDALDriverManager@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALDriverManager::`scalar deleting destructor'(unsigned int)" (??_GGDALDriverManager@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALDriverManager::~GDALDriverManager(void)" (??1GDALDriverManager@@UAE@XZ)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALAsyncReader:ockBuffer(double)" (?LockBuffer@GDALAsyncReader@@UAEHN@Z)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall GDALAsyncReader::LockBuffer(double)" (?LockBuffer@GDALAsyncReader@@UAEHN@Z)
2>GeoData.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALAsyncReader::UnlockBuffer(void)" (?UnlockBuffer@GDALAsyncReader@@UAEXXZ)
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall GDALAsyncReader::UnlockBuffer(void)" (?UnlockBuffer@GDALAsyncReader@@UAEXXZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALAsyncReader::~GDALAsyncReader(void)" (??1GDALAsyncReader@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALAsyncReader::`scalar deleting destructor'(unsigned int)" (??_GGDALAsyncReader@@UAEPAXI@Z) 中被引用
2>Registry.obj : error LNK2001: 无法解析的外部符号 "public: virtual __thiscall GDALAsyncReader::~GDALAsyncReader(void)" (??1GDALAsyncReader@@UAE@XZ)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALWarpKernel::~GDALWarpKernel(void)" (??1GDALWarpKernel@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALWarpKernel::`scalar deleting destructor'(unsigned int)" (??_GGDALWarpKernel@@UAEPAXI@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall GDALWarpOperation::~GDALWarpOperation(void)" (??1GDALWarpOperation@@UAE@XZ),该符号在函数 "public: virtual void * __thiscall GDALWarpOperation::`scalar deleting destructor'(unsigned int)" (??_GGDALWarpOperation@@UAEPAXI@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall OGR_SRSNode::OGR_SRSNode(char const *)" (??0OGR_SRSNode@@QAE@PBD@Z),该符号在函数 "public: void __thiscall OGR_SRSNode::`default constructor closure'(void)" (??_FOGR_SRSNode@@QAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall OGR_SRSNode::OGR_SRSNode(char const *)" (??0OGR_SRSNode@@QAE@PBD@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall OGRSpatialReference::OGRSpatialReference(char const *)" (??0OGRSpatialReference@@QAE@PBD@Z),该符号在函数 "public: void __thiscall OGRSpatialReference::`default constructor closure'(void)" (??_FOGRSpatialReference@@QAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2001: 无法解析的外部符号 "public: __thiscall OGRSpatialReference::OGRSpatialReference(char const *)" (??0OGRSpatialReference@@QAE@PBD@Z)
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: enum CPLErr __thiscall GDALDataset::RasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int *,int,int,int)" (?RasterIO@GDALDataset@@QAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HPAHHHH@Z),该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::createImageFromDataset(class GDALDataset *)" (?createImageFromDataset@?A0x621e3b03@@YAPAVImage@osg@@PAVGDALDataset@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: int __thiscall GDALDataset::GetRasterXSize(void)" (?GetRasterXSize@GDALDataset@@QAEHXZ),该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::createImageFromDataset(class GDALDataset *)" (?createImageFromDataset@?A0x621e3b03@@YAPAVImage@osg@@PAVGDALDataset@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: int __thiscall GDALDataset::GetRasterYSize(void)" (?GetRasterYSize@GDALDataset@@QAEHXZ),该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::createImageFromDataset(class GDALDataset *)" (?createImageFromDataset@?A0x621e3b03@@YAPAVImage@osg@@PAVGDALDataset@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: class GDALRasterBand * __thiscall GDALDataset::GetRasterBand(int)" (?GetRasterBand@GDALDataset@@QAEPAVGDALRasterBand@@H@Z),该符号在函数 "class GDALDataset * __cdecl `anonymous namespace'::createMemDS(int,int,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createMemDS@?A0x621e3b03@@YAPAVGDALDataset@@HHNNNNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: class GDALDataset * __thiscall GDALDriver::Create(char const *,int,int,int,enum GDALDataType,char * *)" (?Create@GDALDriver@@QAEPAVGDALDataset@@PBDHHHW4GDALDataType@@PAPAD@Z),该符号在函数 "class GDALDataset * __cdecl `anonymous namespace'::createMemDS(int,int,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createMemDS@?A0x621e3b03@@YAPAVGDALDataset@@HHNNNNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 _GDALGetDriverByName@4,该符号在函数 "class GDALDataset * __cdecl `anonymous namespace'::createMemDS(int,int,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createMemDS@?A0x621e3b03@@YAPAVGDALDataset@@HHNNNNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 "public: enum CPLErr __thiscall GDALRasterBand::RasterIO(enum GDALRWFlag,int,int,int,int,void *,int,int,enum GDALDataType,int,int)" (?RasterIO@GDALRasterBand@@QAE?AW4CPLErr@@W4GDALRWFlag@@HHHHPAXHHW4GDALDataType@@HH@Z),该符号在函数 "class GDALDataset * __cdecl `anonymous namespace'::createDataSetFromImage(class osg::Image const *,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createDataSetFromImage@?A0x621e3b03@@YAPAVGDALDataset@@PBVImage@osg@@NNNNABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 _GDALReprojectImage@48,该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::reprojectImage(class osg::Image *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,int,int,bool)" (?reprojectImage@?A0x621e3b03@@YAPAVImage@osg@@PAV23@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NNNN1NNNNHH_N@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 _GDALDestroyGenImgProjTransformer,该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::reprojectImage(class osg::Image *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,int,int,bool)" (?reprojectImage@?A0x621e3b03@@YAPAVImage@osg@@PAV23@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NNNN1NNNNHH_N@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 _GDALSuggestedWarpOutput2@32,该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::reprojectImage(class osg::Image *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,int,int,bool)" (?reprojectImage@?A0x621e3b03@@YAPAVImage@osg@@PAV23@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NNNN1NNNNHH_N@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 _GDALGenImgProjTransform,该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::reprojectImage(class osg::Image *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,int,int,bool)" (?reprojectImage@?A0x621e3b03@@YAPAVImage@osg@@PAV23@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NNNN1NNNNHH_N@Z) 中被引用
2>GeoData.obj : error LNK2019: 无法解析的外部符号 _GDALCreateGenImgProjTransformer,该符号在函数 "class osg::Image * __cdecl `anonymous namespace'::reprojectImage(class osg::Image *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double,double,int,int,bool)" (?reprojectImage@?A0x621e3b03@@YAPAVImage@osg@@PAV23@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@NNNN1NNNNHH_N@Z) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_easy_getinfo,该符号在函数 "__int64 __cdecl osgEarth::getCurlFileTime(void *)" (?getCurlFileTime@osgEarth@@YA_JPAX@Z) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_easy_setopt,该符号在函数 "private: void __thiscall osgEarth::HTTPClient::initializeImpl(void)" (?initializeImpl@HTTPClient@osgEarth@@AAEXXZ) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_easy_init,该符号在函数 "private: void __thiscall osgEarth::HTTPClient::initializeImpl(void)" (?initializeImpl@HTTPClient@osgEarth@@AAEXXZ) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_easy_cleanup,该符号在函数 "public: virtual __thiscall osgEarth::HTTPClient::~HTTPClient(void)" (??1HTTPClient@osgEarth@@UAE@XZ) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_global_init,该符号在函数 "public: static void __cdecl osgEarth::HTTPClient::globalInit(void)" (?globalInit@HTTPClient@osgEarth@@SAXXZ) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_slist_free_all,该符号在函数 "private: class osgEarth::HTTPResponse __thiscall osgEarth::HTTPClient::doGet(class osgEarth::HTTPRequest const &,class osgDB::Options const *,class osgEarth::ProgressCallback *)const " (?doGet@HTTPClient@osgEarth@@ABE?AVHTTPResponse@2@ABVHTTPRequest@2@PBVOptions@osgDB@@PAVProgressCallback@2@@Z) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_easy_strerror,该符号在函数 "private: class osgEarth::HTTPResponse __thiscall osgEarth::HTTPClient::doGet(class osgEarth::HTTPRequest const &,class osgDB::Options const *,class osgEarth::ProgressCallback *)const " (?doGet@HTTPClient@osgEarth@@ABE?AVHTTPResponse@2@ABVHTTPRequest@2@PBVOptions@osgDB@@PAVProgressCallback@2@@Z) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_easy_perform,该符号在函数 "private: class osgEarth::HTTPResponse __thiscall osgEarth::HTTPClient::doGet(class osgEarth::HTTPRequest const &,class osgDB::Options const *,class osgEarth::ProgressCallback *)const " (?doGet@HTTPClient@osgEarth@@ABE?AVHTTPResponse@2@ABVHTTPRequest@2@PBVOptions@osgDB@@PAVProgressCallback@2@@Z) 中被引用
2>HTTPClient.obj : error LNK2019: 无法解析的外部符号 _curl_slist_append,该符号在函数 "private: class osgEarth::HTTPResponse __thiscall osgEarth::HTTPClient::doGet(class osgEarth::HTTPRequest const &,class osgDB::Options const *,class osgEarth::ProgressCallback *)const " (?doGet@HTTPClient@osgEarth@@ABE?AVHTTPResponse@2@ABVHTTPRequest@2@PBVOptions@osgDB@@PAVProgressCallback@2@@Z) 中被引用
2>Registry.obj : error LNK2019: 无法解析的外部符号 _CPLSetConfigOption@8,该符号在函数 "protected: __thiscall osgEarth::Registry::Registry(void)" (??0Registry@osgEarth@@IAE@XZ) 中被引用
2>Registry.obj : error LNK2019: 无法解析的外部符号 _GDALAllRegister@0,该符号在函数 "protected: __thiscall osgEarth::Registry::Registry(void)" (??0Registry@osgEarth@@IAE@XZ) 中被引用
2>Registry.obj : error LNK2019: 无法解析的外部符号 _OGRRegisterAll,该符号在函数 "protected: __thiscall osgEarth::Registry::Registry(void)" (??0Registry@osgEarth@@IAE@XZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRGetAttrValue@12,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl `anonymous namespace'::getOGRAttrValue(void *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,bool)" (?getOGRAttrValue@?A0x43655555@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAXABV23@H_N@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRDestroySpatialReference@4,该符号在函数 "private: static class osgEarth::SpatialReference * __cdecl osgEarth::SpatialReference::createFromPROJ4(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createFromPROJ4@SpatialReference@osgEarth@@CAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRImportFromProj4,该符号在函数 "private: static class osgEarth::SpatialReference * __cdecl osgEarth::SpatialReference::createFromPROJ4(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createFromPROJ4@SpatialReference@osgEarth@@CAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRNewSpatialReference@4,该符号在函数 "private: static class osgEarth::SpatialReference * __cdecl osgEarth::SpatialReference::createFromPROJ4(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createFromPROJ4@SpatialReference@osgEarth@@CAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRImportFromWkt,该符号在函数 "private: static class osgEarth::SpatialReference * __cdecl osgEarth::SpatialReference::createFromWKT(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createFromWKT@SpatialReference@osgEarth@@CAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OCTDestroyCoordinateTransformation@4,该符号在函数 "protected: virtual __thiscall osgEarth::SpatialReference::~SpatialReference(void)" (??1SpatialReference@osgEarth@@MAE@XZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRIsSame,该符号在函数 "protected: virtual bool __thiscall osgEarth::SpatialReference::_isEquivalentTo(class osgEarth::SpatialReference const *,bool)const " (?_isEquivalentTo@SpatialReference@osgEarth@@MBE_NPBV12@_N@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRCopyGeogCSFrom,该符号在函数 "public: class osgEarth::SpatialReference const * __thiscall osgEarth::SpatialReference::getGeographicSRS(void)const " (?getGeographicSRS@SpatialReference@osgEarth@@QBEPBV12@XZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OCTTransform@20,该符号在函数 "protected: bool __thiscall osgEarth::SpatialReference::transformXYPointArrays(double *,double *,unsigned int,class osgEarth::SpatialReference const *)const " (?transformXYPointArrays@SpatialReference@osgEarth@@IBE_NPAN0IPBV12@@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OCTNewCoordinateTransformation@8,该符号在函数 "protected: bool __thiscall osgEarth::SpatialReference::transformXYPointArrays(double *,double *,unsigned int,class osgEarth::SpatialReference const *)const " (?transformXYPointArrays@SpatialReference@osgEarth@@IBE_NPAN0IPBV12@@Z) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRExportToWkt@8,该符号在函数 "protected: virtual void __thiscall osgEarth::SpatialReference::_init(void)" (?_init@SpatialReference@osgEarth@@MAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OGRFree,该符号在函数 "protected: virtual void __thiscall osgEarth::SpatialReference::_init(void)" (?_init@SpatialReference@osgEarth@@MAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRExportToProj4@8,该符号在函数 "protected: virtual void __thiscall osgEarth::SpatialReference::_init(void)" (?_init@SpatialReference@osgEarth@@MAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRGetSemiMinor,该符号在函数 "protected: virtual void __thiscall osgEarth::SpatialReference::_init(void)" (?_init@SpatialReference@osgEarth@@MAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRGetSemiMajor,该符号在函数 "protected: virtual void __thiscall osgEarth::SpatialReference::_init(void)" (?_init@SpatialReference@osgEarth@@MAEXXZ) 中被引用
2>SpatialReference.obj : error LNK2019: 无法解析的外部符号 _OSRIsGeographic,该符号在函数 "protected: virtual void __thiscall osgEarth::SpatialReference::_init(void)" (?_init@SpatialReference@osgEarth@@MAEXXZ) 中被引用
2>F:\OSG\OSG\osgearth-2\lib\Debug\osgEarthd.dll : fatal error LNK1120: 125 个无法解析的外部命令

该用户从未签到

 楼主| 发表于 2015-1-27 16:01:41 | 显示全部楼层
问题自己解决了,是对于VS解决方案中all_build和子项目之间的关系没有搞清楚,
解决的方法是,找到生成失败的项目,添加链接库,输入, gdal.lib, gdal_i.lib,ogr.lib
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表