sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.32k stars 370 forks source link

Houdini Engine for Unreal compilation error. #210

Open slick3d opened 1 year ago

slick3d commented 1 year ago

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

Utopialjp commented 1 year ago

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

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

dpernuit commented 1 year ago

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

Utopialjp commented 1 year ago

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: /home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Source/HoudiniEngine/Private/HoudiniDataTableTranslator.cpp:1098:129: error: cannot initialize a parameter of type 'HAPI_Int64 ' (aka 'long ') with an rvalue of type 'int64 ' (aka 'long long ') Result = FHoudiniApi::GetAttributeInt64Data(FHoudiniEngine::Get().GetSession(), GeoId, PartId, AttribName, &AttribInfo, -1, static_cast<int64*>(Data), 0, AttribInfo.count);  ^~~~~~~~~ 1 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: /home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Source/HoudiniEngine/Private/HoudiniEngineUtils.cpp:3760:24: error: cannot initialize a parameter of type 'const HAPI_Int64 ' (aka 'const long ') with an rvalue of type 'const int64 ' (aka 'const long long ') &InAttributeInfo, InInt64Data + ChunkStart InAttributeInfo.tupleSize,  ^~~~~~~~~~~~ /home/xxx/xxx/xxx/xxx/xxx/Unreal/SolarEngineUE5/Plugins/HoudiniEngine/Source/HoudiniEngine/Private/HoudiniEngineUtils.cpp:3791:23: error: cannot initialize a parameter of type 'const HAPI_Int64 ' (aka 'const long ') with an lvalue of type 'const int64 ' (aka 'const long long *') &InAttributeInfo, InInt64Data,  ^~~ 2 errors generated. ` The project detail: