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"

Recieving Following error:The project could not be compiled. Would you like to open it in Visual Studio?

I just started with Unrea Editor and it told me to DL Visual Studio 17 which I did (Communtity Version licensed to me) When I tried to open a basic C++ within editor I recieve the following error: The project could not be compiled. Would you like to open it in Visual Studio?

 Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject2 Development Win64 -project="C:/Users/Cruise McClarren/Documents/Unreal Projects/MyProject2/MyProject2.uproject" -editorrecompile -progress -NoHotReloadFromIDE
 Performing full C++ include scan (building a new target)
 Creating makefile for MyProject2 (no existing makefile)
 Visual Studio 2017 is installed, but is missing the C++ toolchain. Please verify that the "VC++ 2017 toolset" component is selected in the Visual Studio 2017 installation options.
 @progress push 5%
 Parsing headers for MyProject2Editor
   Running UnrealHeaderTool "C:\Users\Cruise McClarren\Documents\Unreal Projects\MyProject2\MyProject2.uproject" "C:\Users\Cruise McClarren\Documents\Unreal Projects\MyProject2\Intermediate\Build\Win64\MyProject2Editor\Development\MyProject2Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
 Reflection code generated for MyProject2Editor in 11.2485554 seconds
 @progress pop
 ERROR: Visual Studio 2015 must be installed in order to build this target.

When I try to build it outside it won't let me. How do I resolve this?

Product Version: UE 4.16
Tags:
more ▼

asked May 29 '17 at 01:03 PM in C++ Programming

avatar image

Cruise_M21
1 1 2 1

avatar image Cruise_M21 May 29 '17 at 01:05 PM

When I choose to open in VS I reveive this error: Could not edit the code editing IDE. C:/Users/Cruise McClarren/Documents/Unreal Projects/MyProject2/MyProject2.sln could not be found. I would like to start learning to use this engine but I need to get past this hurdle. Please help :)

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

4 answers: sort voted first

Hello, Open the the windows menu by pressing the windows key and then type in "visual studio installer", then open the installer and press on "modify" (under your visual studio 2017 install) and choose the needed tools (the easiest would be to select them all) and click on modify on the bottom-right hand corner to confirm. The tools will start installing Good luck with UE4 ;)

more ▼

answered Jun 20 '17 at 02:26 PM

avatar image

Programer786
11 1

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

Unreal execly tells you what is wrong

 Visual Studio 2017 is installed, but is missing the C++ toolchain. Please verify that the "VC++ 2017 toolset" component is selected in the Visual Studio 2017 installation options.

Since VS2015 (if i'm not mistaken), C++ support is unchecked by default (they want you to use C# ;p), so you need select it yourself. You can edit your VS installation in control panel -> programs and install C++ toolset to it

UE4 creates empty code module and automatically make it dependable to your project, that why it needs C++ compiler out of the bat to build that empty module in order for your project to work

more ▼

answered Jun 19 '17 at 03:39 PM

avatar image

Shadowriver ♦
26.5k 894 130 1035

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

Hi, I had the same issue and fixed it installing the VC++ toolset 2015 (I work on VC 2017), Cordially.

more ▼

answered Oct 23 '17 at 12:43 AM

avatar image

アルマ
6 1

avatar image francoispjean Oct 23 '17 at 05:52 PM

Yes, Unreal 4.17 (and 4.16) still use VS 2105 Build Tools (VC++ 2015 toolset).

avatar image amirea Oct 25 '17 at 09:55 AM

Note that the first error in OP reads

Please verify that the "VC++ 2017 toolset" component is selected

If you have both VS's properly installed it may be possible that Unreal still uses VS 2015 in spite of specifying 2017. It happened to me and I was lucky enough to be told by somebody in the community about the error above: note the 14.0 while I intended to use VS 2017 (15.0).
It might be the case that installing the VC++ toolset 2015 only covers things up.
If one's intention is to use VS 2017 my advice is to uninstall VS 2015 completely and most important: forcibly by TotalUninstaller for Visual Studio.
I did that and no error shows up (note that I don't have VC++ toolset 2015 installed!) and I am sure I'm using VS 2017.

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

,Can you help me? Running D:/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject4 Development Win64 -project="C:/Users/user/Documents/Visual Studio 2017/Projects/MyProject4/MyProject4.uproject" -editorrecompile -progress -NoHotReloadFromIDE Performing full C++ include scan (building a new target) Creating makefile for MyProject4 (no existing makefile) @progress push 5% Parsing headers for MyProject4Editor Running UnrealHeaderTool "C:\Users\user\Documents\Visual Studio 2017\Projects\MyProject4\MyProject4.uproject" "C:\Users\user\Documents\Visual Studio 2017\Projects\MyProject4\Intermediate\Build\Win64\MyProject4Editor\Development\MyProject4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for MyProject4Editor in 11.8076101 seconds @progress pop ERROR: No 32-bit compiler toolchain found in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe Thx.

more ▼

answered Sep 01 '17 at 12:48 PM

avatar image

Vladfg
1

avatar image amirea Oct 25 '17 at 09:59 AM

You're supposed to post an answer as a solution not a request. Please respect the rules. Moreover, you have the same problem as OP, so all the answers in here pertain to you as well.

(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