I’m getting a lot of linker warnings because of multiple definitions for various types of ON_SimpleArrays, this is an example with ON_SimpleArray<ON_3dPoint>:
Warning 30 warning LNK4006: “public: virtual __cdecl ON_SimpleArray::~ON_SimpleArray(void)” (??1?$ON_SimpleArray@VON_3dPoint@@@@UEAA@XZ) already defined in “opennurbsx64.lib(opennurbsx64.dll)”; ignoring second definiton… (path to .lib containing second definition)
This happens when linking a plugin against Rhino and a static library that makes use of OpenNURBS as well (but as it is a static library, I don’t understand where the 2nd definitions are coming from). Does someone have any idea how to prevent this?