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"

UE4 is not able to compile C++ code for basic project

I am trying to start coding in C++ for UE4. I set up my VS2017 Community software according to this site .

This is the bug-report I get from UE4:

Running D:/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe ma Development Win64 -project="D:/Epic Games/Projects/ma/ma.uproject" -editorrecompile -progress -NoHotReloadFromIDE Performing full C++ include scan (building a new target) Creating makefile for ma (no existing makefile) @progress push 5% Parsing headers for maEditor Running UnrealHeaderTool "D:\Epic Games\Projects\ma\ma.uproject" "D:\Epic Games\Projects\ma\Intermediate\Build\Win64\maEditor\Development\maEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for maEditor in 12.4139159 seconds @progress pop Performing 9 actions (2 in parallel) [2/9] Resource ModuleVersionResource.rc.inl [3/9] Resource PCLaunch.rc SharedPCH.Engine.cpp maGameModeBase.cpp ma.cpp ma.init.gen.cpp maGameModeBase.gen.cpp [8/9] Link UE4Editor-ma.dll [9/9] Link UE4Editor-ma.lib Creating library D:\Epic Games\Projects\ma\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-ma.lib and object D:\Epic Games\Projects\ma\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-ma.exp LINK : fatal error LNK1181: cannot open input file 'ws2_32.lib' ERROR: UBT ERROR: Failed to produce item: D:\Epic Games\Projects\ma\Binaries\Win64\UE4Editor-ma.dll Total build time: 67.46 seconds (Local executor: 0.00 seconds)

Should I just install VS2015 instead? Thanks in advance for any kind of help

Product Version: UE 4.17
Tags:
more ▼

asked Sep 01 '17 at 01:48 AM in Using UE4

avatar image

FUYUKINEKOSAN
1 1

avatar image rizzin Sep 01 '17 at 02:26 AM

Did you install latest Windows 10 SDK during VS installation?

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

1 answer: sort voted first

Yes I did.

more ▼

answered Sep 01 '17 at 10:57 AM

avatar image

FUYUKINEKOSAN
1 1

(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