Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Compiler Error Marlin

geschrieben von Xhnnas 
Compiler Error Marlin
05. May 2014 05:44
Guten morgen,

Ich habe mir gestern eine neue marlin Version herunter geladen und bekomme seitdem folgenden folgenden Fehler beim compilieren:

LiquidTWI2 does not name a type

In file included from ultralcd.cpp:38:
ultralcd_implementation_hitachi_HD44780.h:169: error: 'LiquidTWI2' does not name a type
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_init()':
ultralcd_implementation_hitachi_HD44780.h:308: error: 'lcd' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:308: error: 'LTI_TYPE_MCP23017' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_clear()':
ultralcd_implementation_hitachi_HD44780.h:336: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_printPGM(const char*)':
ultralcd_implementation_hitachi_HD44780.h:344: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_status_screen()':
ultralcd_implementation_hitachi_HD44780.h:404: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_generic(uint8_t, const char*, char, char)':
ultralcd_implementation_hitachi_HD44780.h:515: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic(uint8_t, const char*, char, char*)':
ultralcd_implementation_hitachi_HD44780.h:537: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic_P(uint8_t, const char*, char, const char*)':
ultralcd_implementation_hitachi_HD44780.h:559: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawedit(const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:610: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sdfile_selected(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:624: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sdfile(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:644: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sddirectory_selected(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:664: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sddirectory(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:685: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_update_indicators()':
ultralcd_implementation_hitachi_HD44780.h:755: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'uint8_t lcd_implementation_read_slow_buttons()':
ultralcd_implementation_hitachi_HD44780.h:771: error: 'lcd' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:773: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:773: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_status_screen()':
ultralcd.cpp:192: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:192: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_main_menu()':
ultralcd.cpp:261: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:261: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_tune_menu()':
ultralcd.cpp:400: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:400: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_prepare_menu()':
ultralcd.cpp:431: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:431: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_x()':
ultralcd.cpp:482: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:482: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_y()':
ultralcd.cpp:512: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:512: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_z()':
ultralcd.cpp:542: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:542: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_e()':
ultralcd.cpp:567: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:567: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_menu_axis()':
ultralcd.cpp:577: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:577: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_menu()':
ultralcd.cpp:607: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:607: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_menu()':
ultralcd.cpp:618: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:618: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_menu()':
ultralcd.cpp:645: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:645: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_pla_settings_menu()':
ultralcd.cpp:680: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:680: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_abs_settings_menu()':
ultralcd.cpp:695: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:695: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_motion_menu()':
ultralcd.cpp:710: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:710: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_sdcard_menu()':
ultralcd.cpp:795: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:795: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp:798: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:798: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_int3()':
ultralcd.cpp:895: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:895: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_int3()':
ultralcd.cpp:895: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:895: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float3()':
ultralcd.cpp:896: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:896: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float3()':
ultralcd.cpp:896: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:896: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float32()':
ultralcd.cpp:897: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:897: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float32()':
ultralcd.cpp:897: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:897: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float5()':
ultralcd.cpp:898: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:898: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float5()':
ultralcd.cpp:898: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:898: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float51()':
ultralcd.cpp:899: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:899: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float51()':
ultralcd.cpp:899: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:899: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float52()':
ultralcd.cpp:900: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:900: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float52()':
ultralcd.cpp:900: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:900: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_long5()':
ultralcd.cpp:901: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:901: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_long5()':
ultralcd.cpp:901: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:901: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_update()':
ultralcd.cpp:1106: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1106: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_buzz(long int, uint16_t)':
ultralcd.cpp:1269: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'bool lcd_clicked()':
ultralcd.cpp:1275: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1275: error: 'BUTTON_RIGHT' was not declared in this scope

Woran kann das liegen? Library von ultra lcd ist installiert, benutze ein rumba Board
Re: Compiler Error Marlin
05. May 2014 06:42
Moin
Vermutlich wird die Header-Datei von "LiquidTWI2" nicht eingebunden/gefunden.

Such mal ob auf deinem System die Datei LiquidTWI2.h vorhanden ist.


Grüsse
Felix
Re: Compiler Error Marlin
05. May 2014 06:53
Ist nicht vorhanden, anstelle dessen aber die ultra lcd.h. Wo bekomme ich die notfalls her? Hatte mal die library von liquidtwi2 installiert hat aber auch nicht funktioniert.
Re: Compiler Error Marlin
05. May 2014 07:51
[github.com]

nur als tip, ich lade immer das .zip runter von arduino dann kann man davon kopien machen und in den kopien rumfummeln.
das halt sowas nicht passiert smiling smiley


Commercium ----> Ramps, RADDS, e3d-Hotends und Filament kauft man hier.. und neu auch Schrauben,Muttern und Unterlegscheiben
Probleme mit dem e3d und bei mir gekauft? Schickt es ein, ich teste es für euch ob es wirklich defekt ist smiling smiley
Print Quality Troubleshooting Guide hier lang..
Re: Compiler Error Marlin
05. May 2014 12:19
Hat leider nichts gebracht, der Fehler bleibt bestehen :-/
Re: Compiler Error Marlin
05. May 2014 12:29
Moin
Beschreibe mal was Du runter geladen hast und wie Du kompilieren willst und womit.

Ich versuche es nach zubauen.

Grüsse Felix
Re: Compiler Error Marlin
05. May 2014 12:45
Hi,

also heruntergeladen habe ich: [github.com]

habe die unter ArduinoAddons\Arduino_1.x.x genannten libraries wie gewohnt ins sketchbook geschoben. Sobald ich dann aber kompilieren drücke bekomme ich die Fehlermeldung. Ich benutze Arduino 1.0.5 r2. Bisher hatte ich eigentlich nie Probleme gehabt.
Re: Compiler Error Marlin
05. May 2014 13:15
Moin
OK.

Sie haben wohl vergessen die Library mitzuliefern:
Lade folgendes:
[github.com]

Entpacke in C:\Users\--->"DEIN USER NAME"<----\Documents\Arduino\libraries\LiquidTWI2\

Arduino IDE neustarten und kompilieren -> geht!

Grüsse
Felix
Re: Compiler Error Marlin
05. May 2014 13:19
Hey Felix,

danke für deine Hilfe, aber leider geht es immer noch nicht. Ich habe den Sketchordner manuell geändert, und die library dort hinzugefügt, leider keine Änderung. Muss ich das LiquidTWI2 noch irgendwo definieren?
Re: Compiler Error Marlin
05. May 2014 13:23
Hmm eigentlich nicht!

Wie sieht jetzt dein C:\Users\--->"DEIN USER NAME"<----\Documents\Arduino\libraries\LiquidTWI2\ Ordner aus?
Welche Ordner und Dateien sind dort drin?

Grüsse
Felix
Re: Compiler Error Marlin
05. May 2014 13:40
Hmm hab alles deinstalliert und nochmal neu installiert und die Dateien verschoben wie du gesagt hast. Jetzt funktioniert das compilieren einwandfrei. An dieser Stelle schonmal vielen Dank für die Hilfe. Habe auch direkt die Firmware hochgeladen.. jetzt gibt der Drucker keinen piep mehr von sich -.-

1-mal bearbeitet. Zuletzt am 05.05.14 13:40.
Re: Compiler Error Marlin
05. May 2014 13:44
HI
An dieser Stelle muss ich mich ausklinken.

Wie Du die config für deinen Drucker anpassen musst kann ich Dir nicht sagen. Da müssen andere Experten ran.

Grüsse
Felix
Re: Compiler Error Marlin
06. May 2014 03:18
Wie immer gilt config.h dranhaengen und genau schreiben was drin ist im drucker


Commercium ----> Ramps, RADDS, e3d-Hotends und Filament kauft man hier.. und neu auch Schrauben,Muttern und Unterlegscheiben
Probleme mit dem e3d und bei mir gekauft? Schickt es ein, ich teste es für euch ob es wirklich defekt ist smiling smiley
Print Quality Troubleshooting Guide hier lang..
Re: Compiler Error Marlin
06. May 2014 04:00
Problem gefunden, thermistor ist tot, warum auch immer, er ist eine Woche alt...
Re: Compiler Error Marlin
07. May 2014 14:30
So, sorry das es hier weitergeht. Es scheint irgendein Problem mit der LiquidTWI library zu geben. Ich kann es zwar hochladen, aber danach reagiert das Board nicht mehr. Habe es jetzt mit eine alten Version ausprobiert, wenn ich die library deinstalliere und die alte Firmware hochlade funktioniert der drucker. Es muss also irgendwie an diesem LiquidTWI zu liegen. Hat jemand einen Tipp für mich?
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen