I am trying to compile UE on Opensuse 15.0 but Niagara plugin gives me an error:
Performing 3 actions (8 in parallel)
[1/3] Link (ld) libUE4Editor-Niagara.so
/sda/UnrealEngine/UnrealEngine-4.20/Engine/Plugins/FX/Niagara/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Niagara/Module.Niagara.1_of_3.cpp.o: In function `FVector4::GetSafeNormal(float) const':
/sda/UnrealEngine/UnrealEngine-4.20/Engine/Source/Runtime/Core/Public/Math/Vector4.h:(.text._ZN33UNiagaraDataInterfaceSkeletalMesh51GetTriCoordPositionVelocityAndNormalBinormalTangentI30FSkinnedPositionAccessorHelperI17TIntegralConstantI29ENDISkeletalMesh_SkinningModeLS3_2EEE20FNDITransformHandler23FSkelMeshVertexAccessorILb1EE16FConstantHandlerIiES9_IfE16FRegisterHandlerIfESD_SC_IiEEEvR16FVectorVMContext[_ZN33UNiagaraDataInterfaceSkeletalMesh51GetTriCoordPositionVelocityAndNormalBinormalTangentI30FSkinnedPositionAccessorHelperI17TIntegralConstantI29ENDISkeletalMesh_SkinningModeLS3_2EEE20FNDITransformHandler23FSkelMeshVertexAccessorILb1EE16FConstantHandlerIiES9_IfE16FRegisterHandlerIfESD_SC_IiEEEvR16FVectorVMContext]+0x1238): relocation truncated to fit: R_X86_64_PC32 against `.LCPI22620_5'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: /sda/UnrealEngine/UnrealEngine-4.20/Engine/Plugins/FX/Niagara/Binaries/Linux/libUE4Editor-Niagara.so
(see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 29.38 seconds (Local executor: 0.00 seconds)
make: *** [Makefile:188: UE4Editor] Error 5
Is there a way to disable niagara from compiling since I won’t be using it in current projects.
Here is full log
Thank you!