Hi,
Can’t create new C++ project on Mac Silicon M1 (with Blueprints everything OK). After create new project (last step in master) in UE4.27 I got the error:
The project could not be compiled. Would you like to open it in Visual Studio Code?
Running Mono...
Found mono via known Mono.framework path
Running system mono/msbuild, version: Mono JIT compiler version 6.12.0.93 (2020-02/620cf538206 Tue Aug 25 14:04:52 EDT 2020)
/Users/Shared/Epic Games/UE_4.27/Engine /Users/Shared/Epic Games/UE_4.27/Engine/Binaries/Mac
Creating makefile for cppEditor (no existing makefile)
@progress push 5%
Parsing headers for cppEditor
Running UnrealHeaderTool "/Users/antonds/Projects/unreal/cpp/cpp.uproject" "/Users/antonds/Projects/unreal/cpp/Intermediate/Build/Mac/x86_64/cppEditor/Development/cppEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/Users/antonds/Library/Application Support/Epic/UnrealBuildTool/Log_UHT.txt" -installed
2022-08-06 08:12:22.551 UnrealHeaderTool[13992:23162128] [UE4] Looking for binary: ../../../Engine/Programs/UnrealHeaderTool/Config/BinaryConfig.ini
LogInit: Display: Loading text-based GConfig....
Reflection code generated for cppEditor in 3.7444953 seconds
@progress pop
Building cppEditor...
Performing 13 actions (10 in parallel)
[1/13] Compile SharedPCH.Engine.ShadowErrors.h
In file included from /Users/antonds/Projects/unreal/cpp/Intermediate/Build/Mac/x86_64/cppEditor/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<FText>* LayerNames = &LayersExpression->GetLayerNames();
^
1 error generated.
Any ideas? Thanks!