I’m trying to use the ZED camera through the Jetson TX2, however I’m running into a few issues. On the TX2, I currently have CUDA 9.0.252 installed (from the flash installation via Jetpack), and am using ZED SDK 2.3.3 which is supposed to “support CUDA 9.1”. However, when I follow a basic provided ZED tutorial (https://github.com/stereolabs/zed-examples/tree/master/tutorials/tutorial%202%20-%20image%20capture), I get the following error when cmake-ing:
-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find CUDA: Found unsuitable version "9.0", but required is exact version "8" (found /usr/local/cuda) Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.5/Modules/FindCUDA.cmake:949 (find_package_handle_standard_args) /usr/local/zed_previous/zed-config.cmake:42 (find_package) CMakeLists.txt:12 (find_package) -- Configuring incomplete, errors occurred! See also "/home/nvidia/zed-examples/tutorials/tutorial 2 - image capture/build/CMakeFiles/CMakeOutput .log".
Which says that I need CUDA version 8. I do, however have the correct Zed SDK version installed (verified by looking in /usr/local/zed).
What is wrong here, and what kind of set up should I be looking for?