Visual Studio 2017新增功能 - LNK2019错误 - 请帮助 [英] New To Visual Studio 2017 - LNK2019 Error - Assistance Please

查看:83
本文介绍了Visual Studio 2017新增功能 - LNK2019错误 - 请帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助解决以下错误,"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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