Arduino Forum

Using Arduino => Programming Questions => Topic started by: on Nov 13, 2013, 05:40 pm

Title: 'Serial' was not declared in this scope on Arduino 2200 on OS X Mavericks
Post by: on Nov 13, 2013, 05:40 pm
I am using Arduino 2200 alpha on Intel Macbook Air, OS X 10.9. I am compiling Marlin firmware for Printrboard (https://github.com/ErikZalm/Marlin) on this.
While attempting to compile it, I get the following error
Code: [Select]

In file included from BlinkM.cpp:5:
Marlin.h: In function 'void serialprintPGM(const char*)':
Marlin.h:91: error: 'Serial' was not declared in this scope


I am unable to compile and flash my firmware because of this. Any help?
Title: Re: 'Serial' was not declared in this scope on Arduino 2200 on OS X Mavericks
Post by: holmes4 on Nov 13, 2013, 06:04 pm
Start by getting the latest stable IDE.

Mark
Title: Re: 'Serial' was not declared in this scope on Arduino 2200 on OS X Mavericks
Post by: cmiyc on Nov 13, 2013, 07:16 pm
The Marlin github looks like has "addon" versions.  One for pre-1.0 and post-1.0.

Do as Mark says, get the latest stable version (hint, post-1.0) and the proper "Marlin" files.