rjdmoore / fictrac

FicTrac: A webcam-based method for tracking spherical motion and generating fictive animal paths.
http://fictrac.rjdmoore.net/
Other
26 stars 29 forks source link

Fixing build error. Sleep function ambigous #20

Closed massimodeagro closed 1 year ago

massimodeagro commented 2 years ago

I don't know C++, but the build of fictrac was failing for me with the error above. I figured the function "sleep" now exists among some of the includes of the fictrac and is creating a conflict. Changing it here, as well as in timing.h and CVSource.cpp solved the issue for me.

jakemanger commented 2 years ago

This fixed my build issue when following instructions on the README page. Thanks!

rjdmoore commented 1 year ago

thanks @massimodeagro , sorry for the slow response!