Error occurred while I tried to generate C++ Project

Hello guys!

I tried to create a project using C++ but i get this message:

Running D:/Programe/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“D:/Programe/Fac. Informatica/Licenta/MyProject/MyProject.uproject” -game -rocket -progress
Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
Discovering modules, targets and source code for game…
UnrealBuildTool Exception: ERROR: Failed to find cl.exe in the default toolchain directory C:\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.

I have installed the program corectly and it’s original product. I don’t get where is the problem.

Kind regards,
Raul

Hey Raul9410-

If you run the VS2015 installer again it should prompt you to either “Repair” “Modify” or “Uninstall”. Select Modify and in the next screen find Common Tools near the bottom of the list. Check this box and continue through the modify process. Once this finishes you should be able to create projects normally.

Cheers

Thanks man, but I have same problem. First time worked, after I closed UDK and reopened, same problem.

I have a few other questions to help me understand what you’re seeing. Are you using the Binary version of the engine from the Launcher or a source built engine from GitHub? Are you creating a project with UE4 or UDK? Are you able to create a blueprint project and add code to it through the editor wizard?

I’m using Binary version of the engine from the Launcher. And what do you want to say with creating a project with UE4 or UDK? I don’t understand. And I didn’t try to create a blueprint project and add code to it through the editor wizard.

UDK is the previous version of the engine (UE3) and is no longer supported. If you are using the Epic Games Launcher that means you are on UE4 which his the current version of the engine. I was asking about a blueprint project to see if the problem you’re having is limited to creating a new project or if it is related to using code in general. Please let me know if you are able to create a blueprint project and add code to it. If you are having problems with this as well you may need to uninstall and re-install Visual Studio.

I am also getting this error in VS2015 when attempting to build my project. I have confirmed that I have the Common Tools installed.

I am using a binary engine from the launcher (4.10.1). The project is blueprint-only so far, and the reason I’m trying to build the project is because, though my team member can launch the project, I and one other team member are seeing an error when trying to open the project, “the following modules are missing or built with a different engine version” followed by the project module and two plugins. It fails to rebuild.

Hey lackthereof0-

If the project is purely blueprints then it is likely missing source files necessary for compiling. If you are using any form of source control it may be helpful to have someone who’s project is working properly submit the full project and then have those who are unable to open the project do a full sync to get the correct .dlls and other files.

Cheers

Hi ,

I actually found that i had NOT installed the C++ Common Files. In the installer, there is a section called Common Files, but the one I actually needed was buried in a sub-category! Once I found the C++ Common Files, my build worked.

Thanks,
Stu

I’m confused as to where everyone is finding this common files. During the express VS2015 installation there was no option to “custom install”. I couldn’t even select where the installation directory would be. The first time I installed, I found this thread and tried to reinstall. There was no “modify” option. Just “repair” and “uninstall”.

Nevermind, I tried Community version and it allows the custom install.

There are two common tools in modify now. You have to select the one under C++.

I am still getting that same “Verify that Common Tools is installed” message even though I’ve verified that both “Common Tools” checkboxes are checked in the Modify section of Visual Studio’s custom installation dialog.

It happens any time I try to create a new C++ class in any project. I’m new to Unreal. Can anyone help?

I am getting that same “Verify that Common Tools is installed” message even though I’ve verified that both “Common Tools” check boxes are checked in the Modify section of Visual Studio’s custom installation dialog.

I get this message in the log output any time I try to create a new C++ class in any project, even a brand new one with nothing in it. I’m on 4.12.5… Unreal pops up a dialog half way through trying to create a C++ class that says some resources failed to load. If I close the project, I get another error any time I try to open it again. I’m new to Unreal. Is this a common newb issue?

Hey TexasGreenTea-

Can you provide the full error shown in your output log as well as the error you receive when attempting to reopen the project? Are you creating a blueprint project or code based project? If you have been using a blueprint project, can you try creating a code project?

Figured it out. Not sure why the “Common Tools” under C++ section was falsely checked on when it actually wasn’t installed, but I was able to get it to display the correct value (false) by clearing my AppData cache as in the answer to this post:

After that, I went back into the Modify dialog, and the Common Tools check box under C++ was correctly check OFF. I checked it on and updated Visual Studio, and hallelujah! It works.

look this!

i try now!

Hey host83-

The major Update 3 issues were fixed in 4.12.4 with a QFE available for 4.11 (Current Available Quick-Fix Solutions - Announcements - Epic Developer Community Forums) . If you are running into issues using Update 3 / extensibility tools / UE4.15 (or any engine version after 4.12.4) then please create a new post with as much information about your issue to help us investigate the problem.

the problem is: if install visual studio extensibility tools update but you have version with update 3 , i think you need to disinstall adn install correct version with update 1, because in other post i’ve big problem with update 3