microsoft / microsoft/onnxruntime
Mistakes in Release
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
Describe the issue
I am using this release: https://github.com/microsoft/onnxruntime/releases/download/v1.19.2/onnxruntime-linux-x64-gpu-1.19.2.tgz
Issue 1:
onnxruntimeTargets-release.cmake:11
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib64/libonnxruntime.so.1.19.2"
It tries to find lib64 folder but the release does not have this. Manually creating this folder and copying contents of lib to lib64 worked.
same for
onnxruntimeTargets-release.cmake:16
Issue 2:
onnxruntimeTargets.cmake:63
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/onnxruntime"
But the release has all the headers inside /include only, not inside /include/onnxruntime. Again, I had to make onnxruntime folder inside /inlude and copy all the headers inside /include/onnxruntime, then it worked.
Kindly check these issues. Thanks
To reproduce
Having a look at the release
Urgency
No response
Platform
Linux
OS Version
Ubuntu 24
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.19.2
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the v1.19.2 Linux GPU release archive alongside onnxruntimeTargets-release.cmake and onnxruntimeTargets.cmake at the reported lines. Verify the imported library and header paths against the archive contents, then confirm the release can be consumed by the C++ API without manually creating lib64 or include/onnxruntime directories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100