我正在尝试将此捆绑包与我的 textmate 一起使用: https ://github.com/nasser/arduino.tmbundle
我已经成功安装了它,但是在我的桌面中保存的一个基本的 blink.ino 草图中,当我尝试 Bundles > Arduino > Compile 时,我在一个单独的窗口中得到了这个弹出窗口:
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -DF_CPU=16000000L -DARDUINO=100 -I/Users/neiljohari/Desktop/Programming/Arduino/Blink -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/libraries/EEPROM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Esplora/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Motor/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Motor/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Motor/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Motor/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Servo/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Stepper/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/TFT/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Wire/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SD/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/TFT/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/TFT/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Robot_Control/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/TFT/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/WiFi/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Wire/utility/ -I/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr/include/avr -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard -mmcu=atmega328p applet/Blink.cpp -o applet/Blink.o
applet/Blink.cpp:1:22: error: WProgram.h: No such file or directory
applet/Blink.cpp: In function 'void setup()':
applet/Blink.cpp:18: error: 'OUTPUT' was not declared in this scope
applet/Blink.cpp:18: error: 'pinMode' was not declared in this scope
applet/Blink.cpp: In function 'void loop()':
applet/Blink.cpp:23: error: 'HIGH' was not declared in this scope
applet/Blink.cpp:23: error: 'digitalWrite' was not declared in this scope
make: *** [applet/Blink.o] Error 1
它没有上传到我的板上。我不理解这个错误,因为我习惯了 Arduino IDE,但我仍然希望使用 TextMate。