how can i compile Tegra_multimedia_api smples and run on Tx2 developing board?

how can i compile Tegra_multimedia_api smples and run on Tx2 developing board? still use Nsight? i try to build new project and import those Tegra_multimedia_api smples code ,then compile…but fails… what is right way to compile Tegra_multimedia_api smples?

You can install the samples via Jetpack and they will be compiled on TX2.

i have install these samples in Tx2 board. can you give details command for compile …or details description how to run
Tegra_multimedia_api samples…let’s says samples 10.camera_recording…

https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-1

[L4T Multimedia API Reference Documentation] → [Sample Applications] → [Building and Running]

thanks…really helpful…