Please help me with this error. in Windows 10
include/darknet.h:738:11: error: unknown type name clock_t
float sec(clock_t clocks);
I am facing the same error!
include/darknet.h:738:11: error: unknown type name 'clock_t'; did you mean 'clockid_t'?
float sec(clock_t clocks);
@Kilometer0101 have you found any fix?
https://github.com/pjreddie/darknet/pull/62/commits/63268da2f12fca7150a3a29e3c1e990421029283
I hope, this could be help you..
https://github.com/pjreddie/darknet/issues/150
This issue helped me, actually! I didn't try what you've suggested because I have it working using the windows branch. Thanks, though!
#include <time.h>
If the issue is still not unresolved: got this issue in Juli 2018, on Windows 10 machine with no GPU. Trying make -nogpu produces no darknet.exe.
Envir: Windows 7 64-bit no gpu
make -nogpu (works)
Most helpful comment
721
#include <time.h>