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

/usr/bin/ld: /tmp/ccdfChNv.o: undefined reference to symbol '_ZN3Log6mLevelE'
//usr/local/lib/ 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.



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

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.