Itβs hard to know exactly what your problem is, but one solution is obvious. openNURBS code is freely available with a fully licensed license. You just download and compile it directly in mingw.
In any case, this will be the only viable route. C ++ does not have a standard binary interface, and each tool has a different binary interface. It may even differ in different versions of the same tool. Moreover, the compiled MSVC library will have a dependency on another C ++ runtime library from the compiled mingw code.
So, in the end, you need to open openNURBS compiled by your mingw compiler. But, fortunately, this is possible because the library is distributed as a source.
source share