HDK sample SOP_Start.C build failed at OSX 'SOP_Star.C:34:10: fatal error: 'SOP_Star.proto.h' file not found'

   1812   2   1
User Avatar
Member
2 posts
Joined: Oct. 2017
Offline
Hi,
HDK sample SOP_Start.C build failed in my OSX.

hcustom SOP_Star.C
...
SOP_Star.C:34:10: fatal error: 'SOP_Star.proto.h' file not found
#include "SOP_Star.proto.h"

I followed below HDK document.
https://www.sidefx.com/docs/hdk/_h_d_k__intro__creating_plugins.html [www.sidefx.com]

'houdini_generate_proto_headers( FILES SOP_Star.C )' line in CMakeLists.txt does not go well?

Houdini version: 16.5.378
OSX: 10.12.6
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Sorry. It looks like those instructions need to be updated for CMake, since it's not set up for building with explicit makefiles. The instructions for building with CMake are at: http://www.sidefx.com/docs/hdk/_h_d_k__intro__compiling.html#HDK_Intro_Compiling_CMake [www.sidefx.com]
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
2 posts
Joined: Oct. 2017
Offline
Thank you so much!
  • Quick Links