Failed to find Houdini during UE4 game build

   5519   4   2
User Avatar
Member
29 posts
Joined: May 2018
Offline
When I build my C++ UE4 project, I get a bunch of messages in the build output Windows about not being able to find Houdini.

The weird thing is that the messages reference Houdini and Houdini Engine 17.0.416, but I'm currently running 17.0.459. I tried reinstalling Houdini 17.0.459 to no avail.

1>Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Houdini Engine : Looking for Houdini Engine 17.0.416 in C:/Program Files/Side Effects Software/Houdini Engine 17.0.416
1>Houdini Engine : Looking for Houdini 17.0.416 in C:/Program Files/Side Effects Software/Houdini 17.0.416
1>Houdini Engine : Failed to find Houdini 17.0.416, will attempt to build using the latest installed version
1>Houdini Engine : Please install Houdini or Houdini Engine 17.0.416
1>Couldn't find the HAPI include folder!
1>Houdini Engine : Please install Houdini or Houdini Engine 17.0.416
1>Couldnt find the HAPI include folder!
User Avatar
Staff
534 posts
Joined: Sept. 2016
Offline
Hi,

Have you installed the Unreal plugin when installing H17.0.459?

The plugin looks in the registry for the latest Houdini Engine or Houdini version available, and will try to get the HAPI include from that directory.

You could try reinstalling H17.0.459, making sure that you check the unreal plugin during the install.
User Avatar
Member
29 posts
Joined: May 2018
Offline
dpernuit
Hi,

Have you installed the Unreal plugin when installing H17.0.459?


Yes. I also tried reinstalling 17.0.459 but got the same messages.

However, today I upgraded to 506 and the problem went away. Perhaps I didn't check the “Houdini Engine for Unreal” checkbox like I remembered, but I'm almost certain I did. I guess me being at fault is the most likely explanation though.
Edited by DougRichardson - March 4, 2019 16:44:28
User Avatar
Member
29 posts
Joined: May 2018
Offline
drichardson
I guess me being at fault is the most likely explanation though.

Turns out I'm not crazy. The issue appears to be related to how UE4's build tool decides when to recompile it's Rules assembly (which contains the Houdini build.cs file). @dpernuit is aware of this issue but until it's fixed, you can workaround it by deleting the UE4Rules.dll in the UE4 engine folder (thus forcing it to rebuild).

More info on the problem here. [dougrichardson.us]
Edited by DougRichardson - July 14, 2020 17:15:12
User Avatar
Member
1 posts
Joined: Jan. 2019
Offline
it seems you should correct the path in HoudiniEngineRuntime.Build.cs
  • Quick Links