What version Arduino will repetier files for ORION compile?
Posted: Wed Oct 08, 2014 1:06 am
I downloaded the stock Repetier firmware files...."Repetier-Firmware-master.zip"
that compiles successfully in Arduino 1.5.8
I downloaded the Orion firmware files ....."Repetier-091-ORION-master.zip" from githum here...
https://github.com/seemecnc/Repetier-091-ORION
That gives me compile errors in ui.cpp....using Arduino 1.0.6, and 1.5.8
The stock ORION files obviously should compile in some version of Arduino....but not for me!
Errors are shown below.
any and all help appreciated....
C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=158 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp -o C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp.o
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp: In member function 'bool<anonymous struct>::showEntry() const':
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f = HAL::readFlashByte((const prog_char*)&filter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char*)&filter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:29: error: expected ')' before 'const'
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char*)&nofilter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char*)&nofilter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:30: error: expected ')' before 'const'
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
41: error: expected ')' before 'const'
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
41: error: expected ')' before 'const'
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
43: error: expected ')' before 'const'
Error compiling.
that compiles successfully in Arduino 1.5.8
I downloaded the Orion firmware files ....."Repetier-091-ORION-master.zip" from githum here...
https://github.com/seemecnc/Repetier-091-ORION
That gives me compile errors in ui.cpp....using Arduino 1.0.6, and 1.5.8
The stock ORION files obviously should compile in some version of Arduino....but not for me!
Errors are shown below.
any and all help appreciated....
C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=158 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp -o C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp.o
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp: In member function 'bool<anonymous struct>::showEntry() const':
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f = HAL::readFlashByte((const prog_char*)&filter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char*)&filter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:120:29: error: expected ')' before 'const'
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char*)&nofilter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char*)&nofilter);
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp:123:30: error: expected ')' before 'const'
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
uint8_t entType = HAL::readFlashByte((const prog_char*)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
C:\Users\BOBSHA~1\AppData\Local\Temp\build7855876795234742609.tmp\ui.cpp
Error compiling.