Regarding using nvdec. fatal error: video_decode.h: No such file or directory


I want to use nvdec.
I referred to video_decode_main.cpp in 00_video_decode sample.

I make makefile and include headers.

I make library like this
jetson5@jetson5-desktop:/usr/src/jetson_multimedia_api/samples/00_video_decode$ sudo ar r libVIDEODecode.a *.o

but I met below error

What can I do to fix this?

Thank you.

The file is at


You should need the line in Makefile:

1 Like