How to set up Eclipse for Arduino Development

Following numerous instructions for setting up Eclipse for Arduino development I come across the same problem; the project will not build, there are two reported errors, the first stating that "cannot find -lcore" and the second complaining that the .elf cannot be built, presumably because of the first error. The path is correct for the core.a binary but eclipse complains of being unable to find it. An example of the instructions that I have followed are here; itpedia.nyu.edu/wiki/Arduino_in_Eclipse. I have successfully followed instructions to use the USBtinyISP so I do not think that it is an issue with general setup. I have also tried variations of path locations and executing as SU, all to no sucess. Any help would be appreciated, I am running Ubuntu with Eclipse Galileo,
Thanks
Drew



6 answers
sort by: active | newest | oldest
Feb 4, 2010. 6:30 PMfrollard says:
That's quite the cookie of a question!

Does it work with the standard arduino ide?  (to ensure the tinyisp works)

Does Eclipse report any errors talking to the avr compiler?

I really have no idea where to start - I stick with the windoze flavour and the crappy default ide.
Feb 5, 2010. 6:52 PMfrollard says:
Thanks for the reply - I really have no further ideas :(

Best of luck!
Dec 28, 2010. 11:47 AMcdingdong says:
Maybe your library and core are named differently. If you name your core CoreName, your library should be named libCoreName. I believe I didn't get the -lcore problem after I correctly named them.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!