-
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
mutex not declared #667
Comments
Thanks, I'll fix it in a few |
Out of curiousity, what version of GCC are you using? |
Hi Chris,
Does this help? Found in bin/X11/X11.
Martin RH
… On 16 Oct 2021, at 19:51, Chris Kuethe ***@***.***> wrote:
Out of curiousity, what version of GCC are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#667 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEBLLOSKNQ222M5RK44N3BTUHHCU3ANCNFSM5GDZHH5A>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
What is the output of |
gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
Martin RH
… On 16 Oct 2021, at 20:03, Chris Kuethe ***@***.***> wrote:
What is the output of gcc --version and cat /etc/os-release?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#667 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEBLLOUNHINSDRV35FSBDXTUHHEBDANCNFSM5GDZHH5A>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Ah. Older compiler. That explains why you got the error and I didn't. If you'd like to quickly fix it yourself before the patch is merged, edit |
Thanks, Chris,
Job for tomorrow now.
Thank you for such a quick response and help.
Cheers
Martin RH
… On 16 Oct 2021, at 20:30, Chris Kuethe ***@***.***> wrote:
Ah. Older compiler. That explains why you got the error and I didn't.
If you'd like to quickly fix it yourself before the patch is merged, edit src/keogram.cpp and add #include <mutex> on a new line after #include <iostream>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
No need to change the source by hand; the fix has been merged to git. |
Thanks. Did an edit last night and it worked. Just gave some errors about a variable not being used.
Martin RH
… On 16 Oct 2021, at 22:57, Chris Kuethe ***@***.***> wrote:
No need to change the source by hand; the fix has been merged to git. git pull && make should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Yep, that's from sunwait... not our source code. :) |
Following a sudo apt update, sudo apt upgrade and reboot of my Pi3 I did a clean install (not sudo) and all went well until this:
2021-10-16 15:49:32 Building keogram program...
keogram.cpp:51:6: error: 'mutex' in namespace 'std' does not name a type
std::mutex stdio_mutex;
^~~~~
keogram.cpp:51:1: note: 'std::mutex' is defined in header ''; did you forget to '#include '?
keogram.cpp:24:1:
+#include
keogram.cpp:51:1:
std::mutex stdio_mutex;
^~~
keogram.cpp:59:26: error: 'std::mutex' has not been declared
std::mutex*, // mutex
Similar error reports followed ending with this
make[1]: *** [Makefile:128: keogram] Error 1
make[1]: Leaving directory '/home/pi/allsky/src'
make: *** [Makefile:24: all] Error 2
Compile failed!
The text was updated successfully, but these errors were encountered: