找回密码
 加入FG

QQ登录

只需一步,快速开始

搜索
查看: 7271|回复: 4

flightgear编译时 报连接错误 麻烦高手帮我分析下什么原因?谢谢

[复制链接]
发表于 2013-9-1 13:58:44 | 显示全部楼层 |阅读模式

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 *)"











发表于 2013-9-1 22:24:00 | 显示全部楼层
重新编译下sim库!
回复

使用道具 举报

发表于 2013-11-13 23:45:01 | 显示全部楼层
SimGearCored.lib SimGearScened.lib这是Debug版本的库,对SimGear的Release进行编译和make install 后,会生成SimGearCore.lib SimGearScene.lib两个release库,然后再更改link的名称就可以了

回复

使用道具 举报

发表于 2014-10-13 13:47:49 | 显示全部楼层
看来应该是库的问题,我第一次也没成功,后来搞定啦
回复

使用道具 举报

发表于 2015-2-2 21:02:25 | 显示全部楼层
这个是缺Plib库,重新编译Plib,然后放到第三方库离去
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入FG

本版积分规则

QQ|小黑屋|手机版|联系我们|FlightGear ( 吉ICP备19002044号-7 )

GMT+8, 2025-8-11 18:40

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表