Go Down

Topic: "class was not declared in this scope" I could swear it was. (Read 1 time) previous topic - next topic

aggrav8d

The moment I open the first file it automatically opens the second, same as in the Marlin sourcecode.
I tried it your way... no difference.

PaulS

Why is Vector3.h, being used with a .ino file, including WProgram.h? That does not exist after 1.0.

aggrav8d

It seems I've fixed the problem.  I checked it into Github if anyone wants to see.  A few of the operators had to be removed and I cut out some other stuff just to be on the lean side.

Thanks for the help!

michinyon

I don't think your sketch  can "include"  another  .ino file.

It normally has to include .h files

pYro_65

#include will grab any text file, some things that get included aren't valid c or c++ so putting it in a .c, .h, or .cpp would be misleading.

Go Up