I’ve added this in my project’s .Build.cs file:
if (Target.Platform == UnrealTargetPlatform.PS4)
{
string SDKDir = System.Environment.GetEnvironmentVariable("SCE_ORBIS_SDK_DIR");
if ((SDKDir != null) && (SDKDir.Length > 0))
PublicIncludePaths.AddRange(new string[] { SDKDir + "/target/include_common", SDKDir + "target/include_common/shader" });
And this in my C++ file:
#if PLATFORM_PS4
#include "pssl_types.h"
#include "GnmResources.h"
#endif
But I still keep getting this when I build:
MainFrameActions: Packaging (PlayStation 4): UnrealBuildTool: [1/3] orbis-clang.exe Module.ConcreteGenie.3_of_3.cpp
MainFrameActions: Packaging (PlayStation 4): UnrealBuildTool: In file included from D:\work2\UnrealProjects\ConcreteGenie\Intermediate\Build\PS4\ConcreteGenie\Development\ConcreteGenie\Module.ConcreteGenie.3_of_3.cpp:38:
MainFrameActions: Packaging (PlayStation 4): UnrealBuildTool: D:\work2\UnrealProjects\ConcreteGenie\Source\ConcreteGenie\dls\PaintSelectionComponent.cpp(23,10) : fatal error: ‘pssl_types.h’ file not found
MainFrameActions: Packaging (PlayStation 4): UnrealBuildTool: #include “pssl_types.h”
MainFrameActions: Packaging (PlayStation 4): UnrealBuildTool: ^
What am I doing wrong?
Thanks!
-dls