Skip to content

fatal error: opencv2/dnn/dnn.hpp: No such file or directory #1276

Answered by dwalkes
andregirard37 asked this question in Q&A
Discussion options

You must be logged in to vote

I think the problem is that the TEGRA_CUDA_ARCHITECTURE check here doesn't work when copying to the dunfell branch because the commit which added this at 4a89e2b isn't used in the dunfell tegra-194.inc.

I've verified if I add TEGRA_CUDA_ARCHITECTURE = "72" to tegra194.inc I get:

-- Found CUDNN: /home/dan/trellis/tegra-demo-distro/build-dunfell/tmp/work/armv8a_tegra194-oe4t-linux/opencv/4.5.5-r0/recipe-sysroot/usr/lib/libcudnn.so (found suitable version "8.2.1", minimum required is "7.5")

and

--   cuDNN:                         YES (ver 8.2.1)

in log.do_configure.

Replies: 1 comment 22 replies

Comment options

You must be logged in to vote
22 replies
@andregirard37
Comment options

@andregirard37
Comment options

@madisongh
Comment options

@dwalkes
Comment options

dwalkes Jun 22, 2023
Collaborator

Answer selected by dwalkes
@andregirard37
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants