dusty-nv / jetson-utils

C++/CUDA/Python multimedia utilities for NVIDIA Jetson

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c++ read camera

kankanjiuzou123 opened this issue · comments

I have compiled jetson_utils, but when I call it using c++, I get this error. What is the reason? My cmakelists file is written like this. Is it wrong? In addition, is there any demo of C++ reading the camera? I am currently working on this and need your help.
image
image

Hi @kankanjiuzou123, try adding find_package(CUDA) to your CMakeLists.txt like in this example:

https://github.com/dusty-nv/jetson-inference/blob/master/examples/my-recognition/CMakeLists.txt

OK,Thank you,I will try this.