-
Notifications
You must be signed in to change notification settings - Fork 449
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
Build StandardFirmata #117
Comments
Can you provide these additional details
|
the "not declared in this scope" errors are due to the functions being used before they're being declared - i.e. your ino file is calling disableI2CPins() and yet that function is defined further down the file rather than at the top before setup() or loop() this is actually bad c++ practice but the IDE preprocesses the code to let you get away with it, avr-gcc does not, its nothing to do with the makefile can we close this issue as its NotABug and already tracked via issue #59 |
sej7278 you are right, I'll move some code around and see if that compiles fine and with no problems. In the meantime, I say yes, this is not a bug... Thanks! |
i've been bitten so many times by this i knew how to help you, i really wish the IDE wouldn't hand-hold like it does, as its making it harder for people to move from arduino to avr c++ programming. anyway i hope you can get it working |
Tyring to build the StandardFirmata example (that may be found at arduino/libraries/Firmata/examples/StandardFirmata/StandardFirmata.ino )
The StandardFirmata.ino code includes the libraries Servo, Wire and Firmata, which I dutifully put on the ARDUINO_LIBS constant at the Makefile
When building with make, throws the following output:
The text was updated successfully, but these errors were encountered: