NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » Sample C++ Project

February 13, 2011
by fubar769
fubar769's Avatar

Does anyone have a sample C++ project that compiles and works with the nerdkit? I'm having some problems getting my project setup. It is not linking in the .o files from the /libnerdkits so I am getting a lot of undefined references.

If someone has a smaple make file and source that works with these libraries, I'd love to take a look at it to see what I am doing wrong. I even tried to use avr-g++ in the make, but no luck.

I figured it would save me some headaches if someone had something they wanted to share.

February 13, 2011
by fubar769
fubar769's Avatar

By the way... Everything works fine in C. I am just trying to move over to C++ so that I can make some objects out of some of the code I wrote.

Post a Reply

Please log in to post a reply.

Did you know that you can adjust most wire strippers to make it easier to strip insulation faster? Learn more...