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 Create a new C++ project Windows 10

After installing Unreal and Visual studio, I tried creating a new project. It can launch/create a new blueprint project just fine, but it cannot make a new C++ project. It gets to the point of "compiling source code" and then crashes with this:

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

Running C:/Program Files/Epic Games/UE_4.15/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject4

Development Win64 -project="C:/Users/Bob/Documents/Unreal 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\Bob\Documents\Unreal Projects\MyProject4\MyProject4.uproject" "C:\Users\Bob\Documents\Unreal 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 3.2039678 seconds @progress pop Performing 8 actions (4 in parallel) [2/8] Resource ModuleVersionResource.rc.inl [3/8] Resource PCLaunch.rc PCH.MyProject4.cpp MyProject4.generated.cpp MyProject4GameModeBase.cpp MyProject4.cpp [7/8] Link UE4Editor-MyProject4.dll [8/8] Link UE4Editor-MyProject4.lib Creating library C:\Users\Bob\Documents\Unreal Projects\MyProject4\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject4.lib and object C:\Users\Bob\Documents\Unreal Projects\MyProject4\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject4.exp LINK : fatal error LNK1181: cannot open input file 'ws2_32.lib' ERROR: UBT ERROR: Failed to produce item: C:\Users\Bob\Documents\Unreal Projects\MyProject4\Binaries\Win64\UE4Editor-MyProject4.dll

Total build time: 39.19 seconds (Local executor: 0.00 seconds)

Can anyone provide any insight into the why this is happening? Any help would be greatly appreciated!

Product Version: UE 4.15
Tags:
more ▼

asked Apr 19 '17 at 07:32 PM in C++ Programming

avatar image

EnhancedPower
6 1 3 4

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

1 answer: sort voted first

Turns out I'm dumb. I needed the Windows 8.1 SDK. Hope this can help anyone else with the same issue.

more ▼

answered Apr 19 '17 at 07:54 PM

avatar image

EnhancedPower
6 1 3 4

(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