Skip to content

Button example won't compile #3090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Hansgur opened this issue May 6, 2015 · 10 comments
Closed

Button example won't compile #3090

Hansgur opened this issue May 6, 2015 · 10 comments
Labels
OS: Windows Specific to the Windows version of the Arduino IDE Type: Duplicate Another item already exists for this topic

Comments

@Hansgur
Copy link

Hansgur commented May 6, 2015

The provided example > digital > Button; won't compile, yet if one inserts just "Serial.begin(9600);" in setup it works fine. (as in "DigitalInputPullup").

What could the reason be? Bug?

@mschlenker
Copy link
Contributor

I tried under Linux/x64 with "Arduino AVR boards" in version 1.6.3, 1.6.5 and 1.6.6. Compiles everywhere. Which version do you use? Which platform?

@matthijskooijman
Copy link
Collaborator

Compiles fine here as well. What error are you getting? What board do you have selected?

@Hansgur
Copy link
Author

Hansgur commented May 6, 2015

Hi. Arduino Uno R3.

Arduino: 1.7.2 (Windows XP), Board: "Arduino Uno"

collect2.exe: error: ld returned 5 exit status

Error compiling.
<<
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

@mschlenker
Copy link
Contributor

Oh. Arduino 1.7.2 is over there: https://github.com/arduino-org/Arduino/issues

A long story:
http://blog.arduino.cc/2015/03/20/dear-arduino-community/
http://hackaday.com/2015/03/12/arduino-v-arduino-part-ii/

Personal note: I am here because I regard Arduino as the community, not the Zero carbon footprint made in Italy boards. In my opinion you are better off using the arduino.cc IDE for anything else than the boards that are currently only offered by .org (namely the Zero Pro).

@Hansgur
Copy link
Author

Hansgur commented May 6, 2015

Thanks I'll have a look what they say.

@mschlenker
Copy link
Contributor

Please take a look at the issue #2989 - this probably might happen with the .cc version 1.6.3 as well. XP is deprecated since more than one year now, so please do not expect anyone to be very eager to fix this.

@Hansgur
Copy link
Author

Hansgur commented May 6, 2015

Hehe point taken (XP)

@mschlenker
Copy link
Contributor

@ffissore Please merge and close #2989 and #3090

@ffissore
Copy link
Contributor

ffissore commented May 8, 2015

Sorry @mschlenker I'm not sure I caught that: what should I merge?

@ffissore ffissore added the OS: Windows Specific to the Windows version of the Arduino IDE label May 8, 2015
@cmaglie cmaglie added the Type: Duplicate Another item already exists for this topic label May 26, 2015
@cmaglie
Copy link
Member

cmaglie commented May 26, 2015

Duplicate of #2989

@cmaglie cmaglie closed this as completed May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Windows Specific to the Windows version of the Arduino IDE Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

5 participants