-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Build error with the last pull from the repository on Raspberry Pi? #787
Comments
hi @alexrojo77 |
i took a quick look this morning and i saw a bunch of sites talking about compiling the binaries in order to get the latest 5.15.2 version. grr...i'll have to dig around some more and see if i can figure out how to do this. perhaps you can comment as to whether this sounds about right? thanks for your reply. |
@alexrojo77 i believe raspberry pi os 64 bit (the latest one) don't require to build from source |
@OswaldKolle1977 did you need to build it from source? |
@cagnulein No - it worked out of the box (with one typo)
This worked with the current 32 Bit Version of Raspberry OS -- Not sure about the 64 Bit Version - my compilation there is several weeks old (but it worked, too) |
thanks for the feedback @OswaldKolle1977 |
when i have a chance and some time i'll have to re-image my sd card to the before state and give it another try. either that or load on the latest version of raspberry pi. i'm sort of hesitant in doing the latter as i also use this as a pi hole which would probably mean having to reinstall and configure things. anyways much thanks for the comments/help. |
@alexrojo77 ok let us know ;) you can just do a full apt update apt upgrade without losing anything |
thanks. maybe i'll give the full apt update a try first after restoring the sd card back to the before state. this might be the easier path as i read that building the latest qt from the source will require quite a bit of time. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@alexrojo77 any news? |
I am able to compile the latest code on Pi3 B with 32 Bit Version of Raspberry OS, but not able to launch it from CI and got the following instead: Did I miss a step? |
You need also the qml modules, do apt install qml Let me know |
did it, but the same result: sudo apt install qml pi@raspberrypi: /qdomyos-zwift/src $ sudo ./qdomyos-zwift |
Nope sorry GitHub format qml in a strange way because I added the * sudo apt install starqmlstar Replace star with * |
Try |
Sorry without the s, qml-modulestar |
Great can you do a PR with the fix for the installation? Thanks |
Also if you have some issues check this #769 |
sure, will do. |
it's the #769 issue |
I cloned the whole repository to my pi and what is the easy way to switch to the raspberry branch? Thanks1 |
git checkout raspberry |
yes, thanks for the feedback:) |
@shoulih i guess you're not using qt 5.15 isn't it? |
@shoulih you need qt 5.15 for qz |
@cagnulein do we know how to upgrade qt 5.11 to qt 5.15 on Debian Buster Pi3? |
i guess you need to upgrade to debian 11 |
unfortunately, I don't have this option as Parsec is only compatible with debian 10. |
so you have to compile it from source. it will take a while |
yes, looks like that is the last option :-) |
maybe you can also download the deb files from debian 11 handling all the dependencies |
did you manage it @shoulih ? |
no, I didn't try that yet. But I managed to make Parsec run on debian 11 intead :-) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any news @shoulih ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
noob here so please be gentle. trying to compile the latest version of qdomyos-zwift to run on a raspberry pi 3b as a bridge for my bike. error popped up part way through then stopped on an Error 1.
here's a copy/paste of what i see in the terminal:
In file included from dirconmanager.h:14, from virtualbike.h:29, from virtualbike.cpp:1: dirconprocessor.h: In copy constructor ‘DirconProcessorCharacteristic::DirconProcessorCharacteristic(const DirconProcessorCharacteristic&)’: dirconprocessor.h:21:5: warning: base class ‘class QObject’ should be explicitly initialized in the copy constructor [-Wextra] DirconProcessorCharacteristic(const DirconProcessorCharacteristic &cp) { this->operator=(cp); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ virtualbike.cpp: In member function ‘void virtualbike::characteristicChanged(const QLowEnergyCharacteristic&, const QByteArray&)’: virtualbike.cpp:708:30: error: ‘const class QByteArray’ has no member named ‘compare’ !newValue.compare(QByteArray::fromHex("0112b472461cf0be92403ceacea488764a2804e2"))) { ^~~~~~~ virtualbike.cpp: In member function ‘void virtualbike::bikeProvider()’: virtualbike.cpp:968:14: warning: unused variable ‘normalizeSpeed’ [-Wunused-variable] uint16_t normalizeSpeed = (uint16_t)qRound(Bike->currentSpeed().value() * 100); ^~~~~~~~~~~~~~ make: *** [Makefile:9491: virtualbike.o] Error 1
i'm attaching a screen shot as well.
i'm trying to do this on a raspberry pi 3b rev1.2
qmake version 3.1
qt version 5.11.3
if i'm missing a detail or you want to ask a followup/question, please do. thank you.
Additional context
![2022-04-23_qdomyos-zwift_error](https://user-images.githubusercontent.com/104282483/164949804-f9bc2d1a-b22d-46dd-870a-4b382acd4d58.png)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: