-
Notifications
You must be signed in to change notification settings - Fork 33
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
Raspberry PI #34
Comments
Not sure if compiling was ever attempted on RPI, however, if compiler is C++14 or above, then it should compile - the package has no dependencies - 100% c++ code. |
I kinda assumed you had a compiling issue, could you elaborate if it's something else? any logs/outputs? |
Thanks. It may be the version of c++ code. My version is: pi@raspberry:~ $ c++ --version I tried to upgrade from this article: https://solarianprogrammer.com/2017/12/08/raspberry-pi-raspbian-install-gcc-compile-cpp-17-programs/ After installing the program, I get the following error: pi@raspberry:~ $ gcc-10.1 --version When I looked up this error, it said I needed to upgrade libc6: sudo apt-get upgrade libc6 Stuck! |
Yes, your libc requires an upgrade. Most likely the solution is described here, namely, quoting from that page:
Let me know if compiling succeeds after that and |
I tried that, and tried to fix the errors that were displayed. Not much luck on that. Here is the screen shot: pi@raspberry:/tmp $ sudo apt-get update && apt-get upgrade libc6 Get:3 http://archive.raspbian.org jessie/main armhf Packages [9,539 kB] W: GPG error: http://ftp.de.debian.org sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 W: Failed to fetch http://repo.mosquitto.org/debian/dists/wheezy/main/binary-armhf/Packages 404 Not Found W: Failed to fetch http://dev2day.de/pms/dists/jessie/main/binary-armhf/Packages 404 Not Found W: Some index files failed to download. They have been ignored, or old ones used instead. The following packages have unmet dependencies: The following packages have unmet dependencies: The following packages have unmet dependencies: The following packages have unmet dependencies: |
Try googling those errors and fixing those one by one. Another solution might be finding a more modern version of RPI (with a fresher version c++) and compiling a relocatable binary there. Let me know once you manage to upgrade c++/compile binary, I'd appreciate if you could share then a relocatable image - I will publish it then. If you face any issues with the package itself (i.e. not the issue with the compiler, but with the package code) - keep me posted, we'll try to overcome possible issues. |
Has anyone got this work on RPI? I tried the binary and compiling. No go.
The text was updated successfully, but these errors were encountered: