-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I imported HCDlib into my Arduino IDE and tried to compile the binding example sketch. I got the error:
In file included from [arduino_dir]/libraries/HCDlib/HCD.h:9:0,
from binding.ino:1:
[arduino_dir]/libraries/HCDlib/bk2421.h:21:21: fatal error: arduino.h: No such file or directory
#include <arduino.h>
This is on Gentoo Linux running Arduino IDE 1.0.5.
Searching through the Arduino installation, it seems that arduino.h is only a part of the wifishield firmwares. I tried copying a version from firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/BOARDS/ARDUINO/ into the HCDlib dir along with the other headers it depends on. This ended up with the error:
In file included from /home/tmurray/proj/arduino/libraries/HCDlib/arduino.h:56:0,
from /home/tmurray/proj/arduino/libraries/HCDlib/bk2421.h:21,
from /home/tmurray/proj/arduino/libraries/HCDlib/HCD.h:9,
from binding.ino:1:
/home/tmurray/proj/arduino/libraries/HCDlib/compiler.h:917:4: error: #error If you are here, you should check what is exactly the processor you are using...
#error If you are here, you should check what is exactly the processor you are using...
^
In file included from /home/tmurray/proj/arduino/libraries/HCDlib/bk2421.h:22:0,
from /home/tmurray/proj/arduino/libraries/HCDlib/HCD.h:9,
from binding.ino:1:
/home/tmurray/proj/arduino/libraries/HCDlib/blocks.h:6:7: error: 'uint8_t' does not name a type
And a bunch of others.
Metadata
Metadata
Assignees
Labels
No labels