Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dryworld opened this issue Nov 9, 2023 · 1 comment

Comments

@dryworld
Copy link

dryworld commented Nov 9, 2023

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

@ychuang3
Copy link
Contributor

We just update the MA35D1_Integrated_Demo/README.txt, which explains how to compile it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants