How to correctly add opencv in makefile?

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.6

DRIVE OS 6.0.5

DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System

Linux

QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)

DRIVE AGX Orin Developer Kit (not sure its number)

other

SDK Manager Version

1.9.2.10884

other

Host Machine Version

native Ubuntu Linux 20.04 Host installed with SDK Manager

native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hi there,

I’m having trouble adding opencv in makefile when I was using the sample from nvmedia, I’m wondering what is the correct way of adding opencv in makefile? As I tried adding path in CXXFlags and LDLIBS, it shows of incompatibility. How can I solve it?

1 Like

Does this issue have something to do with nvmedia? Have you considered starting with only opencv and cmake instead?

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