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"

New Project Won't Compile

I'm trying to create a new project and regardless if I use the Basic Code Template or other templates, I get the following errors: 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 MyProject Development Win64 -project="C:/Users/k/Documents/Unreal Projects/MyProject/MyProject.uproject" -editorrecompile -progress -NoHotReloadFromIDE
 Performing full C++ include scan (building a new target)
 Creating makefile for MyProject (no existing makefile)
 @progress push 5%
 Parsing headers for MyProjectEditor
   Running UnrealHeaderTool "C:\Users\k\Documents\Unreal Projects\MyProject\MyProject.uproject" "C:\Users\k\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 3.2690443 seconds
 @progress pop
 Performing 9 actions (4 in parallel)
 [3/9] Resource PCLaunch.rc
 [2/9] Resource ModuleVersionResource.rc.inl
 PCH.MyProject.cpp
 MyProject.cpp
 MyProject.generated.cpp
 MyProjectGameMode.cpp
 MyProjectCharacter.cpp
 [8/9] Link UE4Editor-MyProject.dll
 [9/9] Link UE4Editor-MyProject.lib
    Creating library C:\Users\k\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.suppressed.lib and object C:\Users\k\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.suppressed.exp
 MyProjectGameMode.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AGameModeBase::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameModeBase@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z)
 MyProject.generated.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AGameModeBase::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameModeBase@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z)
 C:\Users\k\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll : fatal error LNK1120: 1 unresolved externals
    Creating library C:\Users\k\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.lib and object C:\Users\k\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.exp
 ERROR: UBT ERROR: Failed to produce item: C:\Users\k\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
 Total build time: 34.22 seconds (Local executor: 0.00 seconds)
 
 
 

When I try opening the project, I get a window saying:
"The following modules are missing or built with a different engine version:
UE4Editor-MyProject.dll
Would you like to rebuild them now?"

Followed by:
MyProject could not be compiled. Try rebuilding from source manually.

Any help will be much appreciated!

Product Version: UE 4.15
Tags:
more ▼

asked Apr 11 '17 at 01:07 AM in Using UE4

avatar image

knthe
26 2 2

avatar image HayashiSho May 22 '17 at 06:37 PM

I have the same problem too!!! if you or anyone can fix pls tell me

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

1 answer: sort voted first

I have fixed it! On my end, I needed to have Visual Studio 2015, so I rolledback on my version of VS2017. :)

more ▼

answered Jul 13 '17 at 06:27 AM

avatar image

knthe
26 2 2

(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