Building and linking application with libargus.so

Hi All,

I have a Jetson Nano and use the original img file on SD card. Flashed with BalenaEtcher.
I found oneShot camera example source at usr/src/jetson_multimedia_api/argus/samples/oneShot/main.cpp but not found any information how to compile it.
So i copy paste the source into CodeBlocks, after build complete, in linking step i get errors:
undefinied reference to ‘ArgusSamples::CommonOptions::CommonOptions(char const*, unsigned int)’
… and more undefinied references

Little read in the theme, g++ need the shared object libargus.so. But i not found this file. How can i install? Where i download this file?

or, where can i read any instructions to build and run this examples?

Thank you for your time :)

Best regards:
extsoltech

hello extsoltech,

there’s readme file, for example, ~/jetson_multimedia_api/argus/README.TXT
you may check it for using cmake to setup environment and enable make commands to compile the sources.
thanks