我正在尝试将此捆绑包与我的同伴一起使用: https://github.com/nasser/arduino.tmbundle
我已经成功安装了它,但在我的桌面中保存的基本blink.ino草图中,当我尝试Bundles> Arduino>编译我在一个单独的窗口中弹出这个:
/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。
答案 0 :(得分:1)
我解决了自己的问题,这就是我做的方式: 首先,我使用Arduino IDE创建了一个新草图,并将其保存在我想要的位置。
然后我删除了Arduino使用的库中的冲突文件夹,从TextMate到达那里,你去:Bundles> Arduino>打开Arduino库
从那里你删除冲突的文件夹,首先它抱怨Esplora,所以进入垃圾箱。然后是RobotController和Motors,然后是WiFI。
如果有人有一个不需要我删除这些库的解决方案,请说明,但就目前而言,这很好。