This problem has been hovering above me for a while.
I’m writing a GH plugin that needs integration of cpp for data processing.
I need to transfer RhinoCommon data structures, mainly Point3d, Mesh, etc. (basic types) and don’t want to use the Marshall approach.
So I decided to use the recommend PInvoke approach to bind managed/unmanaged code.
While all the tutorial recommended me to download Rhino SDK and start a Rhino plugin using the setup wizard, I don’t actually need a setup as complex as that – I just need to integrate some basic opennurbs types so that I can wrap Rhino object and send it to the cpp side.
I also tried to use the opennurbs_public repo from github, but simply using it as a library always create linking issues, like here: Freetype263 issue
Unfortunately, it never did. Maybe clangd/LSP is the way forward, or maybe there is an issue with the order in which Intellisense parses the SDK headers.