fatal error: opencv2/dnn/dnn.hpp: No such file or directory #1276
-
Hello, I am building a Yocto image with Dunfell but adding in my custom layer the opencv_4.5.5 recipe as well as the bbappend for CUDA dnn, that you could find on the Kirkstone release. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 22 replies
-
Are you using the Extensible SDK or Standard SDK for your host laptop development? I would expect header files to end up in the SDK but not in the target rootfs. I suspect there's probably not a recipe for including development header files on the target rootfs today. |
Beta Was this translation helpful? Give feedback.
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:and
in
log.do_configure
.