Unable to run deepstream_preprocess_test in deepstream6.0

• Hardware Platform (Jetson / GPU) jetson nano 4gb dev kit
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only) 4.6
• TensorRT Version 8.0.1

I am trying to run the example deepstream_preprocess_test by following the readme file.

I have installed all the dependencies. While compile the various modules the following 2 modules are throwing the following errors.

  $ cd /opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvdspreprocess
  $ sudo make && sudo make install

  $ cd /opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvdspreprocess/nvdspreprocess_lib
  $ sudo make && sudo make install
datakalp@datakalp-desktop:/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvdspreprocess$ sudo make && sudo make install
-fPIC -DHAVE_CONFIG_H -std=c++17 -Wall -Werror -DDS_VERSION="6.0.0" -I /usr/local/cuda-10.2/include -I include -I ../../includes -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include
g++ -o libnvdsgst_preprocess.so gstnvdspreprocess.o gstnvdspreprocess_allocator.o nvdspreprocess_property_parser.o -shared -Wl,-no-undefined -L/usr/local/cuda-10.2/lib64/ -lcudart -ldl -L/opt/nvidia/deepstream/deepstream-6.0/lib/ -lnvdsgst_helper -lnvdsgst_meta -lnvds_meta -lnvbufsurface -lnvbufsurftransform -lcuda -Wl,-rpath,/opt/nvidia/deepstream/deepstream-6.0/lib/ -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
gstnvdspreprocess.o: In function `batch_transformation(NvBufSurface*, NvBufSurface*, CustomTransformParams&)':
gstnvdspreprocess.cpp:(.text+0x4788): undefined reference to `NvBufSurfTransformAsync'
gstnvdspreprocess.o: In function `gst_nvdspreprocess_on_frame(_GstNvDsPreProcess*, _GstBuffer*, NvBufSurface*)':
gstnvdspreprocess.cpp:(.text+0x68b0): undefined reference to `NvBufSurfTransformSyncObjWait'
gstnvdspreprocess.cpp:(.text+0x68bc): undefined reference to `NvBufSurfTransformSyncObjDestroy'
collect2: error: ld returned 1 exit status
Makefile:80: recipe for target 'libnvdsgst_preprocess.so' failed
make: *** [libnvdsgst_preprocess.so] Error 1
datakalp@datakalp-desktop:/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvdspreprocess$ cd /opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvdspreprocess/nvdspreprocess_lib
datakalp@datakalp-desktop:/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-nvdspreprocess/nvdspreprocess_lib$ sudo make && sudo make install
-fPIC -DHAVE_CONFIG_H -std=c++17 -Wall -Werror -DDS_VERSION="6.0.0" -I /usr/local/cuda-10.2/include -I ../include -I ../../../includes -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include
g++ -o libcustom2d_preprocess.so nvdspreprocess_lib.o nvdspreprocess_impl.o nvdspreprocess_conversion.o -shared -Wl,-no-undefined -L/usr/local/cuda-10.2/lib64/ -lcudart -ldl -L/opt/nvidia/deepstream/deepstream-6.0/lib/ -lnvdsgst_helper -lnvdsgst_meta -lnvds_meta -lnvbufsurface -lnvbufsurftransform -lcuda -Wl,-rpath,/opt/nvidia/deepstream/deepstream-6.0/lib/ -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
nvdspreprocess_lib.o: In function `CustomAsyncTransformation':
nvdspreprocess_lib.cpp:(.text+0xc28): undefined reference to `NvBufSurfTransformAsync'
collect2: error: ld returned 1 exit status
Makefile:73: recipe for target 'libcustom2d_preprocess.so' failed
make: *** [libcustom2d_preprocess.so] Error 1

however the app is successfully compiled but while running it, it gives an error that preprocess is not defined or is none.

Pleaae follow this to update bsp package. Quickstart Guide — DeepStream 6.0 Release documentation Install latest NVIDIA BSP packages

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