Hi all, I was toying the cmake system for building HDK sops and it seems that the search path for houdini shared libs isn't right. I get the following messages after calling make:
make[2]: *** No rule to make target `/Applications/Houdini/Houdini16.5.323/Frameworks/Houdini.framework/Versions/16.5.323/Resources/Applications/Frameworks/Houdini.framework/Versions/16.5.323/Libraries/libHoudiniAPPS3.dylib', needed by `/Users/<user>/Library/Preferences/houdini/16.5/dso/SOP_Star.dylib'. Stop. make[1]: *** [CMakeFiles/SOP_Star.dir/all] Error 2 make: *** [all] Error 2
It seems like $HFS is being prepended to the search path for some reason. I resolved this locally by changing HoudiniConfig.cmake.
Sorry! The unused variable warning is my fault. It's harmless, though, so you can ignore it. It'll be fixed in tomorrow's build.
In many cases, you'll want to use the primitive offset returned from appendPrimitivesAndVertices, but in this case, it's not needed. Also, if you're creating a lot of polygons and they might share points, GEO_PrimPoly::buildBlockis more handy, since it manages linking the points and vertices in parallel.