Skip to content
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

Error building in Ubuntu 18.04 #4

Open
tomatac opened this issue Jan 24, 2020 · 5 comments
Open

Error building in Ubuntu 18.04 #4

tomatac opened this issue Jan 24, 2020 · 5 comments

Comments

@tomatac
Copy link

tomatac commented Jan 24, 2020

make fails to build in Ubuntu 18.04:
Project ERROR: Unknown module(s) in QT: charts

@Changliu52
Copy link

same in 16.04. anyone and any recommendation?

@akonneker
Copy link

sudo apt install libqt5charts5-dev will fix this.

I have discovered another error building in ubuntu 19.10, however, which appears to be a change in a kernel header. I found some discussion here: https://lists.sr.ht/~philmd/qemu/%3C20190617114005.24603-1-berrange%40redhat.com%3E

Adding linux/sockios.h to the include statements of cangaroo/src/driver/SocketCanDriver/SocketCanInterface.h seems to fix that issue.

@calumroy
Copy link

calumroy commented Aug 22, 2022

Same issue but your fix did not work for me, though I'm on debian 11.
I had to install this as well.

sudo apt-get install build-essential
sudo apt-get install cmake qt5-default qtcreator
sudo apt-get install libqt5serialport5
sudo apt-get install libqt5serialport5-dev

I was then also getting a segmentation fault when running the program (this was using master commit #1e022c4)
Reverting master back to commit #b862c39d9 then built and ran on my system debian 11.

Something in commit #445f99c69 causes the segmentation fault if you start cangaroo without any CAN usb adapters plugged in. It may work with an adapter plugged in before starting cangaroo but I don't have one yet to test with.

@normaldotcom
Copy link
Owner

@calumroy thanks for reporting this issue and for finding the offending commit. I'm attempting to reproduce on my end but so far I have been unable to recreate the segfault (however I am running Arch, not Debian). I'll review the commit diff and see if I can pinpoint anything sketchy. Thanks!

@normaldotcom
Copy link
Owner

@calumroy try running bda4fef, I may have resolved your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants