Installing the SDK
Before compiling, modify the CMakeLists.txt file located in the SpireCV directory.
1 min read · English documentationBefore compiling, modify the CMakeLists.txt file located in the SpireCV directory.

The original TensorRT reference section is:
# TensorRT
include_directories(/usr/include/x86_64-linux-gnu)
link_directories(/usr/lib/x86_64-linux-gnu)
Change it to the following. This change is required because the TensorRT installation location and version have changed. After saving the modification, you can install and compile the SDK.
# TensorRT
# TensorRT
include_directories(/home/amov/TensorRT-8.6.1.6/include)
link_directories(/home/amov/TensorRT-8.6.1.6/lib)

# After completing the steps above, save the file and run the following commands to install and compile the SDK.
cd ~/SpireCV
./build_on_x86_cuda.sh
