pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.84k stars 21.33k forks source link

‘CLOCKS_PER_SEC’ undeclared #1238

Open i12805 opened 6 years ago

i12805 commented 6 years ago

./src/utils.c: In function ‘sec’: ./src/utils.c:234:26: error: ‘CLOCKS_PER_SEC’ undeclared (first use in this function) return (float)clocks/CLOCKS_PER_SEC;

Hi, I'm trying to build at Raspberry pi 2b+ with raspbian. If a define CLOCKS_PER_SEC in utils.c it builds (with warnings though). Just giving feedback. Goood luck.

da2r-20 commented 5 years ago

@i12805 did you solve it?

i12805 commented 5 years ago

@doronAtuar no, i did not.