arduino.tmbundle icon indicating copy to clipboard operation
arduino.tmbundle copied to clipboard

Esplora.cpp:54: error: 'A11' was not declared in this scope

Open futurend opened this issue 11 years ago • 7 comments

Fresh install of the bundle; Arduino 1.0.4; Default makefile with Arduino Duemilanove Atmega328; Sketch compiles and uploads in the Arduino IDE.

Every time I hit Cmd-B or Cmd-U I get this output:

/Applications/Arduino.app/Contents/Resources/Java/libraries/Esplora/Esplora.cpp:54: error: 'A11' was not declared in this scope make: *** [/Applications/Arduino.app/Contents/Resources/Java/libraries/Esplora/Esplora.o] Error 1

/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/me/Documents/Arduino/sketch -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/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/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/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/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/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 /Applications/Arduino.app/Contents/Resources/Java/libraries/Esplora/Esplora.cpp -o /Applications/Arduino.app/Contents/Resources/Java/libraries/Esplora/Esplora.o

futurend avatar Mar 21 '13 03:03 futurend

I get the same. Installed Arduino a couple of weeks ago. I also had to forward declare my functions which I didn't think was supposed to be nesessary with Arduino. I thought a preprocessor inserted forward declarations automatically.

ordovician avatar Mar 25 '13 19:03 ordovician

1.0.4 might be breaking things. Also, forward declaration should have been fixed in 16e55095941623522cee98b4469f1134171c899e. I'll take a look at this in a bit.

nasser avatar Mar 26 '13 19:03 nasser

I solved this problem with a meat cleaver: I located the library files (there's an option to do this conveniently provided in the bundle menu) and deleted the Esplora folder. Ended up having to delete the WiFi folder as well, but my sketch seems to at least compile now.

kozinski avatar Apr 05 '13 05:04 kozinski

Wenn ich Esplora lösche, bekomme ich als nächstes bei WIFI den Fehler, wenn ich Wifi lösche bekomme ich einen Fehler bei SD. Das kann ja auch nicht die Lösung sein alle Libraries zu löschen.

ghost avatar Apr 16 '13 08:04 ghost

Ok, the problem could be that you are not selecting the platform properly in the IDE before trying to compile.

In the IDE, go to Tools->Platform and select your board. Then try to recompile.

slogan621 avatar May 11 '13 05:05 slogan621

@slogan621 if that was a menu item 8 months ago, it no longer is one and I'm having the same problem... Ideas? Also is this still working for you after the newish Java update and/or TextMate update and/or Mavericks?

andrew-luhring avatar Jan 05 '14 00:01 andrew-luhring

IDE, go to Tools->Platform and select your board. Then try to recompile. suggested by slogan621 worked for me. In Tools->Board I had after installation Arduinno Uno, but my code was for Arduinno Esplora. I selected Arduinno Esplora and got "Done compiling" and Binary sketch size: 5,900 bytes (of a 28,672 byte maximum).

alexboutov avatar Jul 21 '14 03:07 alexboutov