x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Cannot generate project files using VS2015

Hello guys, like the title says I am unable to create a new c++ project. Here is the exception log:

 An error occurred while trying to generate project files.
 
 Running C:/Program Files/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/wewan/Documents/Unreal Projects/DBTB/DBTB.uproject" -game -rocket -progress
 Discovering modules, targets and source code for game...
 UnrealBuildTool Exception: System.IO.FileNotFoundException: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\../../VC/bin/amd64\cl.exe
    bei System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
    bei UnrealBuildTool.VCEnvironment.FindCLExeVersion(String CompilerExe)
    bei UnrealBuildTool.VCEnvironment..ctor(CPPTargetPlatform InPlatform)
    bei UnrealBuildTool.VCEnvironment.SetEnvironment(CPPTargetPlatform Platform)
    bei UnrealBuildTool.VCToolChain.GetVCIncludePaths(CPPTargetPlatform Platform)
    bei UnrealBuildTool.VCProjectFile.WriteProjectFile(List`1 InPlatforms, List`1 InConfigurations)
    bei UnrealBuildTool.ProjectFileGenerator.WriteProjectFiles()
    bei UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String[] Arguments, Boolean& bSuccess)
    bei UnrealBuildTool.UnrealBuildTool.GenerateProjectFiles(ProjectFileGenerator Generator, String[] Arguments)
    bei UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String[] Arguments)
 
 
 
Product Version: UE 4.10 Preview
Tags:
more ▼

asked Oct 18 '15 at 01:44 PM in Bug Reports

avatar image

3HMonkey
287 13 18 199

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Got the solution. "In Visual Studio 2015, C++ tooling is no longer installed by default".

FIX While hte installation of VS choose custom instead of typical. Select other programming languages. In this case Visual C++ -> Common Tools for Visual C++ 2015. If you already installed VS2015 you can just download the web installer and start the setup again to modify your installation.

Source: http://blogs.msdn.com/b/vcblog/archive/2015/07/24/setup-changes-in-visual-studio-2015-affecting-c-developers.aspx

alt text

EDIT: Another guy posted a question today where he was unable to install the common tools while he was using the express installer. You'll need at least the "Community Edition" of Visual Studio.

more ▼

answered Oct 19 '15 at 09:00 AM

avatar image

3HMonkey
287 13 18 199

avatar image virtualHC Oct 19 '15 at 08:04 PM

Thank you. I was trying to open a 4.9 project with 4.10 preview and getting the same error. Your solution worked.

avatar image kbit Nov 12 '15 at 07:09 PM

thanks. this also worked for me

UnrealBuildTool Exception: ERROR: Failed to find cl.exe in the default toolchain directory X:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools../../VC/bin/amd64\cl.exe. Please verify that "Common Tools for Visual C++ 2015" was selected when installing Visual Studio 2015.

avatar image AVA_fly Jun 06 '16 at 06:42 AM

It's useful for me, Thanks~

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

це працює! реккомедую.

more ▼

answered Feb 25 '16 at 07:59 PM

avatar image

progressive
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question