Welcome! Log In Create A New Profile

Advanced

A problem compiling Gen3 Firmware

Posted by dangador 
A problem compiling Gen3 Firmware
June 19, 2012 12:15PM
the firmware doesnt compile for some reason, giving wierd errors and stuff... here is a copy of the error list, and thank you for your help smiling smiley

FiveD_GCode_Interpreter.cpp:913:18: error: operator '!=' has no left operand
In file included from FiveD_GCode_Interpreter.cpp:9:
/hostcom.h: In member function 'void hostcom::putInit()':
hostcom.h:111: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const char*)':
hostcom.h:112: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const float&)':
hostcom.h:113: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const long int&)':
hostcom.h:114: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(int)':
hostcom.h:115: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(double)':
hostcom.h:116: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put()':
hostcom.h:117: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::putEnd()':
hostcom.h:118: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::putWs()':
hostcom.h:119: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'byte hostcom::gotData()':
hostcom.h:120: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'char hostcom::get()':
hostcom.h:121: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::sendMessage(bool)':
hostcom.h:300: error: 'BED_TEMP_SENSOR' was not declared in this scope
hostcom.h:301: error: expected primary-expression before '==' token
hostcom.h:303: error: expected primary-expression before '==' token
hostcom.h:308: error: expected primary-expression before '==' token
hostcom.h:314: error: 'ENABLE_LINES' was not declared in this scope
In file included from FiveD_GCode_Interpreter.cpp:16:
/cartesian_dda.h: In member function 'bool cartesian_dda::xCanStep(long int, long int, bool)':
cartesian_dda.h:213: error: 'zeroHit' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::yCanStep(long int, long int, bool)':
cartesian_dda.h:281: error: 'zeroHit' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::zCanStep(long int, long int, bool)':
cartesian_dda.h:348: error: 'zeroHit' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void setup()':
FiveD_GCode_Interpreter:236: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void shutdown()':
FiveD_GCode_Interpreter:275: error: 'heatedBed' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void manage()':
FiveD_GCode_Interpreter:299: error: 'heatedBed' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void validate_hardware()':
FiveD_GCode_Interpreter:320: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:327: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:331: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:332: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:334: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:335: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:337: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:338: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:342: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:347: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:349: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter:352: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter.cpp: At global scope:
bed:10: error: 'BED_HEATER_PIN' was not declared in this scope
bed:10: error: 'BED_TEMPERATURE_PIN' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In member function 'bool intercom::talk()':
intercom:55: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In member function 'void intercom::tick()':
intercom:176: error: 'Serial1' was not declared in this scope
intercom:209: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In constructor 'PIDcontrol:tongue sticking out smileyIDcontrol(byte, byte, bool)':
pid:18: error: 'B_TEMP_PID_BAND' was not declared in this scope
pid:24: error: 'E_TEMP_PID_BAND' was not declared in this scope
Re: A problem compiling Gen3 Firmware
June 20, 2012 06:56AM
Looks like your configuration file isn't recognized somehow. Also, Arduino 1.0 has changed quite a few bits compared to older Arduino IDEs. My guess is, you want Arduino IDE 0023 or earlier.

If all doesn't help, Teacup firmware can run on a Gen3 as well. Teacup doesn't use the Arduino library, so no compatibility issues here. As FiveD and Teacup use different protocols between main board an extruder controller, you have to upload to both ATmegas when swapping firmware.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: A problem compiling Gen3 Firmware
June 20, 2012 09:44AM
I use Arduino 0022 to compile the standard FiveD Gen3 firmware with no problems.


Bob Morrison
Wörth am Rhein, Germany
"Luke, use the source!"
BLOG - PHOTOS - Thingiverse
Re: A problem compiling Gen3 Firmware
June 21, 2012 11:13AM
Hi,

version 18 also compiles without any trouble.
Re: A problem compiling Gen3 Firmware
September 30, 2012 06:31PM
I too have run into this problem. I am using arduino version 22, and it is still not working. Can someone send me their working files to try in case the version i've gotten a hold of has some sort of error in it? I'm not sure why putting the firmware on the boards is being so difficult for me.
Re: A problem compiling Gen3 Firmware
November 08, 2012 09:26PM
Hey Guys,

I've run into this before. I only read over it quick, but you need to change "
#include < HardwareSerial.h >
" in the pde file to "
#include < SoftwareSerial.h >
"

Hope this helps. If not send me your firmware I'll take a look.

I had to change it a bit to make the forum allow it. remove the spaces inside the < brackets.

Edited 2 time(s). Last edit at 11/08/2012 09:29PM by Adam.m.Nelson.
GMT
Re: A problem compiling Gen3 Firmware
December 16, 2012 02:56AM
Try on Arduino 18. I coud compile FiveD on it (but only the reprap-mendel-20100806 version), can't make the newer versions to compile.
Sorry, only registered users may post in this forum.

Click here to login