2013-10-12 93 views
1

我試圖用這個包我的TextMate: https://github.com/nasser/arduino.tmbundleTextMate的Arduino的捆綁問題

我已經成功地安裝了它,但保存在我的桌面上,一個基本的素描blink.ino當我嘗試捆綁> 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。

回答

1

我解決了我自己的問題,下面是我做的: 首先,我使用Arduino IDE創建了一個新草圖,並將其保存在我想要的地方。

然後我刪除衝突的文件夾中的Arduino使用,從TextMate的那裏的圖書館,你去:束>的Arduino>打開Arduino的庫

在那裏,您刪除衝突的文件夾,首先它抱怨Esplora,所以進那個垃圾。然後是RobotController和Motors,然後是WiFI。

如果有人有一個解決方案,不需要我刪除這樣的庫,請這麼說,但現在,這工作得很好。