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

Cruise_M21 gravatar image

Cruise_M21
1 1

Cruise_M21 gravatar 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

2 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

Programer786 gravatar image

Programer786
1

(comments are locked)
10|2000 characters needed characters left

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

Shadowriver gravatar image

Shadowriver ♦
24.1k 880 108 991

(comments are locked)
10|2000 characters needed characters left
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