II have an error?

In file included from /Users/mikekuhnkey/Documents/Arduino/libraries/107-Arduino-MCP2515/src/ArduinoMCP2515.h:18:0,
from /Users/mikekuhnkey/Documents/Arduino/libraries/107-Arduino-MCP2515/src/107-Arduino-MCP2515.h:15,
from /private/var/folders/dn/m54hbxjj6rl5p04gdkrrg5240000gn/T/.arduinoIDE-unsaved20241117-975-1bxguwe.tittk/MCP2515-Loopback/MCP2515-Loopback.ino:12:
/Users/mikekuhnkey/Documents/Arduino/libraries/107-Arduino-MCP2515/src/MCP2515/MCP2515_Io.h:19:10: fatal error: functional: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

Where, or why is this "" missing?
Can anyone point me to the "libraries"...API?....beginner tutorials???

In this file, line 19, column 10...

Column 10 follows the whitespace after #include - the filename is missing.

An example could be...

#include <stdio.h>

... and the missing filename would be <stdio.h>

Look under the File menu, then take the examples link off this. You will then see a whole list of things you can do. Start off with the 01. Basics examples to start with an work your way down the list.

Have fun.

For which board are you compiling? Code compiles for an Uno R4 WiFi but not for an Uno. From https://docs.arduino.cc/libraries/107-arduino-mcp2515/


Looking at 107-Arduino-MCP2515/src/MCP2515/MCP2515_Io.h at 2ac84a797b0cd7021a5355f2e760f0a5296fac18 · 107-systems/107-Arduino-MCP2515 · GitHub, it is not missing

#include <functional>

In the original form, I agree.

It's missing in OP's post because they didn't put it in code tags. <functional> becomes blank.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.