-
Hoping to get some advice on what I'm assuming is a simple issue. I keep getting the following error when trying to set up an inference in C++.
Looking in the tests and samples, I narrowed it down to just the simple case below.
I feel like this is simple but can't seem to find a solution for it.
In the ONNXRuntime samples the link directory was The __imp__OrtGetApiBase@0 looked like some name mangling but the header file says extern so... idk. Any thoughts would be greatly appreciated. Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
update:
I actually tried to just delete this thread because it was more of a novice C++ issue rather than an ONNX issue. I suppose that's up to the moderators. |
Beta Was this translation helpful? Give feedback.
update:
As I thought it may have been, I was having build issues where I was improperly linking the onnxruntime.lib file. It works now. The below is a revision to the part of the CMakeLists file referenced above:
I actually tried to just delete this thread because it was more of a novice C++ issue rather than an ONNX issue. I suppose that's up to the moderators.