Welcome! Log In Create A New Profile

Advanced

Compilation problem with dev version

Posted by filipeCampos 
Compilation problem with dev version
October 12, 2015 05:36AM
Hi Repetier,

I downloaded the last development version 0.92 and it give the next compilation problem:
Already tried several options and i do not have any Z probe. I can only compile if i enable the options "Enable Z-probing" and "Enable axis compensation"
The configuration.h file attachment, using an radds + arduino due board.

Commands.cpp: In static member function 'static void Commands::processGCode(GCode*)':
Commands.cpp:1389:31: error: 'runZProbe' is not a member of 'Printer'
float refHeight = Printer::runZProbe(true,false,true);
^
Commands.cpp:1395:32: error: 'runZProbe' is not a member of 'Printer'
float height = Printer::runZProbe(false,false);
^
Commands.cpp:1399:13: error: 'runZProbe' is not a member of 'Printer'
Printer::runZProbe(false,true);
^
Error compiling.

Configuration.h

Edited 2 time(s). Last edit at 10/12/2015 06:38AM by filipeCampos.
Re: Compilation problem with dev version
October 13, 2015 03:28AM
Please redownload again. I think I have fixed the problem.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Compilation problem with dev version
October 13, 2015 05:51AM
Great support.. smiling smiley
Is compiling now, thanks.
Re: Compilation problem with dev version
October 19, 2015 04:44PM
Quote
repetier
Please redownload again. I think I have fixed the problem.

Hello.
I'm quite new in this subject of core xy, I'm getting file from web page but I have compilation error.
If I prepare file without LCD then compilation is ok.
Can you take a look and help me with getting this work.
Thanks.

In file included from Repetier.h:438:0,
from ui.cpp:20:
uimenu.h:657: error: 'ui_menu_ext_sel1' was not declared in this scope
#define UI_MENU_EXTCOND &ui_menu_ext_temp0,&ui_menu_ext_temp1,&ui_menu_ext_off0,&ui_menu_ext_off1,&ui_menu_ext_sel0,&ui_menu_ext_sel1,
^
ui.h:490:93: note: in definition of macro 'UI_MENU'
#define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
^
uimenu.h:680:63: note: in expansion of macro 'UI_MENU_EXTCOND'
#define UI_MENU_EXTRUDER {UI_MENU_ADDCONDBACK UI_MENU_BEDCOND UI_MENU_EXTCOND &ui_menu_go_epos,&ui_menu_ext_origin UI_DITTO_COMMANDS}
^
uimenu.h:681:26: note: in expansion of macro 'UI_MENU_EXTRUDER'
UI_MENU(ui_menu_extruder,UI_MENU_EXTRUDER,UI_MENU_BACKCNT+UI_MENU_BEDCNT+UI_MENU_EXTCNT+2+UI_DITTO_COMMANDS_COUNT)
^
uimenu.h:938: error: 'ui_menu_ext_sel1' was not declared in this scope
#define UI_MENU_CONFEXTCOND &ui_menu_ext_sel0,&ui_menu_ext_sel1,&ui_menu_cext_xoffset,&ui_menu_cext_yoffset,
^
ui.h:490:93: note: in definition of macro 'UI_MENU'
#define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
^
uimenu.h:944:44: note: in expansion of macro 'UI_MENU_CONFEXTCOND'
#define UI_MENU_CEXTR {UI_MENU_ADDCONDBACK UI_MENU_CONFEXTCOND &ui_menu_cext_steps,&ui_menu_cext_start_feedrate,&ui_menu_cext_max_feedrate,&ui_menu_cext_acceleration,&ui_menu_cext_watch_period,&ui_menu_ext_wait_units,&ui_menu_ext_wait_temp UI_MENU_ADVANCE UI_MENU_PIDCOND}
^
uimenu.h:945:23: note: in expansion of macro 'UI_MENU_CEXTR'
UI_MENU(ui_menu_cextr,UI_MENU_CEXTR,7+UI_MENU_BACKCNT+UI_MENU_PIDCNT+UI_MENU_CONFEXTCNT+UI_MENU_ADV_CNT)
^
ui.cpp: In member function 'void UIDisplay::parse(const char*, bool)':
ui.cpp:1282: error: 'dittoMode' is not a member of 'Extruder'
addInt(Extruder::dittoMode,1,' ');
^
'ui_menu_ext_sel1' was not declared in this scope

