I've tried using 'extern "C" ' but it barfs on the "C" part, so somewhere something's wrong.
Strange, that sounds like you are not using a C++ compiler to compile that
C++ file -- but then again, your original error suggests you certainly do.
Actual command lines and error messages would help ;-)
Note that this is using a brand-new project-from-template in the XDE, so settings weren't messed with *at all* :roll:
It would be nice if things worked out of the box, sure :-)
Only difference I can spot right now is that my file is a .cpp and yours is .cc, which might call a different linker?
The linker never sees the source file, just the object file. It could be XDE only knows
what compiler to use for certain extensions, I have no idea, I never use XDE. Common
C++ source file name extensions are .C, .cc, .cxx, .cpp, and they all mean exactly the