digitalbrain79 / pyyolo

Simple python wrapper for YOLO.
126 stars 65 forks source link

Make doesn't work. #35

Closed alexander-hamme closed 6 years ago

alexander-hamme commented 6 years ago

I have all options set to 0 at the top of the Makefile (GPU, CUDNN, OpenCV), and when I try to run make I get the following error:

gcc -Wall -Wfatal-errors -Wno-unused-result -fPIC -I./darknet/src -I./darknet/include -Ofast -c libyolo.c -o obj/libyolo.o libyolo.c:5:10: fatal error: option_list.h: No such file or directory #include "option_list.h" ^~~~~~~~~~~~~~~ compilation terminated. Makefile:63: recipe for target 'obj/libyolo.o' failed make: *** [obj/libyolo.o] Error 1

ljh14 commented 6 years ago

So did I!!!Did you resolve this problem ?

alexander-hamme commented 6 years ago

No, not yet unfortunately...

On Apr 21, 2018, at 6:21 AM, ljh14 notifications@github.com wrote:

So did I!!!Did you resolve this problem ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexander-hamme commented 6 years ago

No, not yet unfortunately...

masszhou commented 6 years ago

you need to checkout sub module for darknet something like git clone --recurse-submodules https://github.com/digitalbrain79/pyyolo.git

alexander-hamme commented 6 years ago

That worked.

I already got darknet working through Python a while ago, using the native python functions pjreddie provides, but thought I'd check this out again too.

sirinferhat commented 5 years ago

Hello alexander-hamme, I got the same error today. What should i do to solve this problem?

sirinferhat commented 5 years ago

C:\Program Files\MATLAB\R2018a\bin\yolomex>make gcc -DGPU -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" -DCUDNN -Wall -Wfatal-errors -Wno-unused-result -fPIC -I./yolomex/darknet/src -I./yolomex/darknet/include -Ofast -DGPU -DCUDNN -c libyolo.c -o obj/libyolo.o libyolo.c:5:10: fatal error: option_list.h: No such file or directory

include "option_list.h"

      ^~~~~~~~~~~~~~~

compilation terminated. make: *** [obj/libyolo.o]