Visual Studio 2017新增功能 - LNK2019错误 - 请帮助 [英] New To Visual Studio 2017 - LNK2019 Error - Assistance Please
问题描述
我需要帮助解决以下错误,"LNK2019未解析的外部符号_main在函数中引用"int __cdecl invoke_main(void)"
I need assistance resolving the following error, "LNK2019 unresolved external symbol _main referenced in function "int __cdecl invoke_main(void)"
我收到了它构建Windows桌面C ++演练的位置:不能包含链接,但网页标题为"演练:创建传统的Windows桌面应用程序(C ++) "。
I received it building the Windows Desktop C++ walkthrough located: Can't include link but web page is titled, "Walkthrough: Create a traditional Windows Desktop application (C++)".
推荐答案
这是你的第一个VC ++项目吗? (恭喜!)
Is this your first VC++ project? (congratulations!)
你有没有 已安装"桌面"带VS2017的C ++工具包?它未在默认安装中选中,需要明确勾选。
Have you installed "desktop" C++ toolkit with VS2017? It is not selected in the default installation, need to tick it explicitly.
- pa
-- pa
这篇关于Visual Studio 2017新增功能 - LNK2019错误 - 请帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!