FlightGear飞行模拟器

标题: flightgear编译时 报连接错误 麻烦高手帮我分析下什么原因?谢谢 [打印本页]

作者: my5800mkk    时间: 2013-9-1 13:58
标题: flightgear编译时 报连接错误 麻烦高手帮我分析下什么原因?谢谢

flightgear编译时 报连接错误 麻烦高手帮我分析下什么原因?谢谢
依赖项已经加了
SimGearCored.libSimGearScened.lib
JSBSimd.lib
路径也没问题  不知还少什么库啊?

-------------------------------


1>property_list.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall puaList::puaList(int,int,int,int,short,int)" (??0puaList@@QAE@HHHHFH@Z),该符号在函数 "public: __thiscall PropertyList:ropertyList(int,int,int,int,class SGPropertyNode *)" (??0PropertyList@@QAE@HHHHPAVSGPropertyNode@@@Z) 中被引用
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_HELVETICA_18" (?PUFONT_HELVETICA_18@@3VpuFont@@A)
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_HELVETICA_10" (?PUFONT_HELVETICA_10@@3VpuFont@@A)
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_TIMES_ROMAN_24" (?PUFONT_TIMES_ROMAN_24@@3VpuFont@@A)
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_TIMES_ROMAN_10" (?PUFONT_TIMES_ROMAN_10@@3VpuFont@@A)
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_9_BY_15" (?PUFONT_9_BY_15@@3VpuFont@@A)
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_8_BY_13" (?PUFONT_8_BY_13@@3VpuFont@@A)
1>FGFontCache.obj : error LNK2001: 无法解析的外部符号 "class puFont PUFONT_HELVETICA_12" (?PUFONT_HELVETICA_12@@3VpuFont@@A)




1>SimGearScened.lib(sample_group.obj) : error LNK2019: 无法解析的外部符号 __imp__alSourcePause,该符号在函数 "public: void __thiscall SGSampleGroup::suspend(void)" (?suspend@SGSampleGroup@@QAEXXZ) 中被引用
1>SimGearScened.lib(sample_group.obj) : error LNK2019: 无法解析的外部符号 __imp__alSourcefv,该符号在函数 "private: void __thiscall SGSampleGroup::update_sample_config(class SGSoundSample *)" (?update_sample_config@SGSampleGroup@@AAEXPAVSGSoundSample@@@Z) 中被引用
1>SimGearScened.lib(readwav.obj) : error LNK2019: 无法解析的外部符号 _gzseek,该符号在函数 "bool __cdecl `anonymous namespace'::gzSkip(void *,int)" (?gzSkip@?A0xe9d1c5f2@@YA_NPAXH@Z) 中被引用
1>SimGearScened.lib(readwav.obj) : error LNK2019: 无法解析的外部符号 _gzeof,该符号在函数 "void __cdecl `anonymous namespace'::loadWavFile(void *,class A0xe9d1c5f2::Buffer *)" (?loadWavFile@?A0xe9d1c5f2@@YAXPAXPAVBuffer@1@@Z) 中被引用
1>SimGearCored.lib(lowlevel.obj) : error LNK2019: 无法解析的外部符号 _gzgetc,该符号在函数 "void __cdecl sgReadString(void *,char * *)" (?sgReadString@@YAXPAXPAPAD@Z) 中被引用
1>SimGearCored.lib(lowlevel.obj) : error LNK2019: 无法解析的外部符号 _gzputc,该符号在函数 "void __cdecl sgWriteString(void *,char const *)"












作者: freeyun    时间: 2013-9-1 22:24
重新编译下sim库!
作者: lindenq    时间: 2013-11-13 23:45
SimGearCored.lib SimGearScened.lib这是Debug版本的库,对SimGear的Release进行编译和make install 后,会生成SimGearCore.lib SimGearScene.lib两个release库,然后再更改link的名称就可以了


作者: huanjing2022    时间: 2014-10-13 13:47
看来应该是库的问题,我第一次也没成功,后来搞定啦
作者: sunfangyi    时间: 2015-2-2 21:02
这个是缺Plib库,重新编译Plib,然后放到第三方库离去




欢迎光临 FlightGear飞行模拟器 (https://www.flightgear.org.cn/) Powered by Discuz! X3.2