Welcome! Log In Create A New Profile

Advanced

Arduino IDE falling across it's own feet

Posted by Traumflug 
Arduino IDE falling across it's own feet
November 09, 2012 10:23AM
Some few people can't compile Teacup firmware with Arduino IDE, because the IDE behaves differently than expected:
core.a(main.cpp.o): In function `main':
C:\Users\...\arduino-1.0.1\hardware\Gen7\cores\arduino/main.cpp:11: undefined reference to `setup'
C:\Users\...\arduino-1.0.1\hardware\Gen7\cores\arduino/main.cpp:14: undefined reference to `loop'
What's happening is pretty clear: Arduino IDE doesn't see the main() in mendel.c, but the main() in it's own library instead. Has somebody else seen this and perhaps found a way around this behaviour?


Generation 7 Electronics Electrochemical Machining RepRap DIY
Teacup FirmwarePCB Milling
Re: Arduino IDE falling across it's own feet
November 10, 2012 06:41AM
For future readers this turned out to be I had misunderstood the instruction and had created an extra folder 'teacup_firmware'
rather than renaming the firmware folder 'teacup_firmware' - must match filename 'teacup_firmware.pde' sorry if its obvious winking smiley
Re: Arduino IDE falling across it's own feet
November 11, 2012 05:29AM
Thanks, dave584. To be more precise, Teacup_Firmware.pde has to be inside a folder named Teacup_Firmware. At least in case sensitive file systems, it's case sensitive.


Generation 7 Electronics Electrochemical Machining RepRap DIY
Teacup FirmwarePCB Milling
Re: Arduino IDE falling across it's own feet
December 13, 2012 10:39AM
Hi Guys !

Having a hard time with this, can you explain me how to deal with ? My Teacup_Firmware.pde is in a folder named Teacup_Firmware but I still have that same error going on :-/
Re: Arduino IDE falling across it's own feet
December 13, 2012 10:43AM
Nevermind ... thanks ^^
Re: Arduino IDE falling across it's own feet
December 14, 2012 03:33AM
Hmm. I should really go ahead and solve this issue. *grumble*


Generation 7 Electronics Electrochemical Machining RepRap DIY
Teacup FirmwarePCB Milling
Sorry, only registered users may post in this forum.

Click here to login