Linking jetson-interence for new app

I’m trying to add detectNet support to my app using the jetson-interference library. I’m not a fan of CMake and I typically write some basic Makefiles.

I’m having linking issues with libjetson-interference.so:

/usr/bin/ld: /tmp/ccdfChNv.o: undefined reference to symbol '_ZN3Log6mLevelE'
//usr/local/lib/libjetson-utils.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Here’s part of my makery:

LIBS :=  -ljetson-inference $(shell pkg-config --libs cuda-10.2)
CFLAGS := -I/usr/local/include/jetson-inference $(shell pkg-config --cflags cuda-10.2)

I was hoping @dusty_nv or someone else familiar with this library could help with what’s missing. I’ve search for missing libraries but nothing has popped up.

Thanks!

Hi,

Could you try to link both jetson-inference and jetson-utils to see if it works?
Thanks.

Wow! What a simple fix. Thanks for the help. Now to write some more code.

LIBS := -ljetson-inference -ljetson-utils $(shell pkg-config --libs cuda-10.2)

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