Download

Create new project on Ubunut 20.0

Hello everyone!

I’m trying to be able to create game with the Unreal Engine on Ubunut.
I’ve followed the documentation to download the source, build the engine and everything went well.
Then I started Unreal Engine Editor


./Engine/Binaries/Linux/UE4Editor

and created a new project.

But if I start my project I’ve a message telling me that the project is not for the good version of the project and I need to compile it again.
But If I tried to compile it without success:


$ cd Documents/Unreal\ Projects/DungeonSlice
$ cmake .
$ make
 0%] Building CXX object CMakeFiles/FakeTarget.dir/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Developer/AITestSuite/Private/AITestSuite.cpp.o
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Developer/AITestSuite/Private/AITestSuite.cpp:3:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Developer/AITestSuite/Public/AITestSuite.h:5:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/CoreMinimal.h:9:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/CoreTypes.h:9:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/HAL/Platform.h:5:
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:45:3: error: Exactly one of [UE_BUILD_DEBUG UE_BUILD_DEVELOPMENT UE_BUILD_TEST UE_BUILD_SHIPPING] should be defined to be 1
#error Exactly one of [UE_BUILD_DEBUG UE_BUILD_DEVELOPMENT UE_BUILD_TEST UE_BUILD_SHIPPING] should be defined to be 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:67:3: error: UBT should always define WITH_EDITOR to be 0 or 1
#error UBT should always define WITH_EDITOR to be 0 or 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:75:3: error: UBT should always define WITH_ENGINE to be 0 or 1
#error UBT should always define WITH_ENGINE to be 0 or 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:83:3: error: UBT should always define WITH_UNREAL_DEVELOPER_TOOLS to be 0 or 1
#error UBT should always define WITH_UNREAL_DEVELOPER_TOOLS to be 0 or 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:91:3: error: UBT should always define WITH_PLUGIN_SUPPORT to be 0 or 1
#error UBT should always define WITH_PLUGIN_SUPPORT to be 0 or 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:132:3: error: UBT should always define IS_MONOLITHIC to be 0 or 1
#error UBT should always define IS_MONOLITHIC to be 0 or 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:140:3: error: UBT should always define IS_PROGRAM to be 0 or 1
#error UBT should always define IS_PROGRAM to be 0 or 1
^
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/Misc/Build.h:338:3: error: Exactly one of [UE_BUILD_DEBUG UE_BUILD_DEVELOPMENT UE_BUILD_TEST UE_BUILD_SHIPPING] should be defined to be 1
#error Exactly one of [UE_BUILD_DEBUG UE_BUILD_DEVELOPMENT UE_BUILD_TEST UE_BUILD_SHIPPING] should be defined to be 1
^
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Developer/AITestSuite/Private/AITestSuite.cpp:3:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Developer/AITestSuite/Public/AITestSuite.h:5:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/CoreMinimal.h:9:
In file included from /media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/CoreTypes.h:9:
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/HAL/Platform.h:85:10: fatal error: 'UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformCompilerPreSetup.h' file not found
#include COMPILED_PLATFORM_HEADER(PlatformCompilerPreSetup.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/HAL/PreprocessorHelpers.h:57:42: note: expanded from macro 'COMPILED_PLATFORM_HEADER'
#define COMPILED_PLATFORM_HEADER(Suffix) PREPROCESSOR_TO_STRING(PREPROCESSOR_JOIN(PLATFORM_HEADER_NAME/PLATFORM_HEADER_NAME, Suffix))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/HAL/PreprocessorHelpers.h:6:35: note: expanded from macro 'PREPROCESSOR_TO_STRING'
#define PREPROCESSOR_TO_STRING(x) PREPROCESSOR_TO_STRING_INNER(x)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Runtime/Core/Public/HAL/PreprocessorHelpers.h:7:41: note: expanded from macro 'PREPROCESSOR_TO_STRING_INNER'
#define PREPROCESSOR_TO_STRING_INNER(x) #x
^~
<scratch space>:3:1: note: expanded from here
"UBT_COMPILED_PLATFORM/UBT_COMPILED_PLATFORMPlatformCompilerPreSetup.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 errors generated.
make[2]: *** [CMakeFiles/FakeTarget.dir/build.make:64 : CMakeFiles/FakeTarget.dir/media/florian/FlorianDD/UnrealEngine2/Engine/Source/Developer/AITestSuite/Private/AITestSuite.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:5660 : CMakeFiles/FakeTarget.dir/all] Erreur 2
make: *** [Makefile:84 : all] Erreur 2


Any idea of what I can do for this?

Thanks,
Florian