1

このバンドルをテキストメイトで使用しようとしています: https://github.com/nasser/arduino.tmbundle

正常にインストールできましたが、デスクトップに保存された基本的な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 を使いたいと思っています。

4

1 に答える 1

1

私は自分の問題を解決しました。これが私のやり方です。まず、Arduino IDE を使用して新しいスケッチを作成し、必要な場所に保存しました。

次に、Arduino が使用するライブラリ内の競合するフォルダーを削除しました。TextMate からそこに移動するには、[バンドル] > [Arduino] > [Arduino ライブラリを開く] を選択します。

そこから競合するフォルダーを削除します。最初に Esplora について不平を言ったので、それでゴミ箱に入れました。次に RobotController と Motors、そして WiFI です。

そのようなライブラリを削除する必要のない解決策を誰かが持っている場合は、そう言ってください。ただし、今のところ、これで問題なく動作します。

于 2013-10-12T23:21:53.993 に答える