ue4 创建c++工程失败解决方案

来源:互联网 发布:mysql数据库命令行 编辑:程序博客网 时间:2024/06/05 03:11

最近开始学习UE4,创建c++工程的时候,发现在生产代码的时候,总会报错,折腾了好久,搜索很多,在ue论坛一个帖子中找到方法才解决。

我的环境是win10 ,UE4的引擎版本是4.11.2

先卸载以前安装的vs2015(下面外国友人提供了如何完整卸载vs2015的方法)

不用要vs2015 update3的版本,下载vs2015版本就行了

安装vs2015的时候,进入自定义选项,不要勾选update选项,否则会更新到update3的vs2015版本,然后勾选上vc++ common tools

然后重启电脑,重启ue新建c++工程(注意如果还是失败,出现win8.1SDK缺失错误,请自行安装win8.1sdk)

原帖地址:点击打开链接

解决回答,我复制过来,防止上面链接无法打开

-------------------------------------------------------------------------

Infected_Post Jun 29 '16 at 8:22 PM

Hi Guys,

apparently this problem is a bit more complicated than it seems. A colleague of mine update to update 3 before i could stop him and uninstalling the update didn't work. It probably left some stuff behind. Also i needed to do a fresh install on a new machine and found no update 1 or 2 versions for download.

So here is the solution i found for both cases:

  • Completely uninstall visual studio

  • Use the Extra visual studio uninstall cleaner. Found here:https://github.com/Microsoft/VisualStudioUninstaller/releases

  • Delete the remaining Visual Studio installation folder.

  • Do a restart and this machine should be ready for a clean installation

  • Download the Visual Studio 2015 installer without any updates: https://www.microsoft.com/en-us/download/details.aspx?id=48146

  • Now make sure you do a custom installation and deselect update 3!!!

  • Once the installation is finished you need to generate visual studio project files for your unreal projects.

Unfortunately I could not find a way to install update 1 or 2 at this point. But at least it works. Hope this is useful for some of you

原文链接:http://blog.csdn.net/yiye3376/article/details/52038796?_t_t_t=0.1984575530514121


0 0
原创粉丝点击