seemecnc / Repetier-091-ROSTOCKMAX

Repetier 091 pre-configured for the Rostock MAX from SeeMeCNC
26 stars 33 forks source link

Error compiling #2

Open ZootAlors opened 10 years ago

ZootAlors commented 10 years ago

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and upload to rostock max v2

Build options changed, rebuilding all ui.cpp: In member function 'bool::showEntry() const': ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:120:29: error: expected primary-expression before 'const' f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:29: error: expected ')' before 'const' ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:123:30: error: expected primary-expression before 'const' f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:30: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::adjustMenuPos()': ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:1952:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:41: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)': ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2015:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:41: error: expected ')' before 'const' ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2019:43: error: expected primary-expression before 'const' uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:43: error: expected ')' before 'const' Error compiling.

thanx

seemecnc commented 10 years ago

Do you have the correct board type and COM port selected in Arduino?

Are you using a stable release 1.0.6?

JJ SeeMeCNC

On Sat, Oct 4, 2014 at 7:37 AM, ZootAlors notifications@github.com wrote:

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and upload to rostock max v2

Build options changed, rebuilding all ui.cpp: In member function 'bool::showEntry() const': ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:120:29: error: expected primary-expression before 'const' f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:29: error: expected ')' before 'const' ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:123:30: error: expected primary-expression before 'const' f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:30: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::adjustMenuPos()': ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:1952:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:41: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)': ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2015:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:41: error: expected ')' before 'const' ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2019:43: error: expected primary-expression before 'const' uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:43: error: expected ')' before 'const' Error compiling.

thanx

— Reply to this email directly or view it on GitHub https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2.

SeeMeCNC 65695 US Hwy 33 Goshen, Indiana 46526

ZootAlors commented 10 years ago

Thanx for the reply.

I was using a beta 1.58

But when installing 1.0.6 all systems go

Thanks again

From: SeeMeCNC [mailto:notifications@github.com] Sent: Monday, 6 October 2014 11:33 PM To: seemecnc/Repetier-091-ROSTOCKMAX Cc: Keith Skinner Subject: Re: [Repetier-091-ROSTOCKMAX] Error compiling (#2)

Do you have the correct board type and COM port selected in Arduino?

Are you using a stable release 1.0.6?

JJ SeeMeCNC

On Sat, Oct 4, 2014 at 7:37 AM, ZootAlors <notifications@github.com mailto:notifications@github.com > wrote:

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and upload to rostock max v2

Build options changed, rebuilding all ui.cpp: In member function 'bool::showEntry() const': ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:120:29: error: expected primary-expression before 'const' f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:29: error: expected ')' before 'const' ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:123:30: error: expected primary-expression before 'const' f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:30: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::adjustMenuPos()': ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:1952:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:41: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)': ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2015:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:41: error: expected ')' before 'const' ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2019:43: error: expected primary-expression before 'const' uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:43: error: expected ')' before 'const' Error compiling.

thanx

— Reply to this email directly or view it on GitHub https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2.

SeeMeCNC 65695 US Hwy 33 Goshen, Indiana 46526

— Reply to this email directly or view it on GitHub https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2#issuecomment-58020928 . https://github.com/notifications/beacon/9017636__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIyMzM4NiwiZGF0YSI6eyJpZCI6NDQ3NzQ5ODV9fQ==--8bdc63bce04ef4460412ebe1d11913a005dcccd4.gif

seemecnc commented 10 years ago

Great to hear,

There is definitely something about those Beta releases that don't like the RAMBO's. I guess that is why they are still Beta.

JJ

On Mon, Oct 6, 2014 at 10:35 AM, Keith Skinner notifications@github.com wrote:

Thanx for the reply.

I was using a beta 1.58

But when installing 1.0.6 all systems go

Thanks again

From: SeeMeCNC [mailto:notifications@github.com] Sent: Monday, 6 October 2014 11:33 PM To: seemecnc/Repetier-091-ROSTOCKMAX Cc: Keith Skinner Subject: Re: [Repetier-091-ROSTOCKMAX] Error compiling (#2)

Do you have the correct board type and COM port selected in Arduino?

Are you using a stable release 1.0.6?

JJ SeeMeCNC

On Sat, Oct 4, 2014 at 7:37 AM, ZootAlors <notifications@github.com mailto:notifications@github.com > wrote:

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and upload to rostock max v2

Build options changed, rebuilding all ui.cpp: In member function 'bool::showEntry() const': ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:120:29: error: expected primary-expression before 'const' f = HAL::readFlashByte((const progchar)&filter); ^ ui.cpp:120:29: error: expected ')' before 'const' ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:123:30: error: expected primary-expression before 'const' f2 = HAL::readFlashByte((const progchar)&nofilter); ^ ui.cpp:123:30: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::adjustMenuPos()': ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:1952:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:1952:41: error: expected ')' before 'const' ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)': ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2015:41: error: expected primary-expression before 'const' uint8_t mtype = HAL::readFlashByte((const progchar)&(men->menuType)); ^ ui.cpp:2015:41: error: expected ')' before 'const' ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] ui.cpp:2019:43: error: expected primary-expression before 'const' uint8_t entType = HAL::readFlashByte((const progchar)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command ^ ui.cpp:2019:43: error: expected ')' before 'const' Error compiling.

thanx

— Reply to this email directly or view it on GitHub https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2.

SeeMeCNC 65695 US Hwy 33 Goshen, Indiana 46526

— Reply to this email directly or view it on GitHub < https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2#issuecomment-58020928> . < https://github.com/notifications/beacon/9017636__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIyMzM4NiwiZGF0YSI6eyJpZCI6NDQ3NzQ5ODV9fQ==--8bdc63bce04ef4460412ebe1d11913a005dcccd4.gif>

— Reply to this email directly or view it on GitHub https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2#issuecomment-58025752 .

SeeMeCNC 65695 US Hwy 33 Goshen, Indiana 46526