error when doing cmake
minho8849 opened this issue · comments
Hi, there is an error occurred when I do cmake
Error is as shown below.
============================================================================================
Building tests
-- BUILD SUMMARY
-- CMAKE_GENERATOR : Unix Makefiles
-- Compiler ID : GNU
-- Build type : Release
-- Build shared libs : ON
-- Use double for kernel: OFF
-- Build tests : ON
-- Configuring done
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:
NVINFER
linked by target "pointpillars" in directory /home/civeh/workspace/PointPillars_MultiHead_40FPS/pointpillars
linked by target "test_model" in directory /home/civeh/workspace/PointPillars_MultiHead_40FPS/test
NVONNXPARSERS
linked by target "pointpillars" in directory /home/civeh/workspace/PointPillars_MultiHead_40FPS/pointpillars
linked by target "test_model" in directory /home/civeh/workspace/PointPillars_MultiHead_40FPS/test
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Please help
Same error!!
set(CMAKE_PREFIX_PATH "/home/li/support/TensorRT-7.2.3.4/lib")
include_directories("/home/li/support/TensorRT-7.2.3.4/include")