Closed Dan-RT closed 2 years ago
I had the same issue with another docker image based on cuda. I've solved it by setting default docker build runtime to "nvidia".
Here is an example config.
/etc/docker/daemon.json
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"default-runtime": "nvidia"
}
sudo systemctl restart docker.service
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
HI,
I'm trying to create a image based on stereolabs/zed:3.5-runtime-jetson-jp4.5 that would have zed-gstreamer in it. It is running on an Jetson Xavier NX.
However I'm getting this CUDART error very similar to the CUDA error described in the Readme file in this repo:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CUDA_CUDART_LIBRARY (ADVANCED)
I'm already using the cmake custom parameters in the cmake command:
cmake -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -DCMAKE_CXX_FLAGS="-Wl,--allow-shlib-undefined"
After some debugging I found out that cudart / libcudart.so is not in there: /usr/local/cuda/lib64/stubs
Thanks for your help!
Here is my Dockerfile: