At first I tried to compile with Xcode and thought it was not working because I got version 9.1xx so I decided to try Visual basics 2017 and find out there is no C++ extension for the Mac -_-. I install Visual code and install the C++ extension, Unreal extension, Mono Extension and LLDB debugging extension and still the same error. I am new to game developing and just getting this thing to work is already stressing me out. Below is the error message that I am getting. Please help!!
The project could not be compiled. Would you like to open it in Visual Studio Code?
Running Mono…
Setting up Mono
/Users/Shared/Epic Games/UE_4.18/Engine /Users/Shared/Epic Games/UE_4.18/Engine/Binaries/Mac
@progress push 5%
Parsing headers for MyProject5Editor
Running UnrealHeaderTool “/Users/user/Documents/Unreal Projects/MyProject5/MyProject5.uproject” “/Users/user/Documents/Unreal Projects/MyProject5/Intermediate/Build/Mac/MyProject5Editor/Development/MyProject5Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject5Editor in 9.4644434 seconds
@progress pop
Performing 6 actions (8 in parallel)
[1/6] Compile SharedPCH.Engine.h
In file included from /Users/Shared/Epic Games/UE_4.18/Engine/Intermediate/Build/Mac/UE4Editor/Development/Engine/SharedPCH.Engine.h:138:
In file included from /Users/Shared/Epic Games/UE_4.18/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:300:
Runtime/CoreUObject/Public/UObject/UnrealType.h:3285:37: error: lambda capture ‘LocalMapLayoutForCapture’ is not used [-Werror,-Wunused-lambda-capture]
[LocalKeyPropForCapture, KeyPtr, LocalMapLayoutForCapture](void* NewElementKey)
^
Runtime/CoreUObject/Public/UObject/UnrealType.h:3298:41: error: lambda capture ‘LocalMapLayoutForCapture’ is not used [-Werror,-Wunused-lambda-capture]
[LocalValuePropForCapture, ValuePtr, LocalMapLayoutForCapture](void* NewElementValue)
^
Runtime/CoreUObject/Public/UObject/UnrealType.h:3808:47: error: lambda capture ‘LocalSetLayoutForCapture’ is not used [-Werror,-Wunused-lambda-capture]
[LocalElementPropForCapture, ElementToAdd, LocalSetLayoutForCapture](void* NewElement)
^
3 errors generated.
ERROR: UBT ERROR: Failed to produce item: /Users/user/Documents/Unreal Projects/MyProject5/Binaries/Mac/UE4Editor-MyProject5.dylib
Total build time: 26.47 seconds (Local executor: 0.00 seconds)