not find gst/gst.h or not find glib.h,change you cmakeList:

change you cmakeList:

cmake_minimum_required(VERSION 3.23)
project(LadarViewDet C)

set(CMAKE_C_STANDARD 99)

find_package(PkgConfig REQUIRED)
pkg_check_modules(GST REQUITED gstreamer-1.0)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")


include_directories(/usr/local/cuda-12/include)
include_directories(
        include
        /usr/include/gstreamer-1.0/
        /usr/include/gstreamer-1.0/gst
        /usr/include/glib-2.0
        /usr/lib/x86_64-linux-gnu/glib-2.0/include
)
include_directories($GST1_INCLUDE_DIRS)
link_directories(&GST1_LIBRARY_DIRS)
include_directories("/opt/nvidia/deepstream/deepstream-6.1/sources/includes")
link_directories(/opt/nvidia/deepstream/deepstream-6.1/lib)
link_directories(/opt/nvidia/deepstream/deepstream-6.1/lib/gst-plugins/)
link_directories(/usr/local/cuda-12/lib64)
link_directories(/usr/lib/x86_64-linux-gnu)
include_directories(/home/feida/CLionProjects/json-develop/include)


add_

你可能感兴趣的:(算法,YOLO,python,人工智能,NVIDIA,Jetson)