Visual C ++ 2017社区,MSB6006 CL.exe错误 [英] Visual C++ 2017 Community, MSB6006 CL.exe error

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

问题描述

我目前在使用VS 2017 for C ++时遇到了构建错误。我从这个网站下载了visual studio安装程序:
$


下载| Visual Studio官方网站



我安装了使用C ++和Universal Windows平台开发的桌面开发。我目前正在使用Windows 7 64位。我尝试在另一个Windows 7 64位上运行VS 2017并且程序运行但崩溃。



我在c ++中尝试了一个简单的hello world代码并且它没有正确构建。它似乎无法在调试文件夹中创建或找到.exe文件,因为它无法构建它。


我点击了文件>创建了一个新项目。新>项目>一般>空项目。 VS仅在2周内发布,所以我不确定是否应该使用早期版本。


我有一些截图但无法上传他们......显然我的帐户未经过验证?

解决方案

您好DenverXDXDXD,


欢迎来到MSDN论坛。


我在C ++中尝试了一个简单的hello world代码,但无法重现你的问题,它构建正确。


为了重现此问题,请与我们分享有关此问题的更多信息?例如,输出窗口中的详细构建错误,创建项目的详细步骤。更多详细信息将帮助我解决此问题。除此之外,
您在没有任何修改的情况下创建新C ++项目并在另一个Windows 7 64上构建它的结果是什么?感谢。


I've currently been having build errors with VS 2017 for C++. I downloaded the visual studio installer from this website:

Downloads | Visual Studio Official Site

I installed Desktop development with C++ and Universal windows platform development. I am currently using a windows 7 64 bit. I tried running VS 2017 on another windows 7 64 bit and the program ran but crashed.

I tried a simple hello world code in c++ and it did not build properly. It didn't seem to be able to create or find the .exe file in the debug folder probably because it couldn't build it.

I made a new project by clicking file > new > project > General > empty project. VS was released only 2 weeks so Im not sure if I should use an earlier version .

I have some screenshots but not able to upload them ... apparently my account is not verified?? 

解决方案

Hi DenverXDXDXD,

Welcome to MSDN forum.

I have tried a simple hello world code in C++ but could not reproduce your issue, it build properly.

In order to reproduce this issue, would you please share us more information about this issue? Such as, the detail build error in the output window, the detail steps to create the project. More detail information will help me to resolve this issue. Besides, what is the result that you create a new C++ project without any modification and build it on the another windows 7 64? Thanks.


这篇关于Visual C ++ 2017社区,MSB6006 CL.exe错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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