2 sinat 34293653 sinat_34293653 于 2017.01.13 13:29 提问

用VS2012编译VPB报错lnk2001 5C

编译VPB0.9.12时出现这种错误:
49 error LNK2005: "public: void __thiscall std::basic_ofstream >::`vbase destructor'(void)" (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in SpatialProperties.obj D:\OSG\VPB\VirtualPlanetBuilder-0.9.12\build\src\vpb\osgDB.lib(osg80-osgDB.dll) vpb
50 error LNK2001: unresolved external symbol _VSIFree D:\OSG\VPB\VirtualPlanetBuilder-0.9.12\build\src\vpb\System.obj vpb
51 error LNK2001: unresolved external symbol _VSIFree D:\OSG\VPB\VirtualPlanetBuilder-0.9.12\build\src\vpb\TextureUtils.obj vpb
105 error LNK2019: unresolved external symbol _CPLStrdup referenced in function "public: class CPLStringList & __thiscall CPLStringList::InsertString(int,char const *)" (?InsertString@CPLStringList@@QAEAAV1@HPBD@Z) D:\OSG\VPB\VirtualPlanetBuilder-0.9.12\build\src\vpb\BuildOptions.obj vpb
怎么办,好多方法都试了没有用啊,急

1个回答

caozhy
caozhy   Ds   Rxr 2017.01.13 23:51
sinat_34293653
sinat_34293653 试过了,还是报错
11 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!