当前位置:网站首页>[technical course] peerconnection in webrtc self built by visual studio 2017_ The client program reported an external symbol error that LNK2019 could not resolve
[technical course] peerconnection in webrtc self built by visual studio 2017_ The client program reported an external symbol error that LNK2019 could not resolve
2020-11-10 08:53:00 【2k1cyjd】
We talked about it. TSINGSEE Qingxi video R & D team is working on webrtc Conduct research , Tried in Visual Studio 2017 build by oneself WebRTC in peerconnection_client Program . We have dealt with several problems of reporting errors , If you are interested, please have a look at .
After solving the previous problem , Let's compile... Again peerconnection_client Program , There will be all kinds of “LNK2019 Unresolved external symbols public:_thiscall xxxxxx(xxxxxx), The sign is in the function protected:void _thiscall xxxxxx(xxxxxx) Cited in ”; Causes the program to be unable to continue compiling .
To analyze problems
Using compiled window WebRTC The library of , Reference to header file , But there is no reference to third-party library files , So the newspaper “ Cannot parse external symbols ” error .
solve the problem
1、 It's usually good to configure the project properties . Add the directory of the corresponding library file in the library file directory of the project properties ( The connector -> Input -> Add the corresponding library file to the additional dependency ); But for WebRTC More library files are referenced , So open the compiled WebRTC Output file directory , And find peerconnection_client.ninja file , Open the file , Here's the picture , Find all (.lib file ), Add to vs The library file can be .
( The text is too long , Only a small fraction can be intercepted )
2、 There's another way , That is to say vs2017 Using preprocessing commands in #pragma comment(lib, “xxx.lib”); hold xxx Replace with the one you want to load lib file . The use of this command is not the ultimate goal , Because for WebRTC More library files are referenced , So it's a little cumbersome to write about , But this approach is the codeword version of the first solution , You can also try .
That's all for the compilation problem described above , Of course TSINGSE Qingxi video R & D team welcomes you to continue to discuss development issues with us . meanwhile , If you want to know more about video related solutions , Also welcome to contact us about .
版权声明
本文为[2k1cyjd]所创,转载请带上原文链接,感谢
边栏推荐
- Self writing performance testing tool (2)
- 中央重点布局:未来 5 年,科技自立自强为先,这些行业被点名
- Fire knowledge online answer activity small program
- Only options request is sent, no post solution is sent
- 关于centos启动报错:Failed to start Crash recovery kernel arming的解决方案
- ASP.NET Core框架揭秘[博文汇总-持续更新]
- Enter C abstract to understand the similarities and differences between abstract classes and interfaces
- 完美日记母公司逸仙电商招股书:重营销、轻研发,前三季度亏11亿
- 推动中国制造升级,汽车装配车间生产流水线3D可视化
- 寻找性能更优秀的不可变小字典
猜你喜欢
随机推荐
gnu汇编-基本数学方程-乘法
竞争性编程的思考:那些神话和令人震惊的事实[图]
Ineuos industrial interconnection platform, web configuration (ineuview) increases the function of importing and exporting engineering views, as well as optimization and repair. Release: v3.2.1
从零开始学习 YoMo 系列教程:开篇
一个名为不安全的类Unsafe
大专学历的我工作六年了,还有机会进大厂吗?
CSDN bug10: to be added
Coding style: SSM environment in MVC mode, code hierarchical management
CSDN bug9: to be added
CSDN BUG1: to be added
[paper reading notes] community oriented attributed network embedding
z-index属性详解
CSDN bug6: to be added
寻找性能更优秀的不可变小字典
Fire knowledge online answer activity small program
csdn bug1:待加
Simple use of JMeter
Filezilla server配置FTP服务器中的各种问题与解决方法
注册滴滴加不上车怎么办?要怎么处理?
[paper reading notes] large scale heterogeneous feature embedding