Welcome! Log In Create A New Profile

Advanced

Marlin doesn't compile (SerialPrintFloat)

Posted by Stryker 
Marlin doesn't compile (SerialPrintFloat)
March 02, 2016 07:29AM
Hello everyone!
I'm having problems compiling and uploading Marlin to my Melzi.

I'm using an old version of Marlin (2011 I guess) and Arduino 1.0.4 in order to follow this tutorial .

Whenever I try to compile it, it spits out this error log:

MatrixMath.cpp: In member function 'void MatrixMath::MatrixPrint(float*, int, int, String)':
MatrixMath.cpp:29: error: 'serialPrintFloat' was not declared in this scope

I read online that it could be a problem with the SoftwareSerial or WProgram libraries but the fixes they gave don't work for me. Am I missing something? (I'm a real newbie in programming)

I've selected Sanguino Atmega 1284p @16Mhz as the board.

Thanks.
Re: Marlin doesn't compile (SerialPrintFloat)
March 02, 2016 12:35PM
I had a similar issue with compiling an old version of Marlin, and enabling LCD and SD support. In order to fix this (and to have a more reliable firmware), Download the latest version of Marlin: here

After you have done that, just copy over your current configuration.h settings (Go through each version side-by-side, as the configuration.h file has changed over time).

Attempt uploading to your Melzi (Make sure you have your correct COM port settings selected), and your error should be gone.

Edited 1 time(s). Last edit at 03/03/2016 03:11PM by cheaptrick2.
Sorry, only registered users may post in this forum.

Click here to login