Putting Repetier Firmware on to a Sanguino board

Hi, Can anyone possibly help? I've been trying to get my head around this problem for quite a while now. I've searched the net and these forums but I either dont understand enough or the OPoster doesn't explain how they fixed the problems anyway...

I get this massive error which looks like something is missing or it cant find some files but I'm not sure how to fix the issue.

Im using arduino 1.0 and this is the link to the firmware:https://github.com/repetier/Repetier-Firmware#readme

Any help would be mega useful,

Many many thanks in advance!

In file included from Commands.cpp:22:
Reptier.h:226:19: error: Print.h: No such file or directory
Reptier.h:229:21: error: Arduino.h: No such file or directory
Commands.cpp:26:26: error: pins_arduino.h: No such file or directory
In file included from Reptier.h:234,
                 from Commands.cpp:22:
gcode.h:38: error: 'byte' does not name a type
gcode.h:82: error: expected class-name before '{' token
gcode.h:113: error: 'Print' has not been declared
gcode.h:124: error: expected class-name before '{' token
gcode.h:167: error: 'byte' does not name a type
gcode.h:168: error: 'byte' has not been declared
gcode.h:191: error: 'byte' does not name a type
In file included from Reptier.h:245,
                 from Commands.cpp:22:
ui.h:394: error: 'byte' does not name a type
ui.h:395: error: 'byte' does not name a type
ui.h:396: error: 'byte' does not name a type
ui.h:397: error: 'byte' does not name a type
ui.h:399: error: 'byte' does not name a type
ui.h:411: error: 'byte' has not been declared
ui.h:413: error: 'byte' has not been declared
ui.h:422: error: 'byte' has not been declared
ui.h:422: error: expected ',' or '...' before 'charmap'
ui.h:422: error: ISO C++ forbids declaration of 'byte' with no type
ui.h:424: error: 'byte' has not been declared
ui.h:425: error: 'byte' has not been declared
ui.h:772: error: variable or field 'beep' declared void
ui.h:772: error: 'byte' was not declared in this scope
ui.h:772: error: 'byte' was not declared in this scope
In file included from Commands.cpp:22:
Reptier.h:302: error: 'byte' does not name a type
Reptier.h:303: error: 'byte' does not name a type
Reptier.h:304: error: 'byte' does not name a type
Reptier.h:313: error: 'byte' does not name a type
Reptier.h:314: error: 'byte' does not name a type
Reptier.h:318: error: 'byte' does not name a type
Reptier.h:321: error: 'byte' does not name a type
Reptier.h:331: error: 'byte' does not name a type
Reptier.h:335: error: 'byte' does not name a type
Reptier.h:338: error: 'byte' does not name a type
Reptier.h:356: error: 'byte' does not name a type
Reptier.h:357: error: 'byte' does not name a type
Reptier.h:365: error: 'byte' does not name a type
Reptier.h:380: error: variable or field 'extruder_select' declared void
Reptier.h:380: error: 'byte' was not declared in this scope
Reptier.h:384: error: 'byte' has not been declared
Reptier.h:388: error: variable or field 'extruder_set_direction' declared void
Reptier.h:388: error: 'byte' was not declared in this scope
Reptier.h: In function 'void extruder_step()':
Reptier.h:404: error: 'HIGH' was not declared in this scope
Reptier.h: In function 'void extruder_unstep()':
Reptier.h:446: error: 'LOW' was not declared in this scope
Reptier.h: At global scope:
Reptier.h:483: error: variable or field 'extruder_set_direction' declared void
Reptier.h:483: error: 'byte' was not declared in this scope

Are you able to compile any sketch? Does Blink compile?

Many thanks for helping :)

I've managed to get the errors right down by starting again. I've also noticed that depending on which board I choose I get different errors for example:

Sanguino W/ ATmega644P = Compiles OK (but I dont have this board so no good for me) Sanguino W/ ATmega1284p 8mhz = Error

In file included from Reptier.h:229,
                 from Commands.cpp:22:
/Users/james/Desktop/Arduino 1.0.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Arduino.h:212:26: error: pins_arduino.h: No such file or directory

Sanguino W/ ATmega1284p 16mhz = Doesn't even work! It says: "No board selected; please choose a board from the Tools > Board menu" - which I have obviously done so not sure whats going on there??

To answer your question I get exactly the same sort of results depending on the board selected.

I'm just not sure how to solve this problem :L

Thanks for helping

Where did you get the Sanguino core?

Have you tried one of the other 1284 cores?

I got it from here: https://github.com/repetier/Repetier-Firmware

Where could I find other cores?

Thanks :)

7immy: Where could I find other cores?

Searching this forum.

https://github.com/maniacbug/mighty-1284p/ http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/

A variant... http://arduino.cc/forum/index.php/topic,104780.msg884617.html#msg884617

Hey again :)

Thanks for the links! A little more searching led me to this blogger stevesfixitshop.blogspot.co.uk/ who is also using the 1284p chip on his sanguino board. He says that its a lot more sensitive than the alternative 644p chip and has a lot more problems when I comes to loading stuff to it.

For anyone interested: http://stevesfixitshop.blogspot.co.uk/2011/12/sanguinololu-13a-part-2-trouble-in.html http://stevesfixitshop.blogspot.co.uk/2011/12/sanguinololu-13a-part-3not-out-of-woods.html

I'm gunna give it a go and report back

thanks :)