yuanrongxi / razor

A google's congestion Control Algorithm
MIT License
351 stars 152 forks source link

请教一下编译问题 #28

Open dengchaowen-cx opened 3 years ago

dengchaowen-cx commented 3 years ago

您好 我用vs2107编译报错 1>------ 已启动生成: 项目: sim_sender_test, 配置: Debug Win32 ------ 1>razor.lib(sender_congestion_controller.obj) : error LNK2019: 无法解析的外部符号 _cc_feedback_adapter_init,该符号在函数 _sender_cc_create 中被引用 1>razor.lib(sender_congestion_controller.obj) : error LNK2019: 无法解析的外部符号 _cc_feedback_adapter_destroy,该符号在函数 _sender_cc_destroy 中被引用 1>razor.lib(sender_congestion_controller.obj) : error LNK2019: 无法解析的外部符号 _cc_feedback_add_packet,该符号在函数 _sender_on_send_packet 中被引用 1>razor.lib(sender_congestion_controller.obj) : error LNK2019: 无法解析的外部符号 _cc_feedback_on_feedback,该符号在函数 _sender_on_feedback 中被引用 1>D:\razor\sim_test\sim_sender\Debug\sim_sender_test.exe : fatal error LNK1120: 4 个无法解析的外部命令 1>已完成生成项目“sim_sender.vcxproj”的操作 - 失败。 ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

Alexyali commented 3 years ago
dengchaowen-cx commented 3 years ago

好的 谢谢

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: wjhuang <notifications@github.com> 发送时间: 2020年9月2日 16:32 收件人: yuanrongxi/razor <razor@noreply.github.com> 抄送: dengchaowen-cx <1020443551@qq.com>, Author <author@noreply.github.com> 主题: 回复:[yuanrongxi/razor] 请教一下编译问题 (#28)

修改project/razor.vcxproj文件: Line 104 删除该行 <ClCompile Include="..\estimator\cc_feedback_adapter.h" /> Line 144 增加一行<CInclude Include="..\estimator\cc_feedback_adapter.h" />

打开sim_sender.sln,右键点击在界面右侧的razor模块,点击重新生成,此时生成新的razor.lib

之后可以正常编译

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.