Help, you can not compile

danyevo

New member
Hello everyone,
I tried to compile the v.241 with Arduino 1.6.8, it gives me this error:


Arduino:1.6.8 (Windows 7), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketchunusedbehavior.cpp:21:19: fatal error: robot.h: No such file or directory

#include "robot.h"

^

compilation terminated.

exit status 1
Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.



but the file is on dierctory.
 
Other error:



Arduino:1.6.8 (Windows 7), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Opzioni di compilazione cambiate, ricompilo tutto
sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

char *dayOfWeek[] = {"Sun","Mon","Tue","Wed","Thu","Fri","Sat"};

^

sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchdrivers.cpp:29:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

"STREV", "STROL", "STFOR", "MANU", "ROLW", "POUTFOR", "POUTREV", "POUTROLL"};

^

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:36:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:38:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

char *mowPatternNames[] = {"RAND", "LANE", "BIDIR"};

^

sketchrobot.cpp:38:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:38:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:40:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

char* consoleModeNames[]={"sen_counters", "sen_values", "perimeter"};

^

sketchrobot.cpp:40:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchrobot.cpp:40:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

sketchunusedbehavior.cpp:25:19: fatal error: robot.h: No such file or directory

#include "robot.h"

^

compilation terminated.

exit status 1
Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
 
Maybe you did not delete the complete 'unused' folder. Or you did not restart the IDE.

Don't give up! ;-)
 
You can find the sender code in the 'sender' folder of the Ardumower download:
http://wiki.ardumower.de/index.php?title=Ardumower_PCB#Download_and_flash_Arduino_code
 
I think this is what you are looking for?

http://wiki.ardumower.de/index.php?title=Ardumower_PCB#PCB_versions
 
Oben