Edited 1 time(s). Last edit at 10/19/2015 04:53PM by j.fabianski.
Attachments:
open | download - Configuration.h (29.3 KB)
open | download - Configuration_no lcd.h (29.3 KB)
Re: Compilation problem with dev version
October 19, 2015 05:10PM
It was a missing exception for a new feature. Should now also compile for you in the new version.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Compilation problem with dev version
October 20, 2015 05:19AM
Hello.
I have put all parameters again and it's still problem.
Can you take a look.
Thx.


In file included from Repetier.h:438:0,
from ui.cpp:20:
uimenu.h:657: error: 'ui_menu_ext_sel1' was not declared in this scope
#define UI_MENU_EXTCOND &ui_menu_ext_temp0,&ui_menu_ext_temp1,&ui_menu_ext_off0,&ui_menu_ext_off1,&ui_menu_ext_sel0,&ui_menu_ext_sel1,
^
ui.h:490:93: note: in definition of macro 'UI_MENU'
#define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
^
uimenu.h:680:63: note: in expansion of macro 'UI_MENU_EXTCOND'
#define UI_MENU_EXTRUDER {UI_MENU_ADDCONDBACK UI_MENU_BEDCOND UI_MENU_EXTCOND &ui_menu_go_epos,&ui_menu_ext_origin UI_DITTO_COMMANDS}
^
uimenu.h:681:26: note: in expansion of macro 'UI_MENU_EXTRUDER'
UI_MENU(ui_menu_extruder,UI_MENU_EXTRUDER,UI_MENU_BACKCNT+UI_MENU_BEDCNT+UI_MENU_EXTCNT+2+UI_DITTO_COMMANDS_COUNT)
^
uimenu.h:938: error: 'ui_menu_ext_sel1' was not declared in this scope
#define UI_MENU_CONFEXTCOND &ui_menu_ext_sel0,&ui_menu_ext_sel1,&ui_menu_cext_xoffset,&ui_menu_cext_yoffset,
^
ui.h:490:93: note: in definition of macro 'UI_MENU'
#define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
^
uimenu.h:944:44: note: in expansion of macro 'UI_MENU_CONFEXTCOND'
#define UI_MENU_CEXTR {UI_MENU_ADDCONDBACK UI_MENU_CONFEXTCOND &ui_menu_cext_steps,&ui_menu_cext_start_feedrate,&ui_menu_cext_max_feedrate,&ui_menu_cext_acceleration,&ui_menu_cext_watch_period,&ui_menu_ext_wait_units,&ui_menu_ext_wait_temp UI_MENU_ADVANCE UI_MENU_PIDCOND}
^
uimenu.h:945:23: note: in expansion of macro 'UI_MENU_CEXTR'
UI_MENU(ui_menu_cextr,UI_MENU_CEXTR,7+UI_MENU_BACKCNT+UI_MENU_PIDCNT+UI_MENU_CONFEXTCNT+UI_MENU_ADV_CNT)
^
'ui_menu_ext_sel1' was not declared in this scope
Attachments:
open | download - Configuration.h (29.3 KB)
Re: Compilation problem with dev version
October 20, 2015 08:32AM
I see. Only tested 1 and 4 extruder, not 2 where you get your error. Is now also fixed.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Compilation problem with dev version
October 20, 2015 08:42AM
I goes now with verification thanks a lot for very fast help smiling smiley
Sorry, only registered users may post in this forum.

Click here to login