-
OK im probably missing something obvious, hopefully someone can help!! running the raspberry pi os i needed the source (doesnt execute .AppImage) pi@raspberrypi:~/SavvyCAN $ sudo /home/pi/Qt/6.7.0/gcc_arm64/bin/qmake Project ERROR: Unknown module(s) in QT: serialbus serialport |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 22 replies
-
Well, one big problem you're going to have is that SavvyCAN was written for QT5.14 while you have QT 6.7 installed. Unfortunately QT6 just won't quite result in a working copy of SavvyCAN right now. But, there has been a lot of work to get it moving in that direction. So, it may compile but after that, you will probably run into issues. What you are experiencing is that QT doesn't bundle all the add-ons with the base install. You need to install the serialbus and serialport packages as well. I don't know what they're called on Raspbian but you should be able to find them in the list of QT6 packages available. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. It appears my issue is the arm architecture! I
can't find qt download for arm64 pre 6.0! I went from nothing to
cansniffing in no time flat on my x86 lol. I tried building qt from source
but have run into problems there as well. Apparently there were a handful
of bugs, now patched obviously, but I've checked 2 dozen patches.. none of
which did me any good! I am back to square 1... deflated... and tired!
We'll see what tomorrow brings.
Thanks again for your help
JR
…On Mon, Apr 29, 2024, 9:48 PM Collin Kidder ***@***.***> wrote:
Well, one big problem you're going to have is that SavvyCAN was written
for QT5.14 while you have QT 6.7 installed. Unfortunately QT6 just won't
quite result in a working copy of SavvyCAN right now. But, there has been a
lot of work to get it moving in that direction. So, it may compile but
after that, you will probably run into issues.
What you are experiencing is that QT doesn't bundle all the add-ons with
the base install. You need to install the serialbus and serialport packages
as well. I don't know what they're called on Raspbian but you should be
able to find them in the list of QT6 packages available.
—
Reply to this email directly, view it on GitHub
<#773 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX3YM7FRW33JQFYSSHZ3XX3Y732APAVCNFSM6AAAAABG5CNSBKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TENRZGE2TC>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just pushed a new version to the QT6WIP branch. This version is now at feature parity with the master branch. So, you can use the QT6WIP branch and compile with Qt6.7 on your RPI. This should yield a properly working copy of the program. I should really look into what it'd take to get a CI/CD build of SavvyCAN for ARM on the Raspberry PI. |
Beta Was this translation helpful? Give feedback.
-
@striork if you're still having issues compiling/running it, there is a nix package that has a build for aarch64, I got it working fine on a RPi 4 with 64-bit Raspberry Pi OS |
Beta Was this translation helpful? Give feedback.
-
I should mention that I've moved the QT6 support into the master branch so it should be possible to compile on QT6 (I think you might need QT6.5 or higher as they didn't add in SerialBus support in the early releases). So, it ought to compile as-is with the QT6 packages and the master branch. But, I haven't gotten around to trying it. |
Beta Was this translation helpful? Give feedback.
-
Finally back at the Pi! I'm attempting to cross compile QT5 (6.4.0) on my PC in order to compile savvyCAN directly on the raspi. I ran into this
Apparantly a while back there were these errors in the source. They patched them up right away, Bob's your uncle and everone's cute for qt!
I started looking into this one and i noticed a few people also trying to cross compile coming up with the same errors. If any of you out there with a little more experience could point me in the right direction, I'd be super appreciative .
and
|
Beta Was this translation helpful? Give feedback.
-
This much I can say: I've not heard of anyone successfully cross compiling it. I've heard of people who did it directly on a Raspberry Pi but I have not tried it myself. It has just always seemed like more complication than it's worth to me. I have a laptop and I drag it around to cars and only every couple of years drop a laptop or accelerate hard in a car snapping the screen off or drop a 12V lead onto the top of a can capture card while it's plugged into the laptop and fry the motherboard (yes, I've done all three of those things). So, I just use the PC version and carry a laptop. Sorry I can't be of more help. All I know is that it is possible and some people have done it. |
Beta Was this translation helpful? Give feedback.
-
I loaded the newest RaspberryOS onto an sdcard, updated all existing packages, then installed the following packages (sudo apt install): From there I used git clone to download the SavvyCAN source. Then in the resulting folder: This results in a full compile that takes a LONG time on an RPi4. I can compile all of SavvyCAN in about 16 seconds on my normal dev machine but it takes several minutes on the RPi. And... it works! I tested at least to be able to load the program and then load up a capture file and scroll around. I haven't tested much else and probably can't today. But, the above steps do yield a theoretically working build. All it takes is about 10 minutes of waiting when you start compiling. On an RPi5 you likely will not have to wait nearly as long. |
Beta Was this translation helpful? Give feedback.
-
I keep trying to figure it out myself..i made it past the that particular
error (turns out i didnt have g++ installed now on to the next error) It
now errors with the following:
***@***.***:~/SavvyCAN$ qmake6
Project ERROR: Current version of Qt (6.4.2) is too old, this project
requires Qt 6.5 or newer
Research leaads me to believe i have to Compile Qt 6.5 for use on the
Raspberry Pi, looking into how to do that is nothing short of INVOLVED...
but ill keep tinkering as time permits
Just wanted to give you some feedback and let you know I havent given up
and am still working the issues best I can.
…-Brian-
On Tue, Feb 25, 2025 at 8:57 AM sdyca ***@***.***> wrote:
Hello Brian, your voice has been heard. We have been reading about all
your struggles since last, 2024. All I can say for now is, be patient a
little more, we will get there. Collin already knows what will solve this
problem. From his comment that I have reproduced below, it looks like he
started using Raspberry Pi last year for testing.
***@***.*** <https://github.com/collin80>
collin80
on Jun 10, 2024
<#773 (reply in thread)>
Maintainer
Actually... while looking for a different board I happened across an Rpi4B
with a CAN hat on it and so I might as well give it a try. I'll install the
latest RaspberryOS and see where this adventure takes me. It may be
possible to publish compiled binaries. I think Rpi4 and Rpi5 are binary
compatible so I'm pretty sure the same executable will work for either
@bfpa40 <https://github.com/bfpa40>
bfpa40
on Jun 10, 2024
<#773 (reply in thread)>
That would be AMAZING!"
ctivity I need. So, raspberry Pi, with all its computer specifications
plus GPIO, becomes a "father" to Arduino!
Sincerely speaking, when I was look
As for me, I knew about raspberry Pi many years ago but was reluctant to
give it a trial. I dived into Arduino and later realized it does not give
me all the connectivity I need. So, raspberry Pi, with all its computer
specifications plus GPIO, becomes a "father" to Arduino!
Sincerely speaking, when I was looking for a microcomputer, I was still
reluctant to choose Raspberry Pi because I never liked hardwares that are
named after food (LOL), moreover, I prefer Strawberry to Raspberry. But
with time, my impression about Raspberry Pi began to grow because Raspberry
Pi (owned by Broadcom) has a huge community behind it, making it difficult
for its competitors to take over the lead. So the advantage of having such
a huge community kicks in when we are having problems like this; there is
someone who always give an answer to our queries.
Be happy that you have a good and reliable machine, Raspberry P, a
European technology. It is not cheap as people describe it in the internet
because by the time you finish mounting all the hardware components like
active cooler, sound card, Canbus module, hard drive HAT, etc, you will
realize that you are really buying a desktop computer! The Raspbian OS is
so reliable and solid, compared to that of most machines from Asia with
pre-installed and modified softwares. All the errors I have so far with
Raspberry Pi are as a result of my wrong installation or compilation. I
have the active cooler mounted on the microprocessor and that helps to push
down the temperature to about 40
—
Reply to this email directly, view it on GitHub
<#773 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLVM643664UIKVKCC46NND2RSAEHAVCNFSM6AAAAABG5CNSBKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZRGQZDIMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I GOT IT INSTALLED AND I BELIEVE ITS WORKING !!! I re-installed my
RaspberryPi 5 with the Newest Bookworm build then started all installs from
scratch. I will check it out in my vehicle tomorrow to be positive but I
DID IT. I have a rough list of what i did i9ll clean it up and make a
post! Im assuming now if I have it working on my Raspberry Pi 5 that when I
get my CM% for my uConsole the procedure should be the same...???
…On Sat, Mar 1, 2025 at 12:19 PM sdyca ***@***.***> wrote:
I keep trying to figure it out myself..i made it past the that particular
error (turns out i didnt have g++ installed now on to the next error) It
now errors with the following: *@*.***:~/SavvyCAN$ qmake6 Project ERROR:
Current version of Qt (6.4.2) is too old, this project requires Qt 6.5 or
newer Research leaads me to believe i have to Compile Qt 6.5 for use on the
Raspberry Pi, looking into how to do that is nothing short of INVOLVED...
but ill keep tinkering as time permits Just wanted to give you some
feedback and let you know I havent given up and am still working the issues
best I can.
… <#m_-2238426380771098230_>
-Brian-
Brian, I think you are right; you need Qt 6.5 or higher as stated in
Collin´s message of May 13, 2024. He said that support for SerialBus were
not added in previous versions below 6.5. This means, if I am not mistaken,
no matter how we do a work-arround to modify line 7 of the SavvyCAN.pro (in
SavvyCAN folder) to match Qt 6.4.2 as I had done, the serialbus error will
still pop up. This was the problem that I had.
As for me I don´t want to compile and install Qt 6.5 because the Pi5
pre-installed Qt6.4.2 will not be upgraded and I had bad experiences having
two versions installed. So, if you like, try the Qt 6.5 or higher and let
us know the results.
Regards.
—
Reply to this email directly, view it on GitHub
<#773 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLVM67N7BBE75ZCZGM5MID2SH2ZVAVCNFSM6AAAAABG5CNSBKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZWGE3TCOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just woke up and starting my morning coffee ritual. Havent tried it in the
vehicle yet but I can answer your questions
1.) What version of Qt did you use to get it installed?
I Installed Qt6.5.4
2.) Did you try modifying the SavvyCAN.pro to force installation with
Qt_6.4.2?
I commented out the 3 line starting at line 7
3.) Qt_6.4.2 is by default the version pre-loaded in the Raspberry Pi 5
depository. So if you installed version 6.5, I believe the v6.4.2 was not
upgraded; check to see how many Qt versions are currently installed on your
Pi5.
I dont believe there was any Qt loaded by default as I could get the
version command to echo anything.
More to come later.
-Brian-
…On Sun, Mar 2, 2025 at 1:36 AM sdyca ***@***.***> wrote:
I GOT IT INSTALLED AND I BELIEVE ITS WORKING !!! I re-installed my
RaspberryPi 5 with the Newest Bookworm build then started all installs from
scratch. I will check it out in my vehicle tomorrow to be positive but I
DID IT. I have a rough list of what i did i9ll clean it up and make a post!
Im assuming now if I have it working on my Raspberry Pi 5 that when I get
my CM% for my uConsole the procedure should be the same...???
… <#m_-7786679647409969674_>
I'm glad to hear that you have successfully installed the SavvyCAN. Very
important, do not forget to tell us the proceedures that you have taken,
because you have some questions to answer in order to let us understand
what was blocking your progress. I would not just settle for the fact that
you re-installed the bookworm OS to succeed, because not everyone who got
it installed had to wipe out everything from the memory just to install
only one application.
1. What version of Qt did you use to get it installed?
2. Did you try modifying the SavvyCAN.pro to force installation with
Qt_6.4.2?
3. Qt_6.4.2 is by default the version pre-loaded in the Raspberry Pi 5
depository. So if you installed version 6.5, I believe the v6.4.2 was not
upgraded; check to see how many Qt versions are currently installed on your
Pi5.
Regards.
—
Reply to this email directly, view it on GitHub
<#773 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLVM65JC42WKL4KPHVNN532SKYGTAVCNFSM6AAAAABG5CNSBKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZWGQYTIMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
I loaded the newest RaspberryOS onto an sdcard, updated all existing packages, then installed the following packages (sudo apt install):
qt6-base-dev
qt6-base-dev-tools
qt6-pdf-dev
qt6-serialbus-dev
qt6-serialport-dev
qt6-tools-dev
qt6-wayland
qt6-wayland-dev
qt6-wayland-dev-tools
qt6-webview-dev
From there I used git clone to download the SavvyCAN source. Then in the resulting folder:
git checkout QT6WIP
qmake6
make -j 6
This results in a full compile that takes a LONG time on an RPi4. I can compile all of SavvyCAN in about 16 seconds on my normal dev machine but it takes several minutes on the RPi. And... it works! I tested at least to be able to load the program and then load up a capt…