Problems with compiling the Multimedia API on TX2

After I used jetpack3.2 to refresh the system with TX2, I downloaded the multimedia API of the corresponding version of the official website. I encountered the following problems when compiling 01_video_encode with make.

/usr/bin/ld: cannot find -lnvinfer
/usr/bin/ld: cannot find -lnvparsers

What should I do to solve this problem?

If you install tegra_multimedia_api through Jetpack, it handles all dependencies for you and you will not see the error.

Thank you ,DaneLLL.
But I need to solve this problem by not refreshing the system through Jetpack. Do you still have a solution?

In using Jetpack, you can install tegra_multimedia_api samples without re-flashing the whole system. It is selective.

I did this, and then I encountered the above problem when compiling the samples. It prompted me not to find lnvinfer and lnvparsers.

Looks like TensorRT is not installed. You can also install it through Jetpack.

OK.thanks!I will have a try!