Visual Studio错误 [英] Visual Studio Errors

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

问题描述

我在Visual Studio中遇到问题.每当我尝试编译任何项目时,我都会遇到这两个错误.

I have a problem with visual studio. I get these two errors every time I try to compile any project.

有什么帮助我可以解决这个问题,还是应该重新安装它?

Any help how I could resolve this or should I just re-install it ?

错误LNK2019:未引用的外部符号 WinMain @ 16函数 __ tmainCRTStartup
错误LNK1120:1个未解决的外部设备

error LNK2019: unresolved external symbol WinMain@16 referenced in function__tmainCRTStartup
error LNK1120: 1 unresolved externals

推荐答案

我认为您需要对设置进行如下更改:

I think you need to do some changed in your setting like this:

项目属性-> C/C ++->链接器->系统->子系统:控制台(/SUBSYSTEM:CONSOLE)

Project properties -> C/C++ -> Linker -> System -> SubSystem: Console (/SUBSYSTEM:CONSOLE)

这篇关于Visual Studio错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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