Git Product home page Git Product logo

Comments (9)

dpernuit avatar dpernuit commented on August 10, 2024

Hi,

As mentioned on the readme, I really do not recommend mixing version 2 files with version 1.
We haven't tested building v2 on Linux (or Mac) yet, so it's likely that the plugin will require a few updates to fix some build errors that are OS specific.

from houdiniengineforunreal-v2.

mrmowgli avatar mrmowgli commented on August 10, 2024

I get the same thing with a fresh build on Ubuntu 20.12. The specific build issue he mentions is because of a backslash in the include path:
#include "Engine\StaticMesh.h" however fixing that still causes build errors, mostly dealing with shadowing variables.

Attaching build failures:
HoudiniUnrealv2_BuildErrors_Ubuntu20.12.txt

Note that fixing that backslash allows the build to continue, but hits more errors.

from houdiniengineforunreal-v2.

dpernuit avatar dpernuit commented on August 10, 2024

Hi.

The latest update (beta1) includes a lot fixes for building the plugin on Linux.
Let us know if you still have issue!
(and please send us the errors if you have any)

from houdiniengineforunreal-v2.

mrmowgli avatar mrmowgli commented on August 10, 2024

Still getting an error:

[11/22] Compile Module.HoudiniEngine.4_of_5.cpp
In file included from /home/alewis/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/HoudiniEngineRuntime/Module.HoudiniEngineRuntime.cpp:6:
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:42:10: fatal error: 'HoudiniParameterMultiparm.h' file not found
#include "HoudiniParameterMultiparm.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[12/22] Compile Module.HoudiniEngine.2_of_5.cpp
[13/22] Compile Module.HoudiniEngine.gen.cpp
1 error generated.

from houdiniengineforunreal-v2.

dpernuit avatar dpernuit commented on August 10, 2024

Hi,
Damn, I thought I'd fixed this one. P is capital in MultiParm, and linux is case-sensitive

Try:
#include "HoudiniParameterMultiParm.h"

from houdiniengineforunreal-v2.

mrmowgli avatar mrmowgli commented on August 10, 2024

That gets me a bit farther, thanks! However now I get failures from unused variables. I'm not seeing a way to turn these off from make, and Unreal build system is a bit convoluted. I tried make -Wno-unused-variable to no avail. Here's the errors:

[1/5] Compile Module.HoudiniEngineRuntime.cpp
In file included from /home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/HoudiniEngineRuntime/Module.HoudiniEngineRuntime.cpp:6:
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:373:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.AssetName;
        ~~~~~~~ ^~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:389:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.VolumeName;
        ~~~~~~~ ^~~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:390:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.VolumeTileIndex;
        ~~~~~~~ ^~~~~~~~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:394:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.bIsTemplated;
        ~~~~~~~ ^~~~~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:395:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.bIsInstanced;
        ~~~~~~~ ^~~~~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:398:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.bHasPartChanged;
        ~~~~~~~ ^~~~~~~~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:399:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.bHasTransformChanged;
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/home/mowgli/dev/UnrealEngine-4.25/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniCompatibilityHelpers.cpp:400:10: error: expression result unused [-Werror,-Wunused-value]
        NewHGPO.bHasMaterialsChanged;
        ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
8 errors generated.
make: *** [Makefile:928: UE4Editor] Error 6

from houdiniengineforunreal-v2.

dpernuit avatar dpernuit commented on August 10, 2024

Hi,

Sorry about that, we checked the linux builds BEFORE merging the v1 backward compatibility changes...
Those members are actually unused, and can just be commented out in "HoudiniCompatibilityHelpers.h"

We'll try to address those asap and push a fix on the repo.

from houdiniengineforunreal-v2.

dpernuit avatar dpernuit commented on August 10, 2024

Hi,
Just pushed an update to the repo that should fix those linux build errors.

from houdiniengineforunreal-v2.

mrmowgli avatar mrmowgli commented on August 10, 2024

Everything compiles and seems to be working on my side! Thanks for getting this in!

from houdiniengineforunreal-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.