Compiling error, of course
Posted: Thu May 10, 2012 7:31 am
Hi ,
I have installed all the softwares (Arduino RA, then RAGEN), then did the update of the libraries.
I am trying to upload the initial memory settings, but i keep getting compile errors.....
I assume they are all the latest, as I downloaded them today.
ArduinoRA is version 1
So, the softwares are located in D:/notbackedup/arduino
and the working folder is D:/documents/arduino
The libraries are located in the documents folder with all the example sketches as well.
When running the updater for the libraries, I have no clue about where they are being copied to.
So, what is wrong with my setup ???
I have installed all the softwares (Arduino RA, then RAGEN), then did the update of the libraries.
I am trying to upload the initial memory settings, but i keep getting compile errors.....
I assume they are all the latest, as I downloaded them today.
ArduinoRA is version 1
Code: Select all
D:\NotBackedUp\Reef Angel Controller\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DARDUINO=101 -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\cores\arduino -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\variants\standard -ID:\Documents\Arduino\libraries\ReefAngel_Features -ID:\Documents\Arduino\libraries\Globals -ID:\Documents\Arduino\libraries\Time -ID:\Documents\Arduino\libraries\OneWire -ID:\Documents\Arduino\libraries\RA_NokiaLCD -ID:\Documents\Arduino\libraries\InternalEEPROM -ID:\Documents\Arduino\libraries\Wire -ID:\Documents\Arduino\libraries\Memory C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\InitialInternalMemory.cpp -o C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\InitialInternalMemory.cpp.o
In file included from InitialInternalMemory.cpp:2:
D:\Documents\Arduino\libraries\Globals/Globals.h:35: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Globals/Globals.h:36: warning: only initialized variables can be placed into program memory area
D:\NotBackedUp\Reef Angel Controller\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DARDUINO=101 -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\cores\arduino -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\variants\standard -ID:\Documents\Arduino\libraries\ReefAngel_Features -ID:\Documents\Arduino\libraries\Globals -ID:\Documents\Arduino\libraries\Time -ID:\Documents\Arduino\libraries\OneWire -ID:\Documents\Arduino\libraries\RA_NokiaLCD -ID:\Documents\Arduino\libraries\InternalEEPROM -ID:\Documents\Arduino\libraries\Wire -ID:\Documents\Arduino\libraries\Memory -ID:\Documents\Arduino\libraries\Globals\utility D:\Documents\Arduino\libraries\Globals\Globals.cpp -o C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\Globals\Globals.cpp.o
In file included from D:\Documents\Arduino\libraries\Globals\Globals.cpp:22:
D:\Documents\Arduino\libraries\Globals\/Globals.h:35: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Globals\/Globals.h:36: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Globals\Globals.cpp: In function 'void ConvertNumToString(char*, int, byte)':
D:\Documents\Arduino\libraries\Globals\Globals.cpp:123: warning: comparison between signed and unsigned integer expressions
D:\Documents\Arduino\libraries\Globals\Globals.cpp: In function 'byte intlength(int)':
D:\Documents\Arduino\libraries\Globals\Globals.cpp:32: warning: control reaches end of non-void function
D:\NotBackedUp\Reef Angel Controller\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DARDUINO=101 -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\cores\arduino -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\variants\standard -ID:\Documents\Arduino\libraries\ReefAngel_Features -ID:\Documents\Arduino\libraries\Globals -ID:\Documents\Arduino\libraries\Time -ID:\Documents\Arduino\libraries\OneWire -ID:\Documents\Arduino\libraries\RA_NokiaLCD -ID:\Documents\Arduino\libraries\InternalEEPROM -ID:\Documents\Arduino\libraries\Wire -ID:\Documents\Arduino\libraries\Memory -ID:\Documents\Arduino\libraries\Time\utility D:\Documents\Arduino\libraries\Time\DateStrings.cpp -o C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\Time\DateStrings.cpp.o
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:18: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:19: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:20: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:21: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:22: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:23: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:24: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:25: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:26: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:27: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:28: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:29: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:31: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:37: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:39: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:40: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:41: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:42: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:43: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:44: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:45: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:46: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:48: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Time\DateStrings.cpp:49: warning: only initialized variables can be placed into program memory area
D:\NotBackedUp\Reef Angel Controller\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DARDUINO=101 -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\cores\arduino -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\variants\standard -ID:\Documents\Arduino\libraries\ReefAngel_Features -ID:\Documents\Arduino\libraries\Globals -ID:\Documents\Arduino\libraries\Time -ID:\Documents\Arduino\libraries\OneWire -ID:\Documents\Arduino\libraries\RA_NokiaLCD -ID:\Documents\Arduino\libraries\InternalEEPROM -ID:\Documents\Arduino\libraries\Wire -ID:\Documents\Arduino\libraries\Memory -ID:\Documents\Arduino\libraries\Time\utility D:\Documents\Arduino\libraries\Time\Time.cpp -o C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\Time\Time.cpp.o
D:\NotBackedUp\Reef Angel Controller\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DARDUINO=101 -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\cores\arduino -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\variants\standard -ID:\Documents\Arduino\libraries\ReefAngel_Features -ID:\Documents\Arduino\libraries\Globals -ID:\Documents\Arduino\libraries\Time -ID:\Documents\Arduino\libraries\OneWire -ID:\Documents\Arduino\libraries\RA_NokiaLCD -ID:\Documents\Arduino\libraries\InternalEEPROM -ID:\Documents\Arduino\libraries\Wire -ID:\Documents\Arduino\libraries\Memory -ID:\Documents\Arduino\libraries\OneWire\utility D:\Documents\Arduino\libraries\OneWire\OneWire.cpp -o C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\OneWire\OneWire.cpp.o
D:\Documents\Arduino\libraries\OneWire\OneWire.cpp:439: warning: only initialized variables can be placed into program memory area
D:\NotBackedUp\Reef Angel Controller\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DARDUINO=101 -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\cores\arduino -ID:\NotBackedUp\Reef Angel Controller\hardware\arduino\variants\standard -ID:\Documents\Arduino\libraries\ReefAngel_Features -ID:\Documents\Arduino\libraries\Globals -ID:\Documents\Arduino\libraries\Time -ID:\Documents\Arduino\libraries\OneWire -ID:\Documents\Arduino\libraries\RA_NokiaLCD -ID:\Documents\Arduino\libraries\InternalEEPROM -ID:\Documents\Arduino\libraries\Wire -ID:\Documents\Arduino\libraries\Memory -ID:\Documents\Arduino\libraries\RA_NokiaLCD\utility D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp -o C:\Users\JPHILL~1\AppData\Local\Temp\build4646945220764989295.tmp\RA_NokiaLCD\RA_NokiaLCD.cpp.o
In file included from D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:22:
D:\Documents\Arduino\libraries\Globals/Globals.h:35: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\Globals/Globals.h:36: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:115: warning: only initialized variables can be placed into program memory area
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::Clear(byte, byte, byte, byte, byte)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:681: warning: comparison between signed and unsigned integer expressions
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::DrawSingleMonitor(int, byte, byte, byte, byte)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1249: warning: comparison between signed and unsigned integer expressions
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::DrawMonitor(byte, byte, ParamsStruct, byte, byte)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1268: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1270: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1272: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1274: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1277: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1279: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::DrawEEPromImage(int, int, byte, byte, int, int)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1311: error: 'class TwoWire' has no member named 'write'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1311: warning: suggest parentheses around + or - inside shift
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1312: error: 'class TwoWire' has no member named 'write'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1312: warning: suggest parentheses around + or - in operand of &
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1318: error: 'class TwoWire' has no member named 'read'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::DrawOption(int, byte, byte, byte, char*, char*, byte)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1401: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1402: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::DrawCancel(bool)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1430: warning: deprecated conversion from string constant to 'char*'
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp: In member function 'void RA_NokiaLCD::DrawOK(bool)':
D:\Documents\Arduino\libraries\RA_NokiaLCD\RA_NokiaLCD.cpp:1447: warning: deprecated conversion from string constant to 'char*'
and the working folder is D:/documents/arduino
The libraries are located in the documents folder with all the example sketches as well.
Code: Select all
Reef Angel Libraries Found: Development
Reef Angel Libraries Version: 0.9.6
So, what is wrong with my setup ???