Problem compiling

Hello!

I'm having the following error.

1.0.4dev with LCD2004 display.

Any guidance plz?










sketch\Commands.cpp: In static member function 'static void Commands::commandLoop()':

Commands.cpp:37:13: error: 'sd' was not declared in this scope

         if (sd.sdmode == 20) {

             ^~

sketch\Commands.cpp:37:13: note: suggested alternative: 'sq'

         if (sd.sdmode == 20) {

             ^~

             sq

Commands.cpp:42:13: error: 'sd' was not declared in this scope

         if (sd.sdmode == 21) {

             ^~

sketch\Commands.cpp:42:13: note: suggested alternative: 'sq'

         if (sd.sdmode == 21) {

             ^~

             sq

Commands.cpp:54:17: error: 'sd' was not declared in this scope

             if (sd.savetosd) {

                 ^~

sketch\Commands.cpp:54:17: note: suggested alternative: 'sq'

             if (sd.savetosd) {

                 ^~

                 sq

sketch\Commands.cpp: In static member function 'static void Commands::waitUntilEndOfAllBuffers()':

Commands.cpp:151:17: error: 'sd' was not declared in this scope

             if (sd.savetosd) {

                 ^~

sketch\Commands.cpp:151:17: note: suggested alternative: 'sq'

             if (sd.savetosd) {

                 ^~

                 sq

sketch\Commands.cpp: In static member function 'static void Commands::processMCode(GCode*)':

Commands.cpp:2184:9: error: 'sd' was not declared in this scope

         sd.ls();

         ^~

sketch\Commands.cpp:2184:9: note: suggested alternative: 'sq'

         sd.ls();

         ^~

         sq

sketch\Printer.cpp: In static member function 'static void Printer::setup()':

Printer.cpp:1388:5: error: 'sd' was not declared in this scope

     sd.mount();

     ^~

sketch\Printer.cpp:1388:5: note: suggested alternative: 'sq'

     sd.mount();

     ^~

     sq

sketch\Printer.cpp: In static member function 'static void Printer::pausePrint()':

Printer.cpp:2821:9: error: 'sd' was not declared in this scope

         sd.pausePrint(true);

         ^~

sketch\Printer.cpp:2821:9: note: suggested alternative: 'sq'

         sd.pausePrint(true);

         ^~

         sq

sketch\Printer.cpp: In static member function 'static void Printer::continuePrint()':

Printer.cpp:2836:9: error: 'sd' was not declared in this scope

         sd.continuePrint(true);

         ^~

sketch\Printer.cpp:2836:9: note: suggested alternative: 'sq'

         sd.continuePrint(true);

         ^~

         sq

sketch\Printer.cpp: In static member function 'static void Printer::stopPrint()':

Printer.cpp:2851:9: error: 'sd' was not declared in this scope

         sd.stopPrint();

         ^~

sketch\Printer.cpp:2851:9: note: suggested alternative: 'sq'

         sd.stopPrint();

         ^~

         sq

Multiple libraries were found for "SPI.h"
 Used: C:\Program
exit status 1
'sd' was not declared in this scope

Comments

Sign In or Register to comment.