Skip to content

Error compiling with UE5.5 #19

Open
@pzy2000

Description

@pzy2000

/Users/Shared/UE_5.5/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/8.0.300/mac-arm64
Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll ActionRoguelike Mac Development -project=/Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/ActionRoguelike.uproject -WaitMutex -FromMSBuild
Log file: /Users/pzy/Documents/Library/Application Support/Epic/UnrealBuildTool/Log.txt
Using 'git status' to determine working set for adaptive non-unity build (/Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike).
Creating makefile for ActionRoguelike (build metadata has changed)
Choosing MODERN XCODE based on .ini settings
Parsing headers for ActionRoguelike
Running Internal UnrealHeaderTool /Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/ActionRoguelike.uproject /Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/Intermediate/Build/Mac/ActionRoguelike/Development/ActionRoguelike.uhtmanifest -WarningsAsErrors -installed
Total of 0 written
Reflection code generated for ActionRoguelike in 1.801432 seconds
Waiting for 'git status' command to complete
Building ActionRoguelike...
Determining max actions to execute in parallel (8 physical cores, 8 logical cores)
Executing up to 8 processes, one per physical core
Using Unreal Build Accelerator local executor to run 7 action(s)
Storage capacity 40Gb
---- Starting trace ----
UbaSessionServer - Disable remote execution (remote sessions will finish current processes)
------ Building 7 action(s) started ------
[1/7] Compile [Apple] SharedPCH.Engine.Project.ValApi.Cpp20.h (UBA disabled)
[2/7] Copy libsteam_api.dylib (UBA disabled)
[3/7] Compile [Apple] Module.ActionRoguelike.cpp
In file included from /Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/Intermediate/Build/Mac/arm64/UnrealGame/Development/ActionRoguelike/Module.ActionRoguelike.cpp:36:
/Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/Source/ActionRoguelike/Core/RogueGameModeBase.cpp:273:23: error: use of undeclared identifier 'FWindowsPlatformTime'; did you mean 'FGenericPlatformTime'?
273 | uint32 CyclesStart = FWindowsPlatformTime::Cycles();
| ^~~~~~~~~~~~~~~~~~~~
| FGenericPlatformTime
/Users/Shared/UE_5.5/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformTime.h:42:8: note: 'FGenericPlatformTime' declared here
42 | struct FGenericPlatformTime
| ^
In file included from /Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/Intermediate/Build/Mac/arm64/UnrealGame/Development/ActionRoguelike/Module.ActionRoguelike.cpp:36:
/Volumes/T7/GameCoder/repos_GAME_cpp_unreal/tomlooman/ActionRoguelike/Source/ActionRoguelike/Core/RogueGameModeBase.cpp:327:21: error: use of undeclared identifier 'FWindowsPlatformTime'; did you mean 'FGenericPlatformTime'?
327 | uint32 CyclesEnd = FWindowsPlatformTime::Cycles();
| ^~~~~~~~~~~~~~~~~~~~
| FGenericPlatformTime
/Users/Shared/UE_5.5/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformTime.h:42:8: note: 'FGenericPlatformTime' declared here
42 | struct FGenericPlatformTime
| ^
2 errors generated.
Trace file written to /Users/pzy/Documents/Library/Application Support/Epic/UnrealBuildTool/Log.uba with size 4.4kb
Total time in Unreal Build Accelerator local executor: 16.22 seconds
Total execution time: 26.81 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions