Skip to content

build error occured in MA35D1_Linux_Applications/MA35D1_Integrated_Demo/Qt/MA35D1_DEMO #2

@dryworld

Description

@dryworld

I tried build MA35D1_Linux_Applications/MA35D1_Integrated_Demo/Qt/MA35D1_DEMO

error is followed, please let me know how can I fix it.

/home/drywo/ma35d1/output/host/bin/aarch64-nuvoton-linux-gnu-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os --sysroot=/home/drywo/ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5 -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5/QtMultimediaWidgets -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5/QtMultimedia -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5/QtWidgets -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5/QtGui -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5/QtNetwork -I../../../../ma35d1/output/host/aarch64-nuvoton-linux-gnu/sysroot/usr/include/qt5/QtCore -I. -I. -I../../../../ma35d1/output/host/mkspecs/devices/linux-buildroot-g++ -o dialog_cam.o dialog_cam.cpp
In file included from dialog_cam.h:16,
from dialog_cam.cpp:1:
draw.hpp:4:10: fatal error: opencv2/dnn.hpp: No such file or directory
4 | #include <opencv2/dnn.hpp>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1410: dialog_cam.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions