Can't use Make command to build jetson_multmedia_api examples

I’m trying to get a better understanding of how to use Arugs with my regular Jetson Nano, NOT the Orin version.

I’m able to build the samples in jetson_multimedia_api/argus/samples using CMake, and the other samples found at jetson_multimedia_api/samples using the provided MakeFile

Since the Jetson Multimedia API is found at /usr/src/jetson_multimedia_api I have to use sudo every time I do something like create a new folder, etc.

And since; at least from my understanding I’m not supposed to be messing with files in that directory I used the scp command to copy/move the multimedia files to ~/Desktop/Coding Folder

Here’s where I’m confused at the moment

When I use the sudo make clean && sudo make command when I’m in /usr/src/jetson_multimedia_api

Everything works fine and I’m able to build the samples in jetson_multimedia_api

But when I switch over to the ~/Desktop/Coding Folder directory I always get the following


> sudo make clean && sudo make
[sudo] password for ***: 
Clean in samples/00_video_decode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/00_video_decode'
Makefile:27: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/00_video_decode'
Clean in samples/01_video_encode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/01_video_encode'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/01_video_encode'
Clean in samples/02_video_dec_cuda
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/02_video_dec_cuda'
Makefile:48: *** mixed implicit and normal rules: deprecated syntax
Makefile:52: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:49: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:51: *** mixed implicit and normal rules: deprecated syntax
Makefile:55: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:52: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:54: *** mixed implicit and normal rules: deprecated syntax
Makefile:55: warning: overriding recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:52: warning: ignoring old recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/02_video_dec_cuda'
Clean in samples/03_video_cuda_enc
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/03_video_cuda_enc'
Makefile:48: *** mixed implicit and normal rules: deprecated syntax
Makefile:52: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:49: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:51: *** mixed implicit and normal rules: deprecated syntax
Makefile:55: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:52: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:54: *** mixed implicit and normal rules: deprecated syntax
Makefile:55: warning: overriding recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:52: warning: ignoring old recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/03_video_cuda_enc'
Clean in samples/04_video_dec_trt
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/04_video_dec_trt'
Makefile:52: *** mixed implicit and normal rules: deprecated syntax
Makefile:56: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:53: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:55: *** mixed implicit and normal rules: deprecated syntax
Makefile:59: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:56: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:58: *** mixed implicit and normal rules: deprecated syntax
Makefile:59: warning: overriding recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:56: warning: ignoring old recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:62: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:59: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:61: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/04_video_dec_trt'
Clean in samples/05_jpeg_encode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/05_jpeg_encode'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/05_jpeg_encode'
Clean in samples/06_jpeg_decode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/06_jpeg_decode'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/06_jpeg_decode'
Clean in samples/07_video_convert
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/07_video_convert'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/07_video_convert'
Clean in samples/08_video_dec_drm
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/08_video_dec_drm'
Makefile:51: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/08_video_dec_drm'
Clean in samples/09_camera_jpeg_capture
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/09_camera_jpeg_capture'
Makefile:51: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/09_camera_jpeg_capture'
Clean in samples/10_camera_recording
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/10_camera_recording'
Makefile:54: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/10_camera_recording'
Clean in samples/12_camera_v4l2_cuda
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/12_camera_v4l2_cuda'
Makefile:47: *** mixed implicit and normal rules: deprecated syntax
Makefile:51: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:48: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:50: *** mixed implicit and normal rules: deprecated syntax
Makefile:54: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:51: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:53: *** mixed implicit and normal rules: deprecated syntax
Makefile:54: warning: overriding recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:51: warning: ignoring old recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/12_camera_v4l2_cuda'
Clean in samples/13_multi_camera
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/13_multi_camera'
Makefile:52: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/13_multi_camera'
Clean in samples/14_multivideo_decode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/14_multivideo_decode'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/14_multivideo_decode'
Clean in samples/15_multivideo_encode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/15_multivideo_encode'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/15_multivideo_encode'
Clean in samples/16_multivideo_transcode
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/16_multivideo_transcode'
Makefile:44: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/16_multivideo_transcode'
Clean in samples/backend
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/backend'
Makefile:62: *** mixed implicit and normal rules: deprecated syntax
Makefile:66: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:63: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:65: *** mixed implicit and normal rules: deprecated syntax
Makefile:69: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:66: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:68: *** mixed implicit and normal rules: deprecated syntax
Makefile:69: warning: overriding recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:66: warning: ignoring old recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:72: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:69: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:71: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/backend'
Clean in samples/frontend
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/frontend'
Makefile:72: *** mixed implicit and normal rules: deprecated syntax
Makefile:76: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:73: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:75: *** mixed implicit and normal rules: deprecated syntax
Makefile:79: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:76: warning: ignoring old recipe for target '/home/ctn***ano/Desktop/Coding'
Makefile:78: *** mixed implicit and normal rules: deprecated syntax
Makefile:79: warning: overriding recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:76: warning: ignoring old recipe for target 'Folder/jetson_multimedia_api/samples/common/algorithm/cuda/%.o'
Makefile:82: warning: overriding recipe for target '/home/***/Desktop/Coding'
Makefile:79: warning: ignoring old recipe for target '/home/***/Desktop/Coding'
Makefile:81: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/frontend'
Clean in samples/v4l2cuda
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/v4l2cuda'
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/v4l2cuda'
Clean in samples/unittest_samples/decoder_unit_sample
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/decoder_unit_sample'
Makefile:43: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/decoder_unit_sample'
Clean in samples/unittest_samples/encoder_unit_sample
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/encoder_unit_sample'
Makefile:43: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/encoder_unit_sample'
Clean in samples/unittest_samples/transform_unit_sample
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/transform_unit_sample'
Makefile:43: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/transform_unit_sample'
Clean in samples/unittest_samples/camera_unit_sample
make[1]: Entering directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/camera_unit_sample'
Makefile:45: *** mixed implicit and normal rules: deprecated syntax
make[1]: Leaving directory '/home/***/Desktop/Coding Folder/jetson_multimedia_api/samples/unittest_samples/camera_unit_sample'
Make in samples/00_video_decode
make[1]: Entering directory '/home/ctnano/Desktop/Coding Folder/jetson_multimedia_api/samples/00_video_decode'
Makefile:27: *** mixed implicit and normal rules: deprecated syntax
Compiling: video_decode_csvparser.cpp
Compiling: video_decode_main.cpp
Linking: video_decode
/usr/bin/ld: video_decode_csvparser.o: in function `parse_csv_args(context_t*, int, char**)':
video_decode_csvparser.cpp:(.text+0x104c): undefined reference to `log_level'
/usr/bin/ld: video_decode_csvparser.cpp:(.text+0x1050): undefined reference to `log_level'
/usr/bin/ld: video_decode_main.o: in function `abort(context_t*)':
video_decode_main.cpp:(.text+0x954): undefined reference to `NvV4l2Element::abort()'
/usr/bin/ld: video_decode_main.o: in function `query_and_set_capture(context_t*)':
video_decode_main.cpp:(.text+0xfac): undefined reference to `NvV4l2ElementPlane::getFormat(v4l2_format&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1000): undefined reference to `NvV4l2ElementPlane::getCrop(v4l2_crop&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x12a8): undefined reference to `NvEglRenderer::createEglRenderer(char const*, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1348): undefined reference to `NvEglRenderer::setFPS(float)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1354): undefined reference to `NvV4l2ElementPlane::deinitPlane()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x142c): undefined reference to `NvVideoDecoder::setCapturePlaneFormat(unsigned int, unsigned int, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1498): undefined reference to `NvVideoDecoder::getMinimumCapturePlaneBuffers(int&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x151c): undefined reference to `NvV4l2ElementPlane::setupPlane(v4l2_memory, unsigned int, bool, bool)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x18b0): undefined reference to `NvV4l2ElementPlane::reqbufs(v4l2_memory, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1904): undefined reference to `NvV4l2ElementPlane::setStreamStatus(bool)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x19fc): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.o: in function `decoder_pollthread_fcn(void*)':
video_decode_main.cpp:(.text+0x1c00): undefined reference to `NvVideoDecoder::DevicePoll(_v4l2_ctrl_video_device_poll*)'
/usr/bin/ld: video_decode_main.o: in function `dec_capture_loop_fcn(void*)':
video_decode_main.cpp:(.text+0x1cac): undefined reference to `NvV4l2Element::dqEvent(v4l2_event&, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1de0): undefined reference to `NvV4l2Element::dqEvent(v4l2_event&, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1e4c): undefined reference to `NvV4l2ElementPlane::dqBuffer(v4l2_buffer&, NvBuffer**, NvBuffer**, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x1ed8): undefined reference to `NvVideoDecoder::getMetadata(unsigned int, v4l2_ctrl_videodec_outputbuf_metadata_&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2040): undefined reference to `NvEglRenderer::render(int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x21d4): undefined reference to `dump_dmabuf(int, unsigned int, std::basic_ofstream<char, std::char_traits<char> >*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x21f4): undefined reference to `dump_dmabuf(int, unsigned int, std::basic_ofstream<char, std::char_traits<char> >*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2224): undefined reference to `dump_dmabuf(int, unsigned int, std::basic_ofstream<char, std::char_traits<char> >*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2270): undefined reference to `NvEglRenderer::render(int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x22b8): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2348): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.o: in function `decoder_proc_nonblocking(context_t&, bool, unsigned int, int, char*)':
video_decode_main.cpp:(.text+0x261c): undefined reference to `NvVideoDecoder::SetPollInterrupt()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2654): undefined reference to `NvV4l2Element::dqEvent(v4l2_event&, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x275c): undefined reference to `NvV4l2ElementPlane::dqBuffer(v4l2_buffer&, NvBuffer**, NvBuffer**, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2804): undefined reference to `NvV4l2ElementPlane::getNthBuffer(unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x283c): undefined reference to `NvVideoDecoder::getInputMetadata(unsigned int, v4l2_ctrl_videodec_inputbuf_metadata_&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2c08): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2cb0): undefined reference to `NvV4l2ElementPlane::getStreamStatus()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2cfc): undefined reference to `NvV4l2ElementPlane::dqBuffer(v4l2_buffer&, NvBuffer**, NvBuffer**, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2d98): undefined reference to `NvVideoDecoder::getMetadata(unsigned int, v4l2_ctrl_videodec_outputbuf_metadata_&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x2f00): undefined reference to `NvEglRenderer::render(int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x30f0): undefined reference to `dump_dmabuf(int, unsigned int, std::basic_ofstream<char, std::char_traits<char> >*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3110): undefined reference to `dump_dmabuf(int, unsigned int, std::basic_ofstream<char, std::char_traits<char> >*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3140): undefined reference to `dump_dmabuf(int, unsigned int, std::basic_ofstream<char, std::char_traits<char> >*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x318c): undefined reference to `NvEglRenderer::render(int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x31d8): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.o: in function `decoder_proc_blocking(context_t&, bool, unsigned int, int, char*)':
video_decode_main.cpp:(.text+0x3354): undefined reference to `NvV4l2ElementPlane::dqBuffer(v4l2_buffer&, NvBuffer**, NvBuffer**, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x33ec): undefined reference to `NvV4l2ElementPlane::getNthBuffer(unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3424): undefined reference to `NvVideoDecoder::getInputMetadata(unsigned int, v4l2_ctrl_videodec_inputbuf_metadata_&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x37b0): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.o: in function `decode_proc(context_t&, int, char**)':
video_decode_main.cpp:(.text+0x38ac): undefined reference to `NvApplicationProfiler::getProfilerInstance()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3954): undefined reference to `NvVideoDecoder::createVideoDecoder(char const*, int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3988): undefined reference to `NvVideoDecoder::createVideoDecoder(char const*, int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3b7c): undefined reference to `NvApplicationProfiler::start(unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3bbc): undefined reference to `NvV4l2Element::subscribeEvent(unsigned int, unsigned int, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3c24): undefined reference to `NvVideoDecoder::setOutputPlaneFormat(unsigned int, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3ca4): undefined reference to `NvVideoDecoder::setFrameInputMode(unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3d04): undefined reference to `NvVideoDecoder::setFrameInputMode(unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3d64): undefined reference to `NvVideoDecoder::disableDPB()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3dd4): undefined reference to `NvVideoDecoder::enableMetadataReporting()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3e44): undefined reference to `NvVideoDecoder::setMaxPerfMode(int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3eb4): undefined reference to `NvVideoDecoder::setSkipFrames(v4l2_skip_frames_type)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3f28): undefined reference to `NvV4l2ElementPlane::setupPlane(v4l2_memory, unsigned int, bool, bool)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3f60): undefined reference to `NvV4l2ElementPlane::setupPlane(v4l2_memory, unsigned int, bool, bool)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x3fb8): undefined reference to `NvV4l2ElementPlane::setStreamStatus(bool)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x4134): undefined reference to `NvV4l2ElementPlane::getNthBuffer(unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x4434): undefined reference to `NvV4l2ElementPlane::qBuffer(v4l2_buffer&, NvBuffer*)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x46b4): undefined reference to `NvV4l2ElementPlane::dqBuffer(v4l2_buffer&, NvBuffer**, NvBuffer**, unsigned int)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x472c): undefined reference to `NvVideoDecoder::getInputMetadata(unsigned int, v4l2_ctrl_videodec_inputbuf_metadata_&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x47b0): undefined reference to `NvApplicationProfiler::stop()'
/usr/bin/ld: video_decode_main.cpp:(.text+0x47cc): undefined reference to `NvElement::printProfilingStats(std::ostream&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x47f8): undefined reference to `NvElement::printProfilingStats(std::ostream&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x4808): undefined reference to `NvApplicationProfiler::printProfilerData(std::ostream&)'
/usr/bin/ld: video_decode_main.cpp:(.text+0x4860): undefined reference to `NvVideoDecoder::ClearPollInterrupt()'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:38: video_decode] Error 1
make[1]: Leaving directory '/home/****/Desktop/Coding Folder/jetson_multimedia_api/samples/00_video_decode'
make: *** [Makefile:58: all] Error 1

Hi,
It seems like the EOL may be changed to non-unix after copying to home. Please try

~$ cp -r /usr/src/jetson_multimedia_api/ ./
~$ cd jetson_multimedia_api
~/jetson_multimedia_api$ make

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.