Hello,
I am working with a Arduino Nano 33 LBE. My sketch uses Mbed_BLE_HID.h.
All work great when I use the Arduino IDE.
However, I would like to develop using Eclipse.
I install Sloeber and my Arduino is recognized (at least it shows next to the project name in the project explorer windows of Eclipse)
When I trie to compile I have the following error :
/Documents/Arduino/libraries/Mbed_BLE_HID/src/Mbed_BLE_HID.h:4:10: fatal error: memory: No such file or directory
#include memory
^~~~~~~~
compilation terminated.
make: *** [sloeber.ino.cpp.o] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
Any idea what's happening ?
Thanks for your help
P.
Full ERROR :
17:59:01 **** Incremental Build of configuration Release for project Octopus_V1_0 ****
make all
Building file: ../sloeber.ino.cpp
Starting C++ compile
"/Users/x/eclipse/java-2019-093/Eclipse.app/Contents/Eclipse/arduinoPlugin/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I"/Users/patrickdethioux/eclipse/java-2019-093/Eclipse.app/Contents/Eclipse/arduinoPlugin/examples/09.USB/Keyboard/KeyboardMessage" -I"/Users/X/eclipse/java-2019-093/Eclipse.app/Contents/Eclipse/arduinoPlugin/packages/arduino/hardware/avr/1.8.5/cores/arduino" -I"/Users/X/eclipse/java-2019-093/Eclipse.app/Contents/Eclipse/arduinoPlugin/packages/arduino/hardware/avr/1.8.5/variants/leonardo" -I"/Users/X/Documents/Arduino/libraries/Keyboard/src" -I"/Users/X/eclipse/java-2019-093/Eclipse.app/Contents/Eclipse/arduinoPlugin/packages/arduino/hardware/avr/1.8.5/libraries/HID/src" -I"/Users/X/Documents/Arduino/libraries/Bounce2/src" -I"/Users/X/Documents/Arduino/libraries/MIDI_Library/src" -I"/Users/X/eclipse/java-2019-093/Eclipse.app/Contents/Eclipse/arduinoPlugin/packages/arduino/hardware/avr/1.8.5/libraries/SoftwareSerial/src" -I"/Users/X/Documents/Arduino/libraries/Mbed_BLE_HID/src" -MMD -MP -MF"sloeber.ino.cpp.d" -MT"sloeber.ino.cpp.o" -D__IN_ECLIPSE__=1 -x c++ "../sloeber.ino.cpp" -o "sloeber.ino.cpp.o"
In file included from /Users/X/Documents/Arduino/libraries/Mbed_BLE_HID/src/Nano33BleHID.h:4:0,
from ../sloeber.ino.cpp:14:
/Users/X/Documents/Arduino/libraries/Mbed_BLE_HID/src/Mbed_BLE_HID.h:4:10: fatal error: memory: No such file or directory
#include
^~~~~~~~
compilation terminated.
make: *** [sloeber.ino.cpp.o] Error 1
"make all" terminated with exit code 2. Build might be incomplete.