HoudiniEngineForUnreal icon indicating copy to clipboard operation
HoudiniEngineForUnreal copied to clipboard

Houdini Engine for Unreal compilation error.

Open slick3d opened this issue 2 years ago • 3 comments

Hello. I've got this error while compiling the Houdini Engine on Unreal 5.1 on Rocky Linux 9. I believe that's a code error. Here are the screenshots with the error. Thanks for any help. Screenshot_20221116_231745 Screenshot_20221116_231809

slick3d avatar Nov 17 '22 02:11 slick3d

I've got similar problem. Thanks for any help.

-HoudiniEngineForUnreal branch: Houdini19.5-Unreal5.00 -UnrealEngine: 5.0.3 -Platform: Ubuntu20.04

Utopialjp avatar Dec 02 '22 08:12 Utopialjp

Hi, Have you tried using the latest sources? Those linux only error should be fixed.

dpernuit avatar Dec 02 '22 23:12 dpernuit

Hi, Have you tried using the latest sources? Those linux only error should be fixed.

Hi, thanks for your replay. I pulled the latest branch Houdini19.5-Unreal5.00, but the problem still exist. The commit is Screenshot from 2022-12-06 14-02-46

The compile error: `[37/86] Compile MapInterface.gen.cpp [38/86] Compile Module.HoudiniEngine.1_of_7.cpp In file included from /home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/HoudiniEngine/Module.HoudiniEngine.1_of_7.cpp:6: [1m/home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Source/HoudiniEngine/Private/HoudiniDataTableTranslator.cpp:1098:129: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'HAPI_Int64 *' (aka 'long *') with an rvalue of type 'int64 *' (aka 'long long ')[0m Result = FHoudiniApi::GetAttributeInt64Data(FHoudiniEngine::Get().GetSession(), GeoId, PartId, AttribName, &AttribInfo, -1, static_cast<int64>(Data), 0, AttribInfo.count); [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~ [0m1 error generated.

[65/86] Compile Module.WebUI.cpp [66/86] Compile Module.HoudiniEngine.2_of_7.cpp In file included from /home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/HoudiniEngine/Module.HoudiniEngine.2_of_7.cpp:8: [1m/home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Source/HoudiniEngine/Private/HoudiniEngineUtils.cpp:3760:24: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'const HAPI_Int64 *' (aka 'const long *') with an rvalue of type 'const int64 *' (aka 'const long long *')[0m &InAttributeInfo, InInt64Data + ChunkStart * InAttributeInfo.tupleSize, [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [0m[1m/home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Source/HoudiniEngine/Private/HoudiniEngineUtils.cpp:3791:23: [0m[0;1;31merror: [0m[1mcannot initialize a parameter of type 'const HAPI_Int64 *' (aka 'const long *') with an lvalue of type 'const int64 *' (aka 'const long long *')[0m &InAttributeInfo, InInt64Data, [0;1;32m ^~~~~~~~~~~ [0m2 errors generated. ` The project detail:

  • UnrealEngine: 5.0.3
  • Houdini: hfs19.5.451
  • Platform: Ubuntu20.04

Utopialjp avatar Dec 06 '22 06:12 Utopialjp