With Houdini 18, GT_String is no longer defined as const char* but it's a UT_StringHolder. That leads to two compilation errors:
/.../houdini/plugin/ROP_usdoutput.cpp:2184:24: error: could not convert 'v' from 'GT_String {aka UT_StringHolder}' to 'std::string {aka std::basic_string<char>}'
return v;
/.../houdini/plugin/ROP_usdoutput.cpp:2192:24: error: could not convert 'v' from 'GT_String {aka UT_StringHolder}' to 'std::string {aka std::basic_string<char>}'
return v;
Description of Issue
With Houdini 18,
GT_String
is no longer defined asconst char*
but it's aUT_StringHolder
. That leads to two compilation errors:See https://github.com/PixarAnimationStudios/USD/blob/dev/third_party/houdini/plugin/OP_gusd/ROP_usdoutput.cpp#L2184 and https://github.com/PixarAnimationStudios/USD/blob/dev/third_party/houdini/plugin/OP_gusd/ROP_usdoutput.cpp#L2192
If SideFX confirms that this won't change in the full release of H18, we can add some
to fix the issue and remain backwards compatible.
Steps to Reproduce
Package Versions
19.05