Sprinter compiling doesn't work January 24, 2012 04:39PM |
Registered: 12 years ago Posts: 30 |
But I still get errors when compiling it:Quote
In case anybody is interested, Sprinter will compile with Arduino 1.0
with the following changes:
Sd2Card.cpp
#include --> #include
SdFat.h
void write(uint8_t b); --> size_t write(uint8_t b);
SdFile.h
#include --> #include
void SdFile::write(uint8_t b) { --> size_t SdFile::write(uint8_t b)
{
Sprinter.h
#include --> #include
Also, the IDE will rename "Sprinter.pde" to "Sprinter.ino" as ".ino"
is the new default file extension.
thanks for your helpQuote
In file included from SdFile.cpp:20:
SdFat.h:285: error: conflicting return type specified for 'virtual size_t SdFile::write(uint8_t)'
C:\arduino-1.0\hardware\Sanguino\cores\arduino/Print.h:37: error: overriding 'virtual void Print::write(uint8_t)'
Re: Sprinter compiling doesn't work January 24, 2012 06:32PM |
Registered: 13 years ago Posts: 339 |
Re: Sprinter compiling doesn't work January 25, 2012 04:26AM |
Registered: 12 years ago Posts: 30 |
Binary sketch size: 28824 bytes (of a 63488 byte maximum) avrdude: Can't find programmer id "arduino" Valid programmers are: dasa3 = serial port banging, reset=!dtr sck=rts mosi=txd miso=cts [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:776] dasa = serial port banging, reset=rts sck=dtr mosi=txd miso=cts [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:763] siprog = Lancos SI-Prog [www.lancos.com] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:750] ponyser = design ponyprog serial, reset=!txd sck=rts mosi=dtr miso=cts [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:737] frank-stk200 = Frank STK200 [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:702] blaster = Altera ByteBlaster [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:689] ere-isp-avr = ERE ISP-AVR [www.ere.co.th] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:679] atisp = AT-ISP V1.1 programming cable for AVR-SDK1 from [micro-research.co.th] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:669] dapa = Direct AVR Parallel Access cable [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:658] xil = Xilinx JTAG cable [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:645] futurlec = Futurlec.com programming cable. [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:628] abcmini = ABCmini Board, aka Dick Smith HOTCHIP [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:618] picoweb = Picoweb Programming Cable, [www.picoweb.net] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:608] sp12 = Steve Bolt's Programmer [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:597] alf = Nightshade ALF-PgmAVR, [nightshade.homeip.net] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:581] bascom = Bascom SAMPLE programming cable [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:571] dt006 = Dontronics DT006 [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:561] pony-stk200 = Pony Prog STK200 [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:549] stk200 = STK200 [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:533] bsd = Brian Dean's Programmer, [www.bsdhome.com] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:522] pavr = Jason Kyle's pAVR Serial Programmer [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:514] dragon_dw = Atmel AVR Dragon in debugWire mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:507] dragon_hvsp = Atmel AVR Dragon in HVSP mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:499] dragon_pp = Atmel AVR Dragon in PP mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:491] dragon_isp = Atmel AVR Dragon in ISP mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:483] dragon_jtag = Atmel AVR Dragon in JTAG mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:475] jtag2dw = Atmel JTAG ICE mkII in debugWire mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:467] jtag2isp = Atmel JTAG ICE mkII in ISP mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:459] jtag2 = Atmel JTAG ICE mkII [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:451] jtag2fast = Atmel JTAG ICE mkII [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:443] jtag2slow = Atmel JTAG ICE mkII [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:435] jtagmkII = Atmel JTAG ICE mkII [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:427] jtag1slow = Atmel JTAG ICE (mkI) [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:420] jtag1 = Atmel JTAG ICE (mkI) [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:412] jtagmkI = Atmel JTAG ICE (mkI) [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:404] avr911 = Atmel AppNote AVR911 AVROSP [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:398] avr109 = Atmel AppNote AVR109 Boot Loader [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:392] butterfly = Atmel Butterfly Development Board [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:386] usbtiny = USBtiny simple USB programmer [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:380] usbasp = USBasp, [www.fischl.de] [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:374] avr910 = Atmel Low Cost Serial Programmer [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:368] stk500hvsp = Atmel STK500 V2 in high-voltage serial programming mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:362] stk500pp = Atmel STK500 V2 in parallel programming mode [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:356] stk500v2 = Atmel STK500 Version 2.x firmware [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:350] stk500v1 = Atmel STK500 Version 1.x firmware [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:344] stk500 = Atmel STK500 [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:338] avrisp2 = Atmel AVR ISP mkII [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:328] avrispmkII = Atmel AVR ISP mkII [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:322] avrispv2 = Atmel AVR ISP V2 [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:316] avrisp = Atmel AVR ISP [C:\arduino-0023\hardware/tools/avr/etc/avrdude.conf:310]
Re: Sprinter compiling doesn't work March 12, 2012 06:41PM |
Re: Sprinter compiling doesn't work March 12, 2012 08:58PM |
Registered: 12 years ago Posts: 30 |
Re: Sprinter compiling doesn't work March 13, 2012 08:14PM |
Re: Sprinter compiling doesn't work March 13, 2012 09:20PM |
Registered: 12 years ago Posts: 27 |
Re: Sprinter compiling doesn't work March 14, 2012 09:03PM |
Re: Sprinter compiling doesn't work March 15, 2012 11:29PM |
Registered: 12 years ago Posts: 27 |
Re: Sprinter compiling doesn't work March 16, 2012 07:01AM |
Registered: 12 years ago Posts: 30 |
Re: Sprinter compiling doesn't work March 16, 2012 07:58PM |
Re: Sprinter compiling doesn't work March 17, 2012 01:32AM |
Registered: 12 years ago Posts: 27 |
Re: Sprinter compiling doesn't work March 17, 2012 06:37PM |
Registered: 12 years ago Posts: 17 |
Re: Sprinter compiling doesn't work March 30, 2012 03:06PM |
Registered: 12 years ago Posts: 4 |