hey there
Unreal v4.27.2
macOs Monterey 12.3.1 / M1 Max
xcode 13.3.1
create ue4 C++ project on mac failed. If I use ue5 ,it works(but another problem xcode autocomplete does not work)
the error message bellow:
无法编译该项目。要在Rider 221.5591.20 (installed) Uproject (experimental)中打开它吗?
Running Mono…
Found mono via known Mono.framework path
Running system mono/msbuild, version: Mono JIT compiler version 6.12.0.174 (2020-02/adf1bc4335d Tue Mar 22 17:57:38 EDT 2022)
/Users/Shared/Epic Games/UE_4.27/Engine /Users/Shared/Epic Games/UE_4.27/Engine/Binaries/Mac
Creating makefile for TestUe4CppRider2Editor (no existing makefile)
@progress push 5%
Parsing headers for TestUe4CppRider2Editor
Running UnrealHeaderTool “/Users/guan/workSpace/ue/ue4/test_ue4_cpp_rider2/TestUe4CppRider2/TestUe4CppRider2.uproject” “/Users/guan/workSpace/ue/ue4/test_ue4_cpp_rider2/TestUe4CppRider2/Intermediate/Build/Mac/x86_64/TestUe4CppRider2Editor/Development/TestUe4CppRider2Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog="/Users/guan/Library/Application Support/Epic/UnrealBuildTool/Log_UHT.txt" -installed
2022-05-04 23:00:58.551 UnrealHeaderTool[29665:537243] [UE4] Looking for binary: …/…/…/Engine/Programs/UnrealHeaderTool/Config/BinaryConfig.ini
LogInit: Display: Loading text-based GConfig…
Reflection code generated for TestUe4CppRider2Editor in 4.5820328 seconds
@progress pop
Building TestUe4CppRider2Editor…
Performing 7 actions (10 in parallel)
[1/7] Compile SharedPCH.Engine.ShadowErrors.h
In file included from /Users/guan/workSpace/ue/ue4/test_ue4_cpp_rider2/TestUe4CppRider2/Intermediate/Build/Mac/x86_64/TestUe4CppRider2Editor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:572:
/Users/Shared/Epic Games/UE_4.27/Engine/Source/Runtime/Engine/Classes/Materials/Material.h:1279:26: error: variable ‘LayerNames’ set but not used [-Werror,-Wunused-but-set-variable]
const TArray* LayerNames = &LayersExpression->GetLayerNames();
^
1 error generated.