VS common error solution: error LNK2019: external symbols that cannot be parsed, common error lnk2019
When I used vs2015 for C ++ program development, I still reported the following error when I added header files and library files based on third-party information:
The information on the internet is basically caused by no library or header file added. I checked it many times and the header file and library I added are correct, what caused my program to be compiled. After a long tangle, I finally found the problem. Please read it carefully. I did not notice that I should select the platform when I added the header file and Library. The default platform on the property page is Win32, so I set the Win32 platform, while my computer is an x64 processor and system, even if my Win32 settings are correct, debugging fails.
After realizing this, I chose the x64 platform, re-added the header file and library, and then selected x64 compilation. This was successful.
This article is posted to save the time for troubleshooting for those who have the same experience later.