sideeffects / HoudiniEngineForUnreal

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

macOS build looking for sources in the wrong folder #84

Closed denschub closed 6 years ago

denschub commented 6 years ago

Since the support told me I have to compile the plugin myself if I want to use 4.20.x on macOS, I thought I'd give it a shot. However, there seems to be an issue here.

The docs say

Within the UE4 source, navigate to Engine/Plugins/Runtime, and clone this repo into a folder named HoudiniEngine.

however, when I do that, building fails with

Couldn't find the HAPI include folder!
/Users/dennis/Projects/UnrealEngine-4.20.2-release/Engine/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/HoudiniEngineRuntime.Build.cs: warning: Referenced directory '/Users/dennis/Projects/UnrealEngine-4.20.2-release/Engine/Source/Plugins/Runtime/HoudiniEngine/Source/HoudiniEngineRuntime/Public/HAPI' does not exist.

Now, if you're looking carefully, you'll see that it's trying to load the files from Engine/Source/Plugins/Runtime/HoudiniEngine, instead of Engine/Plugins/Runtime/HoudiniEngine as the source suggests. Moving the folder there does result in a build which does not compile the plugin at all.

Is this a documentation bug or am I missing something?

denschub commented 6 years ago

This got fixed in https://github.com/sideeffects/HoudiniEngineForUnreal/commit/576a237a234b7db8126de57d7e10d24e6c57059a after a report has been made by another user in https://www.sidefx.com/forum/topic/57864/