GENIVI / CANdevStudio

Development tool for CAN bus simulation
Mozilla Public License 2.0
925 stars 248 forks source link

Error when try select socket can :Cannot load library socketcan #234

Open audiserg opened 2 years ago

audiserg commented 2 years ago

Ubuntu 16.04 SavvyCAN work good, candump work perfect. But in CanDevStudio when selecting socketcan, appear error Cannot load library socketcan

rkollataj commented 2 years ago

That's an error that comes from Qt socketcan plugin. You can either install libsocketcan or... ignore it 🙂 Libsocketcan is required if you would like to configure socketCAN interface directly from CDS (e.g. QCanBusDevice::BitRateKey) See here: https://doc.qt.io/qt-5/qcanbusdevice.html#ConfigurationKey-enum. If you are configuring CAN interface with iproute2 like for candump you should be fine without libsocketcan.