Need help with unreal and vscode

The project could not be compiled. Would you like to open it in Xcode?

Running Mono…

Setting up Mono
/Users/Shared/Epic Games/UE_4.22/Engine /Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac
*** PYTHON NOT FOUND: /usr/bin/python
*** PYTHON NOT FOUND: /usr/bin/python
Creating makefile for MyProject3Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject3Editor
Running UnrealHeaderTool “/Users/allyedwards/Desktop/Coding programs/MyProject3/MyProject3.uproject” “/Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/MyProject3Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
LogMac: Warning: dlopen failed: dlopen(/Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/Current/CoreSymbolication, 0x0005): tried: ‘/Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac/System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/Current/CoreSymbolication’ (no such file), ‘/Library/Frameworks/CoreSymbolication.framework/Versions/Current/CoreSymbolication’ (no such file), ‘/System/Library/Frameworks/CoreSymbolication.framework/Versions/Current/CoreSymbolication’ (no such file)
Reflection code generated for MyProject3Editor in 5.0384425 seconds
@progress pop
Performing 7 actions (5 in parallel)
[1/7] Compile SharedPCH.Engine.h
In file included from /Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:553:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Animation/Skeleton.h:16:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Animation/SmartName.h:10:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Core/Public/UObject/AnimPhysObjectVersion.h:49:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:576:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Materials/Material.h:1192:26: error: variable ‘LayerNames’ set but not used [-Werror,-Wunused-but-set-variable]
const TArray* LayerNames = &LayersExpression->GetLayerNames();
^
In file included from /Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:609:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h:885:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
Default,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Materials/MaterialFunctionInterface.h:25:2: note: previous declaration is here
Default,
^
In file included from /Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:62:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:83:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
In file included from /Users/allyedwards/Desktop/Coding programs/MyProject3/Intermediate/Build/Mac/MyProject3Editor/Development/Engine/SharedPCH.Engine.h:206:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:614:
In file included from /Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h:12:
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Public/SkeletalMeshTypes.h:104:3: warning: declaration shadows a variable in the global namespace [-Wshadow]
VersionPlusOne,
^
/Users/Shared/Epic Games/UE_4.22/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h:450:2: note: previous declaration is here
VersionPlusOne,
^
5 warnings and 1 error generated.

I cant compile and C++ projects in unreal and only get this message when attempting to do so. Super frustrating.

This is an issue with the combination of Xcode and Unreal used. I believe this was fixed by Epic in 4.25 I’m pretty sure. Somewhere between 4.24 and 4.26 at least IIRC.

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

Privacy & Terms