Bull Cow Games doesn't compile on Linux

I’m using Ubuntu-based pop! os. When I try to open the project file of Bull Cow game, I saw the following log. I followed other posts and installed VS code 2019, and also installed dotnet with runtime using snap install. They still don’t work.

One thing I noticed that when I tried to test the dotnet runtime as suggested by https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run, I saw error
‘Process terminated. Couldn’t find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.’
I can’t resolve it following https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md#troubleshooting.
But I’m not sure whether it is the issue which caused the Bull Cow game unable to compile.

Log file open, 08/04/20 15:52:42
LogInit: Display: Running engine for game: BullCowGame
LogPlatformFile: Not using cached read wrapper
LogTaskGraph: Started task graph with 5 named threads and 26 total threads with 3 sets of task threads.
LogStats: Stats thread started at 0.050600
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: -8:00, Platform Override: ‘’
LogPluginManager: Mounting plugin LevelSequenceEditor
LogPluginManager: Mounting plugin MovieRenderPipeline
LogPluginManager: Mounting plugin TemplateSequence
LogPluginManager: Mounting plugin ActorSequence
LogPluginManager: Mounting plugin MatineeToLevelSequence
LogPluginManager: Mounting plugin LauncherChunkInstaller
LogPluginManager: Mounting plugin MediaPlayerEditor
LogPluginManager: Mounting plugin WebMMedia
LogPluginManager: Mounting plugin MediaCompositing
LogPluginManager: Mounting plugin ImgMedia
LogPluginManager: Mounting plugin WmfMedia
LogPluginManager: Mounting plugin AvfMedia
LogPluginManager: Mounting plugin AndroidMedia
LogPluginManager: Mounting plugin OnlineSubsystem
LogPluginManager: Mounting plugin OnlineSubsystemGooglePlay
LogPluginManager: Mounting plugin OnlineSubsystemNull
LogPluginManager: Mounting plugin OnlineSubsystemUtils
LogPluginManager: Mounting plugin OnlineSubsystemIOS
LogPluginManager: Mounting plugin DatasmithContent
LogPluginManager: Mounting plugin VariantManagerContent
LogPluginManager: Mounting plugin Paper2D
LogPluginManager: Mounting plugin CameraShakePreviewer
LogPluginManager: Mounting plugin MagicLeap
LogPluginManager: Mounting plugin MagicLeapPassableWorld
LogPluginManager: Mounting plugin MLSDK
LogPluginManager: Mounting plugin MagicLeapLightEstimation
LogPluginManager: Mounting plugin MagicLeapMedia
LogPluginManager: Mounting plugin TcpMessaging
LogPluginManager: Mounting plugin UdpMessaging
LogPluginManager: Mounting plugin ScreenshotTools
LogPluginManager: Mounting plugin NetcodeUnitTest
LogPluginManager: Mounting plugin NUTUnrealEngine4
LogPluginManager: Mounting plugin LightPropagationVolume
LogPluginManager: Mounting plugin AlembicImporter
LogPluginManager: Mounting plugin ProxyLODPlugin
LogPluginManager: Mounting plugin CharacterAI
LogPluginManager: Mounting plugin GeometryCache
LogPluginManager: Mounting plugin BackChannel
LogPluginManager: Mounting plugin ChaosClothEditor
LogPluginManager: Mounting plugin GeometryCollectionPlugin
LogPluginManager: Mounting plugin ChaosEditor
LogPluginManager: Mounting plugin ChaosCloth
LogPluginManager: Mounting plugin PlanarCut
LogPluginManager: Mounting plugin PlatformCrypto
LogPluginManager: Mounting plugin ChaosNiagara
LogPluginManager: Mounting plugin ChaosSolverPlugin
LogPluginManager: Mounting plugin GeometryProcessing
LogPluginManager: Mounting plugin AutomationUtils
LogPluginManager: Mounting plugin SkeletalReduction
LogPluginManager: Mounting plugin Niagara
LogPluginManager: Mounting plugin MeshPainting
LogPluginManager: Mounting plugin GameplayTagsEditor
LogPluginManager: Mounting plugin MaterialAnalyzer
LogPluginManager: Mounting plugin CryptoKeys
LogPluginManager: Mounting plugin PluginBrowser
LogPluginManager: Mounting plugin AssetManagerEditor
LogPluginManager: Mounting plugin CurveEditorTools
LogPluginManager: Mounting plugin GeometryMode
LogPluginManager: Mounting plugin FacialAnimation
LogPluginManager: Mounting plugin MacGraphicsSwitching
LogPluginManager: Mounting plugin DataValidation
LogPluginManager: Mounting plugin MobileLauncherProfileWizard
LogPluginManager: Mounting plugin EditorScriptingUtilities
LogPluginManager: Mounting plugin SpeedTreeImporter
LogPluginManager: Mounting plugin AISupport
LogPluginManager: Mounting plugin AnimationSharing
LogPluginManager: Mounting plugin UObjectPlugin
LogPluginManager: Mounting plugin VisualStudioCodeSourceCodeAccess
LogPluginManager: Mounting plugin NullSourceCodeAccess
LogPluginManager: Mounting plugin GitSourceControl
LogPluginManager: Mounting plugin VisualStudioSourceCodeAccess
LogPluginManager: Mounting plugin PlasticSourceControl
LogPluginManager: Mounting plugin SubversionSourceControl
LogPluginManager: Mounting plugin CLionSourceCodeAccess
LogPluginManager: Mounting plugin ActorLayerUtilities
LogPluginManager: Mounting plugin PerforceSourceControl
LogPluginManager: Mounting plugin CodeLiteSourceCodeAccess
LogPluginManager: Mounting plugin XCodeSourceCodeAccess
LogPluginManager: Mounting plugin KDevelopSourceCodeAccess
LogPluginManager: Mounting plugin RiderSourceCodeAccess
LogPluginManager: Mounting plugin AppleImageUtils
LogPluginManager: Mounting plugin EditableMesh
LogPluginManager: Mounting plugin AndroidMoviePlayer
LogPluginManager: Mounting plugin AudioCapture
LogPluginManager: Mounting plugin PhysXVehicles
LogPluginManager: Mounting plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting plugin PostSplashScreen
LogPluginManager: Mounting plugin LocationServicesBPLibrary
LogPluginManager: Mounting plugin AppleMoviePlayer
LogPluginManager: Mounting plugin AndroidDeviceProfileSelector
LogPluginManager: Mounting plugin WindowsMoviePlayer
LogPluginManager: Mounting plugin ExampleDeviceProfileSelector
LogPluginManager: Mounting plugin IOSDeviceProfileSelector
LogPluginManager: Mounting plugin MobilePatchingUtils
LogPluginManager: Mounting plugin GooglePAD
LogPluginManager: Mounting plugin SteamVR
LogPluginManager: Mounting plugin OculusVR
LogPluginManager: Mounting plugin ProceduralMeshComponent
LogPluginManager: Mounting plugin AssetTags
LogPluginManager: Mounting plugin CableComponent
LogPluginManager: Mounting plugin ArchVisCharacter
LogPluginManager: Mounting plugin SoundFields
LogPluginManager: Mounting plugin SignificanceManager
LogPluginManager: Mounting plugin RuntimePhysXCooking
LogPluginManager: Mounting plugin WebMMoviePlayer
LogPluginManager: Mounting plugin GoogleCloudMessaging
LogPluginManager: Mounting plugin CustomMeshComponent
LogPluginManager: Mounting plugin AndroidPermission
LogPluginManager: Mounting plugin Synthesis
LogInit: Warning: Incompatible or missing module: BullCowGame
LogInit: Initializing SDL.
LogInit: Initialized SDL 2.0.10 revision: 12952 (hg-12952:bc90ce38f1e2) (compiled against 2.0.10)
LogInit: Using SDL video driver ‘x11’
LogInit: Display metrics:
LogInit: PrimaryDisplayWidth: 2560
LogInit: PrimaryDisplayHeight: 1080
LogInit: PrimaryDisplayWorkAreaRect:
LogInit: Left=0, Top=27, Right=2560, Bottom=1080
LogInit: VirtualDisplayRect:
LogInit: Left=0, Top=27, Right=2560, Bottom=2160
LogInit: TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit: ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit: Number of monitors: 2
LogInit: Monitor 0
LogInit: Name: LG ULTRAWIDE 34"
LogInit: ID: display0
LogInit: NativeWidth: 2560
LogInit: NativeHeight: 1080
LogInit: bIsPrimary: true
LogInit: Monitor 1
LogInit: Name: DELL E2414H 24"
LogInit: ID: display1
LogInit: NativeWidth: 1920
LogInit: NativeHeight: 1080
LogInit: bIsPrimary: false
Running /home/arky/UnrealEngine/UnrealEngine-release/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project="/home/arky/files/Unrealcpp/BullCowGame-starter-kit/BullCowGame.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

