Problem with nvmsgconv in DeepStream 6.4 #nvmsgconv

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU):GPU
• DeepStream Version:6.4
Tue Jan 23 22:15:46 2024
±----------------------------------------------------------------------------+
| NVIDIA-SMI 525.147.05 Driver Version: 525.147.05 CUDA Version: 12.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:01:00.0 Off | N/A |
| N/A 39C P0 N/A / 80W | 6MiB / 6144MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2725 G /usr/lib/xorg/Xorg 4MiB |
±----------------------------------------------------------------------------+

I’m encountering an issue with nvmsgconv in DeepStream 6.4. I have been unable to compile and install this plugin successfully. Consequently, I’m facing difficulties in adding new data elements to the messages that I send to Kafka. I kindly need help in resolving this issue.

Any guidance or assistance you can provide would be greatly appreciated.

Dockers Containers,with the above issue :
1.6.4-gc-triton-devel
2. 6.4-triton-multiarch

Steps to replicate the issue:
cd /opt/nvidia/deepstream/deepstream-6.4/sources/libs/nvmsgconv

(AS mentioned in the readme file of the respective plugin)
1.apt-get install libglib2.0-dev libjson-glib-dev uuid-dev libyaml-cpp-dev protobuf-compiler


Compiling and installing the plugin:
Run make and sudo make install

ERROR:
/opt/nvidia/deepstream/deepstream-6.4/sources/libs/nvmsgconv# make
g++ -o libnvds_msgconv.so nvmsgconv.cpp deepstream_schema/eventmsg_payload.cpp deepstream_schema/dsmeta_payload.cpp deepstream_schema/deepstream_schema.cpp deepstream_schema/schema.pb.cc -Wall -std=c++14 -shared -fPIC -I/opt/tritonclient/include -I…/…/includes -I./deepstream_schema -pthread -I/usr/include/json-glib-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -luuid -L/opt/tritonclient/lib -lyaml-cpp -lprotobuf
In file included from nvmsgconv.cpp:23:
./deepstream_schema/schema.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
17 | #error This file was generated by an older version of protoc which is
| ^~~~~
./deepstream_schema/schema.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
18 | #error incompatible with your Protocol Buffer headers. Please
| ^~~~~
./deepstream_schema/schema.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
19 | #error regenerate this file with a newer version of protoc.

here is a workaround. modify protoc to /opt/proto/bin/protoc in Makefile, then rebuild.

Tested with the suggested path change, but still facing the same issue

after modifying the makefile, I can build the so succussfully. please refer the whole log log-0129.txt (641.9 KB).
here is the makefile diff diff.txt (229 Bytes).

1 Like

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