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

darknet build with make failed #63

Open
GiorgioSgl opened this issue Mar 10, 2021 · 0 comments
Open

darknet build with make failed #63

GiorgioSgl opened this issue Mar 10, 2021 · 0 comments

Comments

@GiorgioSgl
Copy link

I try to build darknet-nnpack after install nnpack trough this command cause ninja doesn't work

But when I try it failed, I think he doesn't found the nnpack or something like that

pi@raspberrypi:~/darknet-nnpack $ make
mkdir -p ./obj/
mkdir -p backup
mkdir -p results
chmod +x *.sh
g++ -std=c++11 -Iinclude/ -I3rdparty/stb/include -Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -fPIC -Ofast -DNNPACK -c ./src/image_opencv.cpp -o obj/image_opencv.o
In file included from ./src/image.h:3,
                 from ./src/image_opencv.h:4,
                 from ./src/image_opencv.cpp:1:
include/darknet.h:19:10: fatal error: nnpack.h: No such file or directory
 #include <nnpack.h>
          ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:165: obj/image_opencv.o] Error 1

I'm trying it on RaspberryPI4, maybe I will test it also on my Ubuntu machine 20.04 and let you know if I got the same error

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

1 participant