Compilation error on PS4 and PS5

   1059   0   0
User Avatar
Member
1 posts
Joined: Jan. 2022
Offline
Hey guys
So I am using UE4.26 and I just upgraded my Houdini For UE4 plugin to 18.5.696. I am building the plugin from source when I build the unreal editor. It all works fine when building on my PC but when building on PS4 and PS5 I get a bunch of build errors

1>--------------------Project: Default-------------------------------------------
1>Module.HoudiniEngineRuntime.3_of_4.cpp (0:05.00 at +0:00)
1>In file included from D:\dev\Projects\TestProject\Intermediate\Build\PS4\TestProject\Development\HoudiniEngineRuntime\Module.HoudiniEngineRuntime.3_of_4.cpp:10:
1>D:/dev/Tech/UE4/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniEngineUtils.cpp(9247,24): error : cannot initialize a parameter of type 'HAPI_Int64 *' (aka 'long *') with an rvalue of type 'TArray<long long>::ElementType *' (aka 'long long *')
1> 0, CurrentUProperty.IntValues.GetData(), 0, AttribInfo.count ), false );
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1>D:\dev\Tech\UE4\Engine\Plugins\Runtime\HoudiniEngine\Source\HoudiniEngineRuntime\Private/HoudiniEngineRuntimePrivatePCH.h(170,40): note: expanded from macro 'HOUDINI_CHECK_ERROR_RETURN'
1> HOUDINI_CHECK_ERROR_RETURN_HELPER( HAPI_PARAM_CALL, HAPI_PARAM_RETURN, HOUDINI_LOG_ERROR )
1> ^~~~~~~~~~~~~~~
1>D:\dev\Tech\UE4\Engine\Plugins\Runtime\HoudiniEngine\Source\HoudiniEngineRuntime\Private/HoudiniEngineRuntimePrivatePCH.h(160,38): note: expanded from macro 'HOUDINI_CHECK_ERROR_RETURN_HELPER'
1> HAPI_Result ResultVariable = HAPI_PARAM_CALL; \
1> ^~~~~~~~~~~~~~~
1>1 error generated.
1>
1>Error executing C:\Program Files (x86)\SCE\ORBIS SDKs\9.000\host_tools\bin\orbis-clang.exe (tool returned code: 1)
1>Module.HoudiniEngineRuntime.2_of_4.cpp (0:05.23 at +0:00)
1>In file included from D:\dev\Projects\TestProject\Intermediate\Build\PS4\TestProject\Development\HoudiniEngineRuntime\Module.HoudiniEngineRuntime.2_of_4.cpp:23:
1>D:/dev/Tech/UE4/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniEngineBakeUtils.cpp(1455,2): error : misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
1> FString MaterialDescriptor;
1> ^
1>D:/dev/Tech/UE4/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniEngineBakeUtils.cpp(1452,5): note: previous statement is here
1> if ( !HoudiniAsset || HoudiniAsset->IsPendingKill() )
1> ^
1>1 error generated.
1>
1>Error executing C:\Program Files (x86)\SCE\ORBIS SDKs\9.000\host_tools\bin\orbis-clang.exe (tool returned code: 1)
1>---------------------- Done ----------------------
1>
1> Rebuild All: 0 succeeded, 1 failed, 0 skipped

And I am lost. Not sure why this is an issue since I just got the code from the SideFx website and follow the instruction to build from source.

Any help would be much appreciated.
  • Quick Links