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"

Why cant i create a new c++ project?

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 MyProject Development Win64 -project="C:/Users/john/Documents/Unreal Projects/MyProject/MyProject.uproject" -editorrecompile -progress -NoHotReloadFromIDE Creating makefile for MyProject (no existing makefile) Performing full C++ include scan (no include cache file) @progress push 5% Parsing headers for MyProjectEditor Running UnrealHeaderTool "C:\Users\john\Documents\Unreal Projects\MyProject\MyProject.uproject" "C:\Users\john\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for MyProjectEditor in 7.3634263 seconds @progress pop Performing 8 actions (4 in parallel) [2/8] Resource ModuleVersionResource.rc.inl [3/8] Resource PCLaunch.rc SharedPCH.Engine.cpp MyProjectGameModeBase.cpp MyProject.generated.cpp MyProject.cpp [7/8] Link UE4Editor-MyProject.dll [8/8] Link UE4Editor-MyProject.lib LINK : fatal error LNK1181: cannot open input file 'ws2_32.lib' Creating library C:\Users\john\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.lib and object C:\Users\john\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.exp ERROR: UBT ERROR: Failed to produce item: C:\Users\john\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll Total build time: 68.70 seconds (Local executor: 0.00 seconds)

Product Version: UE 4.16
more ▼

asked Jul 26 '17 at 07:00 PM in Installation & Setup

avatar image

1 1 2 4

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

1 answer: sort voted first

Have you installed Visual Studio? It's required to write c++ code for UE4. I think you also need some plugin for Visual Studio to make the Unreal part work, if i remember correctly it can be activated while installing the Visual Studio. Check out this for more info.

more ▼

answered Jul 27 '17 at 12:12 AM

avatar image

Jesper Wrang
41 1 3 3

(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