Documentation/P600 UAV WikiEnglish · Allspark2
Browse documentation
Additional documentation

Installing the SDK

Before compiling, modify the CMakeLists.txt file located in the SpireCV directory.

1 min read · English documentation

Before compiling, modify the CMakeLists.txt file located in the SpireCV directory. image.png

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)

image.png

# 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