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

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

What does the mremote variable in servicemanagerproxy refer to?

csdn bug10:待加

C++ exception implementation mechanism

gnu汇编语言使用内联汇编 扩展asm

Seam engraving algorithm: a seemingly impossible image size adjustment method
![[论文阅读笔记] Community-oriented attributed network embedding](/img/17/1d1989945d943ca3cd2a2b8a5731de.jpg)
[论文阅读笔记] Community-oriented attributed network embedding

Use call, apply and bind to solve the annoying this in JS, this in event binding and parameter passing

工厂方法模式

浅谈字节最新开源联邦机器学习平台Fedlearner
随机推荐
The length of the last word in leetcode
CSDN bug4: to be added
For programmers, those unfamiliar and familiar computer hardware
leetcode1-两数之和
What's the difference between delete, truncate, and drop, and what to do if you delete data by mistake
Only options request is sent, no post solution is sent
实验2
pytorch训练GAN时的detach()
Bifrost 位点管理 之 异构中间件实现难点(1)
Learning from scratch YoMo series: Opening
What does the mremote variable in servicemanagerproxy refer to?
Overview of the most complete anomaly detection algorithm in history
[python学习手册-笔记]001.python前言
Hong Kong listed companies transfer cards to acquire 42.5% equity of chuangxinzhong and plan to speed up the distribution of marketing services
If you need a million objects
csdn bug5:待加
Connection to XXX could not be established. Broker may not be available
Getiservicemanager () source code analysis
CSDN bug7: to be added
Commodity management - merge purchase demand into purchase order