1. Select character set for project
2. Select debug information format
3. Configure linker
If it can’t be solved, try to click the following link:
1 https://blog.csdn.net/shakspers/article/details/78978017
https://blog.csdn.net/dayu9216/article/details/78454955