Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: #include "EEPROMAnything.h" error.
onuryuzak
Newbie
Posts: 8
Permalink
Post #include "EEPROMAnything.h" error.
on: March 7, 2017, 22:36
Quote

When I compile polargraph_server_a1.ino , İt gived to me this problem ;

I use Arduino Uno

C:\Users\ALIENW~1\AppData\Local\Temp\untitled2035231271.tmp\sketch_mar08a\polargraph_server_a1.ino:107:28: fatal error: EEPROMAnything.h: No such file or directory

#include "EEPROMAnything.h"

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

onuryuzak
Newbie
Posts: 8
Permalink
Post Re: #include "EEPROMAnything.h" error.
on: March 7, 2017, 22:42
Quote

I threw the polargraph server_a1.ino file containing the EEPROMAnything file into the arduino library, but that error went away, but instead of such an error sequence.

C:\Users\ALIENW~1\AppData\Local\Temp\untitled349277218.tmp\sketch_mar08a\polargraph_server_a1.ino: In function 'void setup()':

polargraph_server_a1:258: error: redefinition of 'void setup()'

 void setup() 

      ^

C:\Users\ALIENW~1\AppData\Local\Temp\untitled349277218.tmp\sketch_mar08a\sketch_mar08a.ino:1:6: note: 'void setup()' previously defined here

 void setup() {

      ^

polargraph_server_a1:272: error: 'configuration_motorSetup' was not declared in this scope

   configuration_motorSetup();

                            ^

polargraph_server_a1:273: error: 'eeprom_loadMachineSpecFromEeprom' was not declared in this scope

   eeprom_loadMachineSpecFromEeprom();

                                    ^

polargraph_server_a1:274: error: 'configuration_setup' was not declared in this scope

   configuration_setup();

                       ^

polargraph_server_a1:287: error: 'comms_ready' was not declared in this scope

   comms_ready();

               ^

polargraph_server_a1:290: error: 'penlift_penUp' was not declared in this scope

   penlift_penUp();

                 ^

C:\Users\ALIENW~1\AppData\Local\Temp\untitled349277218.tmp\sketch_mar08a\polargraph_server_a1.ino: In function 'void loop()':

polargraph_server_a1:296: error: redefinition of 'void loop()'

 void loop()

      ^

C:\Users\ALIENW~1\AppData\Local\Temp\untitled349277218.tmp\sketch_mar08a\sketch_mar08a.ino:6:6: note: 'void loop()' previously defined here

 void loop() {

      ^

polargraph_server_a1:298: error: 'comms_waitForNextCommand' was not declared in this scope

   if (comms_waitForNextCommand(lastCommand)) 

                                           ^

polargraph_server_a1:305: error: 'comms_parseAndExecuteCommand' was not declared in this scope

     comms_parseAndExecuteCommand(lastCommand);

                                             ^

exit status 1
redefinition of 'void setup()'
sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: #include "EEPROMAnything.h" error.
on: March 7, 2017, 23:04
Quote

The polargraph firmware source code consist of 14 files. 13 of them are .ino files, one is a .h file.

You need all fourteen in the same folder before you can compile. In the arduino IDE they'll open as 14 tabs.

The source does not need any merging or modification to compile.

The full source is here: https://github.com/euphy/polargraph_server_a1 or in the bundle from here: https://github.com/euphy/polargraphcontroller/releases/latest

Sn

onuryuzak
Newbie
Posts: 8
Permalink
Post Re: #include "EEPROMAnything.h" error.
on: March 8, 2017, 00:17
Quote

Quote from sandy on March 7, 2017, 23:04
The polargraph firmware source code consist of 14 files. 13 of them are .ino files, one is a .h file.

You need all fourteen in the same folder before you can compile. In the arduino IDE they'll open as 14 tabs.

The source does not need any merging or modification to compile.

The full source is here: https://github.com/euphy/polargraph_server_a1 or in the bundle from here: https://github.com/euphy/polargraphcontroller/releases/latest

Sn

Thank you for your quick turnaround. But when you throw this arduino into the library, it gives the error shown in the second message. How can I solve this?

onuryuzak
Newbie
Posts: 8
Permalink
Post Re: #include "EEPROMAnything.h" error.
on: March 8, 2017, 00:22
Quote

Quote from sandy on March 7, 2017, 23:04
The polargraph firmware source code consist of 14 files. 13 of them are .ino files, one is a .h file.

You need all fourteen in the same folder before you can compile. In the arduino IDE they'll open as 14 tabs.

The source does not need any merging or modification to compile.

The full source is here: https://github.com/euphy/polargraph_server_a1 or in the bundle from here: https://github.com/euphy/polargraphcontroller/releases/latest

Sn

Now , İts done. I uploaded to arduino but this time when I open Processing , İt said No serial connection. I think it Does not see the connection. How can I fixt it?

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.055 seconds.