-
Notifications
You must be signed in to change notification settings - Fork 181
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
Make error in capture.cpp Ubuntu 20.04 #758
Comments
Hi @hoetzgit ... Sorry for the issue... Would you be able to test the following tweak and see if the compile succeeds:
Thanks! |
Thanks very much! With this adjustment, it works. `pi@allsky:~/allsky01$ sed -i -e 's/cvGetTickCount/cv::getTickCount/g' src/capture.cpp pi@allsky:~/allsky01$ make -C src all make: Entering directory '/home/pi/allsky01/src' |
Great to hear this resolved the compile issue. We've modified our code to include this fix. Thanks for helping us make Allsky better! |
@hoetzgit, you can grab the updated src/capture.cpp which includes the fix. Or not, since you already patched your file. |
The following error occurs when compiling the actual release under Ubuntu 20.04. Can this be corrected? I use a powerful virtual machine to create startrail, keogram and video. Many thanks
pi@allsky:~/allsky01$ make -C src all
make: Entering directory '/home/pi/allsky01/src'
2021-11-03 09:49:13 Building capture program...
capture.cpp: In function ‘void* SaveImgThd(void*)’:
capture.cpp:298:18: error: ‘cvGetTickCount’ was not declared in this scope
298 | st = cvGetTickCount();
| ^~~~~~~~~~~~~~
make: *** [Makefile:122: capture] Error 1
make: Leaving directory '/home/pi/allsky01/src'
The text was updated successfully, but these errors were encountered: