|
发表于 2015-7-7 17:51:04
|
显示全部楼层
2.6的包编译出来了,2.5的包 debug出现了这种问题> 正在创建库 E:/osgearth-osgearth-2.5/osgearth-osgearth-2.5/lib/Debug/osgEarthFeaturesd.lib 和对象 E:/osgearth-osgearth-2.5/osgearth-osgearth-2.5/lib/Debug/osgEarthFeaturesd.exp
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_DestroyGeometry,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl osgEarth::Features::GeometryUtils::geometryToWKT(class osgEarth::Symbology::Geometry *)" (?geometryToWKT@GeometryUtils@Features@osgEarth@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVGeometry@Symbology@3@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGRFree,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl osgEarth::Features::GeometryUtils::geometryToWKT(class osgEarth::Symbology::Geometry *)" (?geometryToWKT@GeometryUtils@Features@osgEarth@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVGeometry@Symbology@3@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_ExportToWkt,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl osgEarth::Features::GeometryUtils::geometryToWKT(class osgEarth::Symbology::Geometry *)" (?geometryToWKT@GeometryUtils@Features@osgEarth@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVGeometry@Symbology@3@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_ExportToJson,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl osgEarth::Features::GeometryUtils::geometryToGeoJSON(class osgEarth::Symbology::Geometry *)" (?geometryToGeoJSON@GeometryUtils@Features@osgEarth@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVGeometry@Symbology@3@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_ExportToKML,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl osgEarth::Features::GeometryUtils::geometryToKML(class osgEarth::Symbology::Geometry *)" (?geometryToKML@GeometryUtils@Features@osgEarth@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVGeometry@Symbology@3@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_ExportToGML,该符号在函数 "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl osgEarth::Features::GeometryUtils::geometryToGML(class osgEarth::Symbology::Geometry *)" (?geometryToGML@GeometryUtils@Features@osgEarth@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVGeometry@Symbology@3@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_ImportFromWkt,该符号在函数 "class osgEarth::Symbology::Geometry * __cdecl osgEarth::Features::GeometryUtils::geometryFromWKT(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?geometryFromWKT@GeometryUtils@Features@osgEarth@@YAPAVGeometry@Symbology@3@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用
1>GeometryUtils.obj : error LNK2019: 无法解析的外部符号 _OGR_G_CreateGeometry,该符号在函数 "class osgEarth::Symbology::Geometry * __cdecl osgEarth::Features::GeometryUtils::geometryFromWKT(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?geometryFromWKT@GeometryUtils@Features@osgEarth@@YAPAVGeometry@Symbology@3@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用
1>OgrUtils.obj : error LNK2001: 无法解析的外部符号 _OGR_G_CreateGeometry
但是release的没事。谁知道怎么解决啊 ? |
|