I’ve installed the Arduino IDE (1.6.13), and set up paths based on the README, adapted to Windows paths, and using mklink instead of ln -s, but when I try to build the master branch of Model01-Firmware, I get the following error:
I would expect the IDE to include that, so I probably have something set up wrong. Any ideas what I can check? (I should note that C:\Users is a junction link to E:\Users)
I don’t have my keyboard yet, and will have the option of booting to Linux or using a Mac, but I’m also willing to help with figuring out what the Windows instructions need to be.
When I set the board to “Keyboardio Model 01” I get this error, which I remember seeing when I tried yesterday with 1.8.3 of the Arduino IDE: The current selected board needs the core 'arduino:arduino' that is not installed.
Opening Model01-Firmware.ino and building from the IDE gives:
Arduino: 1.8.3 (Windows 7), Board: "Keyboardio Model 01"
The current selected board needs the core 'arduino:arduino' that is not installed.
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\kajsa\AppData\Local\Arduino15\packages -hardware C:\Users\kajsa\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\kajsa\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\kajsa\Documents\Arduino\libraries -fqbn=avr:keyboardio:model01 -ide-version=10803 -build-path e:\Users\kajsa\AppData\Local\Temp\arduino_build_164937 -warnings=none -build-cache e:\Users\kajsa\AppData\Local\Temp\arduino_cache_299196 -prefs=build.warn_data_percentage=75 -verbose C:\Users\kajsa\Documents\Arduino\Model01-Firmware\Model01-Firmware.ino
The current selected board needs the core 'arduino:arduino' that is not installed.
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\kajsa\AppData\Local\Arduino15\packages -hardware C:\Users\kajsa\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\kajsa\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\kajsa\Documents\Arduino\libraries -fqbn=avr:keyboardio:model01 -ide-version=10803 -build-path e:\Users\kajsa\AppData\Local\Temp\arduino_build_164937 -warnings=none -build-cache e:\Users\kajsa\AppData\Local\Temp\arduino_cache_299196 -prefs=build.warn_data_percentage=75 -verbose C:\Users\kajsa\Documents\Arduino\Model01-Firmware\Model01-Firmware.ino
Using board 'model01' from platform in folder: C:\Users\kajsa\Documents\Arduino\hardware\avr\keyboardio
Using core 'arduino' from platform in folder: C:\Users\kajsa\Documents\Arduino\hardware\avr\keyboardio
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MODEL01 -DARDUINO_ARCH_KEYBOARDIO -DUSB_VID=0x1209 -DUSB_PID=0x2301 '-DUSB_MANUFACTURER="Keyboardio"' '-DUSB_PRODUCT="Model 01"' -DKALEIDOSCOPE_HARDWARE_H="Kaleidoscope-Hardware-Model01.h" "-IC:\Users\kajsa\Documents\Arduino\hardware\avr\keyboardio\cores\arduino" "-IC:\Users\kajsa\Documents\Arduino\hardware\avr\keyboardio\variants\model01" "e:\Users\kajsa\AppData\Local\Temp\arduino_build_164937\sketch\Model01-Firmware.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_MODEL01 -DARDUINO_ARCH_KEYBOARDIO -DUSB_VID=0x1209 -DUSB_PID=0x2301 '-DUSB_MANUFACTURER="Keyboardio"' '-DUSB_PRODUCT="Model 01"' -DKALEIDOSCOPE_HARDWARE_H="Kaleidoscope-Hardware-Model01.h" "-IC:\Users\kajsa\Documents\Arduino\hardware\avr\keyboardio\cores\arduino" "-IC:\Users\kajsa\Documents\Arduino\hardware\avr\keyboardio\variants\model01" "e:\Users\kajsa\AppData\Local\Temp\arduino_build_164937\sketch\Model01-Firmware.ino.cpp" -o "e:\Users\kajsa\AppData\Local\Temp\arduino_build_164937\preproc\ctags_target_for_gcc_minus_e.cpp"
e:\Users\kajsa\AppData\Local\Temp\arduino_build_164937\sketch\Model01-Firmware.ino.cpp:1:21: fatal error: Arduino.h: No such file or directory
#include <Arduino.h>
^
compilation terminated.
exit status 1
Error compiling for board Keyboardio Model 01.```
That’s super weird. The arduino:arduino core is supposed to be installed automatically as part of the default Arduino package. You downloaded the Windows Installer version of the Arduino app from https://www.arduino.cc/en/Main/Software?
I will freely admit to not being skilled at the Windows side of things, but I’m committed to figuring this out with you.
In the “boards” menu, do you see a bunch of Arduino branded devices or just ours?
I’ve duplicated @kajsa.anderson’s issue. Here are the steps I did:
Installed Arduino IDE v1.8.3
In C:\Users\UserNme\Documents\Arduino I created hardware\avr (resulting in C:\Users\UserName\Documents\Arduino\hardware\avr)
Opened Git Bash command window and ran:
a. cd /c/Users/UserName/Documents/Arduino/hardware/avr
b. git clone --recursive https://github.com/keyboardio/Arduino-Boards.git keyboardio@jesse - Above you say you ranmaketo get the submodules. I did not havemakein my path. Do you also havecygwininstalled? Or ismakecoming fro the Aurdiono IDE? If so, what do I need to add to mypath? Given all that, I did the checkout with the --recursiveswitch. I think in the end I got the same endhttps://avatars.discourse.org/v2/letter/k/85f322/40.png results.
c. cd ../../ (new pwd is ~/Documents/Arduino)
d. git clone --recursive https://github.com/keyboardio/Model01-Firmware
Started Arduino IDE
Via the menu, selected: Tools > Board: > Keyboardio Model 01. The Aurdino IDE immediately displayed the error shown below. (Same as what Kajsa got)
Error:
The current selected board needs the core 'arduino:arduino' that is not installed.
Invalid library found in C:\Users\UserName\Documents\Arduino\hardware\avr\keyboardio\libraries\Kaleidoscope-Plugin: C:\Users\UserName\Documents\Arduino\hardware\avr\keyboardio\libraries\Kaleidoscope-Plugin
Invalid library found in C:\Users\UserName\Documents\Arduino\hardware\avr\keyboardio\libraries\Kaleidoscope-Plugin: C:\Users\UserName\Documents\Arduino\hardware\avr\keyboardio\libraries\Kaleidoscope-Plugin
The current selected board needs the core 'arduino:arduino' that is not installed.
The current selected board needs the core 'arduino:arduino' that is not installed.
Ok. That’s the same package I installed on my Windows 10 box. ash
While I used Microsoft’s bash environment to do my git clones, I agree your version is identical.
But the thing that’s missing was installed for me automatically as part of the Arduino installer. Hrm. I’m on deadline this weekend and can’t poke much right now, but it’s important to me to get this figured out next week if nobody beats me to it.
Understood. (Saw the KS update). Getting the final version of the production firmware completed obviously has much higher precedence than my tinkering around with the firmware for a keyboard I’ve yet to receive. So no worries on waiting to resolve this. I’ll continue to play around and do some research.
BTW, I’m using Windows 7. Curious if that plays a role?
Sorry to report I got the same error on a fresh Win 10 VM. I need to call it a day for today. I’ll try some new things tomorrow if I get a chance. Here’s hoping algernon can track it down.
I’m running Windows 10 and ran into the same issues as previously described following the procedure outlined by Javaru… The current selected board needs the core ‘arduino:arduino’ that is not installed…etc.
I’m basically a novice with Arduino, so take this for what it’s worth. I figured I’d tinker around with the software while I’m waiting for the hardware to arrive.