I want to make changes in detectnet and run it on C++. Issue is that I couldn’t find a way to run detectnet-camera.cpp both with CMake (with the customized CMakeLists.txt below) and gcc commands. Here is the error message and my CMakeLists.txt
/home/jetson/jetson-inference/examples/detectnet-camera/detectnet-camera.cpp:23:10: fatal error: gstCamera.h: No such file or directory
#include “gstCamera.h”
CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
file(GLOB detectnetCameraSources *.cpp)
file(GLOB detectnetCameraIncludes *.h )
find_package(CUDA)
cuda_add_executable(detectnet-camera ${detectnetCameraSources})
target_link_libraries(detectnet-camera jetson-inference)
target_link_libraries(detectnet-camera jetson-utils)
install(TARGETS detectnet-camera DESTINATION bin)