Build failed vpi demo

Please provide complete information as applicable to your setup.

jetbot@jetbot-desktop:/opt/nvidia/vpi1/samples/01-convolve_2d/build$ sudo make -j4
Scanning dependencies of target vpi_sample_01_convolve_2d
[ 50%] Building CXX object CMakeFiles/vpi_sample_01_convolve_2d.dir/main.cpp.o
[100%] Linking CXX executable vpi_sample_01_convolve_2d
/opt/nvidia/vpi1/lib64/libnvvpi.so.1.2.3: undefined reference to `NvMediaLDCUpdateTNR2Params’
collect2: error: ld returned 1 exit status
CMakeFiles/vpi_sample_01_convolve_2d.dir/build.make:98: recipe for target ‘vpi_sample_01_convolve_2d’
failed
make[2]: *** [vpi_sample_01_convolve_2d] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/vpi_sample_01_convolve_2d.dir/all’ failed
make[1]: *** [CMakeFiles/vpi_sample_01_convolve_2d.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

• Hardware Platform (Jetson / GPU)

• DeepStream Version
5.1
• JetPack Version (valid for Jetson only)
4.5.1
• TensorRT Version
7.1.3
• NVIDIA GPU Driver Version (valid for GPU only)

• Issue Type( questions, new requirements, bugs)
question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
On l4t 4.5.1,the vpi 1.0.15 shipemented ,well I need vpi 1.2.3, then I install them,got an error.I donot know how to fix it .
thanks.
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

jetbot@jetbot-desktop:/opt/nvidia/vpi1/samples/01-convolve_2d/build$ sudo make -j4
Scanning dependencies of target vpi_sample_01_convolve_2d
[ 50%] Building CXX object CMakeFiles/vpi_sample_01_convolve_2d.dir/main.cpp.o
[100%] Linking CXX executable vpi_sample_01_convolve_2d
/opt/nvidia/vpi1/lib64/libnvvpi.so.1.2.3: undefined reference to `NvMediaLDCUpdateTNR2Params’
collect2: error: ld returned 1 exit status
CMakeFiles/vpi_sample_01_convolve_2d.dir/build.make:98: recipe for target ‘vpi_sample_01_convolve_2d’
failed
make[2]: *** [vpi_sample_01_convolve_2d] Error 1
CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/vpi_sample_01_convolve_2d.dir/all’ failed
make[1]: *** [CMakeFiles/vpi_sample_01_convolve_2d.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2

Moving to Nano forum.

Is the error observed after you install VPI 1.2.3?
If your Jetpack is 4.5.1, the VPI version should be 1.0.15. The VPI version on JP4.6.1(2) is 1.2.2, you may consider upgrading to JP4.6.1(2) if VPI 1.2.2 can satisfy your requirement.

好的,只是需要升级jetpack 是个大工程,我以为可以直接直接VPI这一个模块,如果不可以,只能通过升级jetpack的方法升级vpi到1.2.3了。
谢谢。

Hi,

The error indicates a compatibility issue.

NvMediaLDCUpdateTNR2Params is defined in the library that comes with the OS.
Please reflash the Nano and install the package from the same JetPack version.

Thanks.

1 Like

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