Can-Bus Shield example code fails to compile

Hello,

I have a can-bus shield i bought about a year ago that I’m trying to use with an arduino Uno R4 minima. When I try to compile the Sparkfun_CAN_Demo example code included in the library, I get an error related to the library.

This is just compile, not upload.

I tried searching for an “avr/io.h” library and couldn’t find anything.

Any help?

I tried with an elegoo Uno R3 Clone and it works, just not with the R4 Minima, which I feel like is strange, but programming is not my bag.

The R4 minima has peculiar ports (though this can be worked around) :-/
If you have a working model with an R3 I’d just continue to use that