Closed Barsay closed 2 years ago
Did you try to simply remove the cuda_cudart_library flag (it's not needed, as in jetson cudart is provided as static lib) :
RUN mkdir build && cd build && cmake -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -DCMAKE_CXX_FLAGS='-Wl,--allow-shlib-undefined' ..
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
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
Preliminary Checks
Description
I am trying to compile an executable inside the zed image for L4T, both on a jetson AGX Xavier and a Jetson Nano. Here is my dockerfile:
The problem is the linker is not able to find CUDART. I did some research, and run a find / -name "libcudart*", and there is no libcudart.so found anywhere.
Overriding ${CUDA_CUDART_LIBRARY} with -DCMAKE_CUDA_CUDART_LIBRARY = "/usr/local/cuda/libcudart.so" doesn't help, since there is no libcudart.so installed in the image.
Steps to Reproduce
Expected Result
build successfully
Actual Result
cudart not found
ZED Camera model
ZED
Environment
Anything else?
No response