OpenVehicleDiag icon indicating copy to clipboard operation
OpenVehicleDiag copied to clipboard

Unable to build/compile on up to date AttifyOSv4 (Ubuntu 22.04)

Open missingsnowman opened this issue 1 year ago • 1 comments

Describe the bug Unable to build/compile on up to date AttifyOSv4 (Ubuntu 22.04) Possibly user error but it would be helpful to know what version environment is known to work. Thank you for your attention!

To Reproduce Steps to reproduce the behavior:

  1. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
  2. sudo apt-get install libgtk-3-dev
  3. git clone https://github.com/rnd-ash/OpenVehicleDiag.git
  4. cd OpenVehicleDiag/app_rust
  5. cargo build --release
  6. See error: Compiling common v0.1.0 (/home/attify/attifyos/git.opt/OpenVehicleDiag/common) warning: unused import: collections::VecDeque --> /home/attify/attifyos/git.opt/OpenVehicleDiag/common/src/schema/diag/service.rs:1:21 | 1 | use std::{cmp::min, collections::VecDeque, convert::TryInto, ... | ^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default

warning: common (lib) generated 1 warning (run cargo fix --lib -p common to apply 1 suggestion)

Expected behavior Want to test with Tactrix OpenPort 1.3/2.0 & Macchina M2 for Subaru Legacy 2006

Desktop (please complete the following information):

  • OS: AttifyOS v4.0 updated/upgraded (Ubuntu 22.04]
  • Linux attifyos 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Additional context Wondered if https://github.com/rnd-ash/Macchina-J2534 must be compiled/installed first but this made no difference.

missingsnowman avatar Nov 07 '23 23:11 missingsnowman

That looks like a warning, not a failure. Is there a cargo option to continue after warnings?

douglasheld2 avatar Jun 11 '24 18:06 douglasheld2