Replies: 1 comment
-
Please run: "make VERBOSE=1" And see how it was linked. You need to add "/opt/onnxruntime/lib" to the link directories. See: https://cmake.org/cmake/help/latest/command/target_link_directories.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can't build minimal example against onnxruntime:
Ubuntu 18.04
download the v1.6 and extract to /opt/onnxruntime
make a cmakelists with:
sample.cpp
now build with:
mkdir build && cd build && cmake .. && make
Beta Was this translation helpful? Give feedback.
All reactions