Unable to compile dusty-nv/JetsonInference

I am trying to build Jetson-Inference on my Jetson Orin Nano 8 GB board. Upon sudo make, I face the following errors:

[ 67%] Linking CXX executable ../../aarch64/bin/imagenet
/usr/bin/ld: /opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3: undefined reference to `PvaProgramSetDMADescriptorsV2'
/usr/bin/ld: /opt/nvidia/cupva-2.3/lib/aarch64-linux-gnu/libcupva_host.so.2.3: undefined reference to `PvaProgramSetPointerValueEx'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/imagenet/CMakeFiles/imagenet.dir/build.make:97: aarch64/bin/imagenet] Error 1
make[1]: *** [CMakeFiles/Makefile2:469: examples/imagenet/CMakeFiles/imagenet.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

My system is following:

NVIDIA NVIDIA Orin Nano - AVerMedia D131
 L4T 35.3.1 [ JetPack UNKNOWN ]
   Ubuntu 20.04.6 LTS
   Kernel Version: 5.10.104-tegra
 CUDA 11.4.315
   CUDA Architecture: 8.7
 OpenCV version: 4.5.4
   OpenCV Cuda: NO
 CUDNN: 8.6.0.166
 TensorRT: 8.5.2.2
 Vision Works: NOT_INSTALLED
 VPI: 2.3.9
 Vulcan: 1.3.204

Please help me build this awesome project on my awesome board, thanks
Kanishk

Hi @kanishk.vishwa2001, since I had previously replied to your GitHub Issue about this, let’s continue the discussion there: Linking errors with libcupva_host.so.2.3 · Issue #1752 · dusty-nv/jetson-inference · GitHub

1 Like

Thanks, Dustin
Your solution about commenting the check for VPI in jetson-inference/CMakeLists.txt worked!
Before:

105 # check for VPI (TODO: VPI 1.0 support for JetPack 4.x)
106 find_package(VPI 2.0)
107 
108 if( NOT VPI_FOUND )
109    message("-- didn't find VPI on system, disabling VPI")
110 else()
111    message("-- VPI version:  " ${VPI_VERSION})
112    set(HAS_VPI 1)
113    add_definitions(-DHAS_VPI)
114 endif()

After

105 # check for VPI (TODO: VPI 1.0 support for JetPack 4.x)
106 #find_package(VPI 2.0)
107 #
108 #if( NOT VPI_FOUND )
109 #   message("-- didn't find VPI on system, disabling VPI")
110 #else()
111 #   message("-- VPI version:  " ${VPI_VERSION})
112 #   set(HAS_VPI 1)
113 #   add_definitions(-DHAS_VPI)
114 #endif()
1 Like

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