C++ LNK2019
时间: 2023-11-14 10:44:22 浏览: 48
LNK2019 is an error code that is associated with the Microsoft Visual C++ linker. It indicates that a reference to an external symbol in a source file or library is unresolved. This means that the linker was unable to find a definition for a symbol that was declared in the code.
There are several reasons why this error might occur. It could be due to an incorrect spelling of the symbol name, a missing library or object file, or a mismatch between the calling convention used in the declaration of the symbol and the one used in the definition.
To resolve this error, you should check the spelling of the symbol name and make sure that all required libraries and object files are included in the project. You may also need to adjust the calling convention used in the declaration of the symbol to match the one used in the definition.
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)