Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下编译问题 #28

Open
dengchaowen-cx opened this issue Aug 17, 2020 · 2 comments
Open

请教一下编译问题 #28

dengchaowen-cx opened this issue Aug 17, 2020 · 2 comments

Comments

@dengchaowen-cx
Copy link

您好 我用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
Copy link

Alexyali commented Sep 2, 2020

  • 修改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
  • 之后可以正常编译

@dengchaowen-cx
Copy link
Author

dengchaowen-cx commented Sep 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants