当前位置:网站首页>[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]所创,转载请带上原文链接,感谢
边栏推荐
猜你喜欢

Raspberry pie drum set WiFi

Bartender2021实现安全远程标签打印,年终全新发布

编码风格:Mvc模式下SSM环境,代码分层管理

Only options request is sent, no post solution is sent

利用尾巴作为时间序列进行处理来识别鲸鱼

On fedlearner, the latest open source federated machine learning platform of byte

港股上市公司移卡收购创信众42.5%股权 谋划加快营销服务布局

Overview of the most complete anomaly detection algorithm in history

CSDN BUG1: to be added

Filezilla server配置FTP服务器中的各种问题与解决方法
随机推荐
CSDN bug10: to be added
CSDN bug4: to be added
csdn bug9:待加
【LeetCode】 93 平衡二叉树
Mongodb index management of distributed document storage database
Wu Enda's refining notes on machine learning 4: basis of neural network - Zhihu
After seven years of pursuing, nearly one billion US dollars of bitcoin was eventually confiscated and confiscated by the US government
《Python Cookbook 3rd》笔记(2.2):字符串开头或结尾匹配
ASP.NET Core framework revealed [blog Summary - continuous update]
奸商加价销售mate40,小米可望在高端手机市场夺取更多市场
分布式文档存储数据库之MongoDB索引管理
接缝雕刻算法:一种看似不可能的图像大小调整方法
[paper reading notes] a multilayered informational random walk for attributed social network embedding
Difficulties in heterogeneous middleware implementation of Bifrost site management (1)
Incomplete Polyfill of proxy
Seam engraving algorithm: a seemingly impossible image size adjustment method
安卓快速关机APP
What's the difference between delete, truncate, and drop, and what to do if you delete data by mistake
[leetcode] 93 balanced binary tree
[leetcode] 92 integer inversion