MS软件VS2015安装Qt VS Tools打开Qt Project文件(.pro)和Debug(F5)或构建(Rebuild solution),然后cpmpile错误MSB8020 [英] MS software VS2015 install the Qt VS Tools open Qt Project file(.pro) and Debug(F5) or build(Rebuild solution),then cpmpile error MSB8020

查看:539
本文介绍了MS软件VS2015安装Qt VS Tools打开Qt Project文件(.pro)和Debug(F5)或构建(Rebuild solution),然后cpmpile错误MSB8020的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:

       作为 标题写,我会简短!

        As  the title write,I'll be brief!

       我知道我们可以选择更正项目属性并设置配置属性 - regualr-Platform工具集:更改为"Visual Studio 2015(v140)",确保配置!!

        I know that we can chose to correct the project attribute and set Configuration properties-regualr-Platform Tools set :change to "Visual Studio 2015(v140)",make sure the configuration!!

       经过这些配置,Debug(F5)或build(Rebuild solution)编译错误:LNK1158无法运行"rc.exe",请按照net资源将WINSDK rc.exe和rcdll.dll文件复制到该文件夹​​中(c: \Program Files(x86)\ microsoft
Visual Studio 14.0\VC\bin ),但我发现编译错误仍然存​​在!

       After these configuration,Debug(F5) or build(Rebuild solution) compile error:LNK1158 cannot run "rc.exe",Follow the net resource to copy WINSDK rc.exe and rcdll.dll file to the folder (c:\Program Files(x86)\Microsoft Visual Studio 14.0\VC\bin),but I found the compile error is still exist!!!

推荐答案

您好hugh.hu,

Hi hugh.hu,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

根据您的描述,我在我这边重现了这个问题。似乎文件不在系统环境中,调试器无法正常调用它。

According to your description, I reproduce this issue in my side. It seems that the files is not in the system environment, and the debugger could not call it normally.

请按照以下步骤操作:

#1 ,添加目录" C:\ Program Files(x86)\ Windows Kits \8.1 \bin \ x86 "在路径环境中。

#1, add the directory"C:\Program Files (x86)\Windows Kits\8.1\bin\x86" in the Path environment.

注意:通过在任务栏中搜索打开高级系统设置>>单击环境变量>>在Syetem变量中编辑路径>>单击New,然后添加目录。

Note: open advanced system settings by search in the taskbar >> click Environment Variables >> edit path in the Syetem Variables >> click New,then add the directory.

#2 ,在
....中找到rc.exe和rcdll.dll文件。 .. \\\\\ x86文件夹
,然后将其复制到  C:\Program Files(x86)\ Microsoft Visual Studio 14.0 \\ \\ _VC \ bin 文件夹

#2, find the rc.exe and rcdll.dll file in the ......\8.1\bin\x86 folder, then copy it to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin folder

然后问题在我身边解决了。

Then the issue is solved in my side.

希望它可以帮到你。任何反馈都是预期的。

Hope it can help you. Any feedback will be expected.

最好的问候,

Dylan


这篇关于MS软件VS2015安装Qt VS Tools打开Qt Project文件(.pro)和Debug(F5)或构建(Rebuild solution),然后cpmpile错误MSB8020的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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