Running Mono…

Fixing inconsistent case in filenames.
Setting up Mono
~/UnrealEngine/UnrealEngine-release/Engine ~/UnrealEngine/UnrealEngine-release/Engine/Binaries/Linux
Using ‘git status’ to determine working set for adaptive non-unity build (/home/arky/UnrealEngine/UnrealEngine-release).
@progress push 5%
@progress pop
ERROR: Building would modify the following engine files:

   /home/arky/UnrealEngine/UnrealEngine-release/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.d
   /home/arky/UnrealEngine/UnrealEngine-release/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch
   
   Please rebuild from an IDE instead.

LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (44)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (42)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (40)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (38)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (36)
LogModuleManager: Shutting down and abandoning module PropertyEditor (35)
LogModuleManager: Shutting down and abandoning module AudioEditor (32)
LogModuleManager: Shutting down and abandoning module TextureCompressor (30)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (22)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (20)
LogModuleManager: Shutting down and abandoning module Renderer (18)
LogModuleManager: Shutting down and abandoning module Engine (16)
LogModuleManager: Shutting down and abandoning module CoreUObject (14)
LogModuleManager: Shutting down and abandoning module NetworkFile (12)
LogModuleManager: Shutting down and abandoning module CookedIterativeFile (10)
LogModuleManager: Shutting down and abandoning module StreamingFile (8)
LogModuleManager: Shutting down and abandoning module SandboxFile (6)
LogModuleManager: Shutting down and abandoning module PakFile (4)
LogModuleManager: Shutting down and abandoning module RSA (3)
LogExit: Exiting.
LogInit: Tearing down SDL.
Log file closed, 08/04/20 15:52:54

1 Like

Have you tried this?

To do that in VS Code use Ctrl + Shift + B and choose

ProjectNameEditor Linux Development Build

Thanks for your reply! How to do this exactly? I opened the BullCowGame folder in vs code and Ctrl+shift+B showed no build task to run found.

1 Like

You need to open the workspace, do you not have one?

This is what I see here. Sorry that I’m not very familiar with vs code.

1 Like

Yeah you don’t have a workspace. Do you get an option to generate one via right clicking the .uproject file?

No I don’t see the option.

1 Like

Is there any problem with my vscode setup? Thanks for your help!

Sorry I missed your reply. I think you’ll have to manually invoke it then. From Googling that appears to be

GenerateProjectFiles.sh /path/to/.uproject -game -engine

That works for the build, thanks! But how should I proceed it from here? I tried to open the .uproject but still got the need to rebuild error.

I have a feeling you didn’t use the right one. There’s

ProjectName Linux Development Build
and
ProjectNameEditor Linux Development Build

You need to build the editor version as that’s what you’re trying to open.

Oh my mistake. That works now. Thanks for your help and patience!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms