I tried onnxruntime-linux-x64-gpu-1.21.0 and onnxruntime-linux-x64-gpu-1.22.0, and the same error.
My command to build the lib is
cmake -DWITH_ONNX=/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0 -D onnxruntime_DIR=/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime ..
My error message is
CMake Error at /home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake:83 (message):
The imported target "onnxruntime::onnxruntime" references the file
"/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib64/libonnxruntime.so.1.21.0"
but this file does not exist. Possible reasons include:
-
The file was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and contained
"/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime/onnxruntimeConfig.cmake:26 (include)
CMakeLists.txt:52 (find_package)
The error message confuses me because I don't have the folder /home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib64. The unzipped folder from onnxruntime released file is onnxruntime-linux-x64-gpu-1.21.0/lib rather than lib64.
Any suggestions? Thanks in advance.
I tried onnxruntime-linux-x64-gpu-1.21.0 and onnxruntime-linux-x64-gpu-1.22.0, and the same error.
My command to build the lib is
cmake -DWITH_ONNX=/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0 -D onnxruntime_DIR=/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime ..
My error message is
CMake Error at /home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake:83 (message):
The imported target "onnxruntime::onnxruntime" references the file
but this file does not exist. Possible reasons include:
The file was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and contained
"/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime/onnxruntimeTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib/cmake/onnxruntime/onnxruntimeConfig.cmake:26 (include)
CMakeLists.txt:52 (find_package)
The error message confuses me because I don't have the folder /home/chihyuan/RobotNurseHelper_build/onnxruntime-linux-x64-gpu-1.21.0/lib64. The unzipped folder from onnxruntime released file is onnxruntime-linux-x64-gpu-1.21.0/lib rather than lib64.
Any suggestions? Thanks in advance.