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"

Crash on creating or loading c++ projects

Happens with all versions of UE4. None of the other answers posted have solved it for me When trying to create: The project could not be compiled. Would you like to open it in Visual Studio?

 Running E:/Programs/Epic Games/4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe FirstProject Development Win64 -project="C:/Users/Joseph/Documents/Unreal Projects/FirstProject/FirstProject.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
 @progress push 5%
 Parsing headers for FirstProjectEditor
   Running UnrealHeaderTool "C:\Users\Joseph\Documents\Unreal Projects\FirstProject\FirstProject.uproject" "C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Intermediate\Build\Win64\FirstProjectEditor\Development\FirstProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
 Reflection code generated for FirstProjectEditor in 5.3009366 seconds
 @progress pop
 Performing 8 actions (2 in parallel)
 [2/8] Resource PCLaunch.rc
 PCH.FirstProject.h.cpp
 [3/8] Resource ModuleVersionResource.rc.inl
 FirstProjectCharacter.cpp
 FirstProject.generated.cpp
 FirstProjectGameMode.cpp
 FirstProject.cpp
 [8/8] Link UE4Editor-FirstProject.dll
    Creating library C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-FirstProject.lib and object C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-FirstProject.exp
 FirstProjectGameMode.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)
 FirstProject.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\Joseph\Documents\Unreal Projects\FirstProject\Binaries\Win64\UE4Editor-FirstProject.dll : fatal error LNK1120: 1 unresolved externals
 ERROR: UBT ERROR: Failed to produce item: C:\Users\Joseph\Documents\Unreal Projects\FirstProject\Binaries\Win64\UE4Editor-FirstProject.dll
 Total build time: 36.87 seconds

When trying to load:

 The following modules are missing or built with a different engine version:
 
 UE4Editor-FirstProject.dll
 
 Would you like to rebuild them now?

Yes leads to a brief load and then:

 FirstProject could not be compiled. Try rebuilding from source manually.

This is my first project in over a year - abandoned the last before using

Thanks a lot

Product Version: UE 4.14
Tags:
more ▼

asked Jan 21 '17 at 01:02 PM in Bug Reports

avatar image

Black Photon
31 1 2 4

avatar image Tim C ♦♦ STAFF Jan 23 '17 at 10:22 PM

Hi Ele20002,

I tried creating a new Basic Code project with the Binary 4.14 version, and it created and opened the project for me without any errors. What project template are you using when you create a new project, and what version of Visual Studio do you have installed?

Tim

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

2 answers: sort voted first

Sorry, I solved over on the Sub-Reddit I had VS 2013 installed instead of 2015 as I originally tried using an older version of unreal that still auto-downloaded the 2013 version. Working fine now

Thanks :D

more ▼

answered Feb 11 '17 at 03:25 PM

avatar image

Black Photon
31 1 2 4

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

Hi Ele20002,

We have not heard back from you for a while. Do you still need any help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment and re-open the post if you need any additional help.

Tim

more ▼

answered Feb 06 '17 at 08:44 PM

(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