Welcome! Log In Create A New Profile

Advanced

ERROR COMPILING SPRINTER HELP!!

Posted by lewuh 
ERROR COMPILING SPRINTER HELP!!
February 02, 2017 04:08PM
Im a noob with this and i dont know why i having this error every time i want to compile the sprinter, i have a ramps 1.4




Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\esteban\Documents\Arduino\Sprinter\Sprinter.ino:7:0:

sketch\Sprinter.h:3:22: fatal error: WProgram.h: No such file or directory

#include

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Re: ERROR COMPILING SPRINTER HELP!!
February 03, 2017 02:01AM
because arduino moved away from using WProgram.h in about version 1.0

You have to go into the .h and .cpp files and change any references from "WProgram.h" to Arduino.h

But that is only the first step.. who know what else has been changed in the 5 years since anyone used that.

Do yourself a favour and upgrade to marlin, which superseded sprinter a long time ago.
Sorry, only registered users may post in this forum.

Click here to login