When compiling the code in Arduino-0022 under Ubuntu 11.04 linux. I get this error message.
In file included from FiveD_GCode_Interpreter.cpp:9:
hostcom.h: In member function ‘void hostcom::putInit()’:
hostcom.h:110: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::put(const char*)’:
hostcom.h:111: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::put(const float&)’:
hostcom.h:112: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::put(const long int&)’:
hostcom.h:113: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::put(int)’:
hostcom.h:114: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::put(double)’:
hostcom.h:115: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::put()’:
hostcom.h:116: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::putEnd()’:
hostcom.h:117: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘void hostcom::putWs()’:
hostcom.h:118: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘byte hostcom::gotData()’:
hostcom.h:119: error: ‘Serial’ was not declared in this scope
hostcom.h: In member function ‘char hostcom::get()’:
hostcom.h:120: error: ‘Serial’ was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function ‘void validate_hardware()’:
FiveD_GCode_Interpreter:313: error: ‘Serial’ was not declared in this scope
FiveD_GCode_Interpreter:324: error: ‘Serial’ was not declared in this scope
FiveD_GCode_Interpreter:325: error: ‘Serial’ was not declared in this scope
FiveD_GCode_Interpreter:327: error: ‘Serial’ was not declared in this scope
FiveD_GCode_Interpreter:329: error: ‘Serial’ was not declared in this scope
When compiling the code in Arduino-0022 under Ubuntu 11.04 linux. I get this error message.
In file included from FiveD_GCode_Interpreter.cpp:9: hostcom.h: In member function ‘void hostcom::putInit()’: hostcom.h:110: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::put(const char*)’: hostcom.h:111: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::put(const float&)’: hostcom.h:112: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::put(const long int&)’: hostcom.h:113: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::put(int)’: hostcom.h:114: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::put(double)’: hostcom.h:115: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::put()’: hostcom.h:116: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::putEnd()’: hostcom.h:117: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘void hostcom::putWs()’: hostcom.h:118: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘byte hostcom::gotData()’: hostcom.h:119: error: ‘Serial’ was not declared in this scope hostcom.h: In member function ‘char hostcom::get()’: hostcom.h:120: error: ‘Serial’ was not declared in this scope FiveD_GCode_Interpreter.cpp: In function ‘void validate_hardware()’: FiveD_GCode_Interpreter:313: error: ‘Serial’ was not declared in this scope FiveD_GCode_Interpreter:324: error: ‘Serial’ was not declared in this scope FiveD_GCode_Interpreter:325: error: ‘Serial’ was not declared in this scope FiveD_GCode_Interpreter:327: error: ‘Serial’ was not declared in this scope FiveD_GCode_Interpreter:329: error: ‘Serial’ was not declared in this scope