Welcome! Log In Create A New Profile

Advanced

compiling Sprinter under windows

Posted by PrintRind 
compiling Sprinter under windows
March 25, 2013 04:16PM
Hi,

tried the whole afternoon to compile the Sprinter software. (under windows)
I always get the following error when pressing the "Verify" button under Arduino v0022:

In file included from arc_func.cpp:26:
/Sprinter.h:8:26: error: WProgram.h: No such file or directory
In file included from arc_func.cpp:26:
Sprinter.h:96: error: variable or field 'manage_inactivity' declared void
Sprinter.h:96: error: 'byte' was not declared in this scope
Sprinter.h:107: error: variable or field 'kill' declared void
Sprinter.h:107: error: 'byte' was not declared in this scope


I tried to follow the instructions in the readme file on the sprinter page: [github.com]
I had to skip step 6 in this document because it didn't work. (I also thought that this step are not necessary for windows?)
Could this be the problem?

Anyway, would be great if anyone can help me with this!
Attachments:
open | download - error.JPG (76.1 KB)
Re: compiling Sprinter under windows
March 29, 2013 02:21PM
I've had that error with .23. I did get it to compile and upload with every version after .23 up through 1.0.4. I'm currently using Windows 8, but was using Windows 7 a month ago. It's possible that a needed library wasn't yet included. I didn't do much to try and fix it, just launched a different version. Maybe try another version, you can run them side by side.
Sorry, only registered users may post in this forum.

Click here to login