Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Macchina M2"
OBD2Scan:10:19: error: no matching function for call to 'IsoTp::IsoTp(CANRaw*)'
IsoTp isotp0(&Can0);
^
C:\OBD\OBD2Scan\OBD2Scan.ino:10:19: note: candidates are:
In file included from C:\OBD\OBD2Scan\OBD2Scan.ino:3:0:
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:59:5: note: IsoTp::IsoTp(MCP_CAN*, uint8_t)
IsoTp(MCP_CAN* bus, uint8_t mcp_int);
^
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:59:5: note: candidate expects 2 arguments, 1 provided
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: constexpr IsoTp::IsoTp(const IsoTp&)
class IsoTp
^
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: no known conversion for argument 1 from 'CANRaw*' to 'const IsoTp&'
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: constexpr IsoTp::IsoTp(IsoTp&&)
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: no known conversion for argument 1 from 'CANRaw*' to 'IsoTp&&'
OBD2Scan:11:19: error: no matching function for call to 'IsoTp::IsoTp(CANRaw*)'
IsoTp isotp1(&Can1);
^
C:\OBD\OBD2Scan\OBD2Scan.ino:11:19: note: candidates are:
In file included from C:\OBD\OBD2Scan\OBD2Scan.ino:3:0:
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:59:5: note: IsoTp::IsoTp(MCP_CAN*, uint8_t)
IsoTp(MCP_CAN* bus, uint8_t mcp_int);
^
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:59:5: note: candidate expects 2 arguments, 1 provided
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: constexpr IsoTp::IsoTp(const IsoTp&)
class IsoTp
^
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: no known conversion for argument 1 from 'CANRaw*' to 'const IsoTp&'
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: constexpr IsoTp::IsoTp(IsoTp&&)
C:\Users\exeku\OneDrive\Documents\Arduino\libraries\iso-tp/iso-tp.h:56:7: note: no known conversion for argument 1 from 'CANRaw*' to 'IsoTp&&'
Multiple libraries were found for "can_common.h"
Used: C:\Users\exeku\OneDrive\Documents\Arduino\libraries\can_common
Not used: C:\Users\exeku\OneDrive\Documents\ArduinoData\packages\macchina\hardware\sam\0.3.13\libraries\can_common
exit status 1
no matching function for call to 'IsoTp::IsoTp(CANRaw*)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
It appears that you might be using older versions of the libraries. You will probably have better luck if you go to my repos and freshly download copies of can_common, due_can, and iso-tp.