Error while making GST_DSEXAMPLE_SOURCES

gstdsexample.o: In function `get_converted_mat(_GstDsExample*, int, _NvOSD_RectParams*, cv::Mat&, double&)':
gstdsexample.cpp:(.text+0xb3c): undefined reference to `NvBufferComposite'
gstdsexample.o: In function `gst_dsexample_transform_ip(_GstBaseTransform*, _GstBuffer*)':
gstdsexample.cpp:(.text+0xe44): undefined reference to `ExtractFdFromNvBuffer'
gstdsexample.cpp:(.text+0x10c0): undefined reference to `NvReleaseFd'
collect2: error: ld returned 1 exit status
Makefile:41: recipe for target '' failed
make: *** [] Error 1

What should I do?

Thank you,

Which version are you using?
You must using rel28.2, and must install tegra_multimedia_API package.

I do Make tegra_multimedia_API

Also I have deepstream stack running on JetsonTX2

Can anybody help?

You may check your L4T version with:

head -n 1 /etc/nv_tegra_release

If it doesn’t show R28.2, then you have to upgrade and reflash with JetPack3.2. Be sure to save your own work/data before.

Otherwise, looks like a linker error, no library providing functions NvBufferComposite and NvReleaseFd has been found.
Either this library is missing (and have to install it), either its location is not in link paths and you would have to specify its path in link flags.

Actually deepstream doesn’t work with Jetpack 3.2
That is why I won’t be able to upgrade it.
L4T Production 28.1 is the version which comes with Jetpack 3.1

Hi Pharatekomal,
If you are work with rel28.1, we have some so file which need to be updated in deepstream package.
Have you update yet?

Thank you for reply…
No I haven’t updated any so files
Where can I get them?

It is in same package, can you compile now?

Actually deepstream doesn’t work with Jetpack 3.2

We have released the new version to support JetPack3.2 now, please check