Our first commercial plugin using ONNX

To my knowledge, onnxruntime is not really intended to be built as a static library. I remember trying to get that setup working for quite some time but we finally decided to use a dynamically linked build of onnxruntime. This thread has some information on possible ways to deploy dynamic libraries on windows, especially the latest post describes an interesting option that I’d consider if I had to do it again from scratch today. We went the system32 route and put our custom onnxruntime build there under a versioned, company specific name to make sure that it does not infer with possible other versions of the library.

1 Like