当前位置:网站首页>[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]所创,转载请带上原文链接,感谢
边栏推荐
- 消防知识线上答题活动小程序复盘
- 从零开始学习 YoMo 系列教程:开篇
- gnu汇编-基本数学方程-乘法
- [paper reading notes] community oriented attributed network embedding
- Difficulties in heterogeneous middleware implementation of Bifrost site management (1)
- CSDN bug8: to be added
- The length of the last word in leetcode
- ServiceManagerProxy中mRemote变量指的什么?
- lodash.js Source code flatten
- Factory approach model
猜你喜欢
Gets the property value of a column in the list collection object
selenium webdriver使用click一直失效问题的几种解决方法
csdn bug7:待加
Learning from scratch YoMo series: Opening
Simple use of JMeter
Seam engraving algorithm: a seemingly impossible image size adjustment method
learning to Estimate 3D Hand Pose from Single RGB Images论文理解
接缝雕刻算法:一种看似不可能的图像大小调整方法
假如需要一百万个对象
Wu Enda's refining notes on machine learning 4: basis of neural network - Zhihu
随机推荐
Exception: invalid or unexpected token
What can I do if I can't register didi? How to deal with it?
CSDN bug11: to be added
Youtube订阅——解决在弹窗内使用Youtube订阅按钮高度显示不全的问题
Experiment 2
If you need a million objects
The solution of polar experience insensitive verification
初级工程师如何在职场生存
Gets the property value of a column in the list collection object
Use call, apply and bind to solve the annoying this in JS, this in event binding and parameter passing
lodash.js Source code flatten
坚持追查7年,近10亿美元比特币终被美国政府没收充公
pytorch训练GAN时的detach()
Several solutions to the problem that selenium webdriver always fails to use click
中央重点布局:未来 5 年,科技自立自强为先,这些行业被点名
js解决浏览器打印自动分页的问题
[论文阅读笔记] A Multilayered Informative Random Walk for Attributed Social Network Embedding
【操作教程 】国标GB28181协议安防视频平台EasyGBS订阅功能介绍及开启步骤
CSDN bug9: to be added
区块链论文集【三十一】