{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3290","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3290/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3290/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3290/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/3290","id":144772790,"number":3290,"title":"LCD on RC4","user":{"login":"MoonshineSG","id":687747,"avatar_url":"https://avatars.githubusercontent.com/u/687747?v=3","gravatar_id":"","url":"https://api.github.com/users/MoonshineSG","html_url":"https://github.com/MoonshineSG","followers_url":"https://api.github.com/users/MoonshineSG/followers","following_url":"https://api.github.com/users/MoonshineSG/following{/other_user}","gists_url":"https://api.github.com/users/MoonshineSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MoonshineSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoonshineSG/subscriptions","organizations_url":"https://api.github.com/users/MoonshineSG/orgs","repos_url":"https://api.github.com/users/MoonshineSG/repos","events_url":"https://api.github.com/users/MoonshineSG/events{/privacy}","received_events_url":"https://api.github.com/users/MoonshineSG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-31T02:42:05Z","updated_at":"2016-03-31T22:48:19Z","closed_at":null,"body":"Although all the lines relating to LCD in Configuration.h are commented out (I am not using any type of LCD on my printer), when trying to compile RC4 i get \r\n\r\n```.build/mega2560/src/Marlin.cpp:9:21: fatal error: LCD.h: No such file or directory```\r\n\r\nIn `~/marlin-github/.build/mega2560/src/Marlin.cpp`\r\n\r\n```\r\n#include <Arduino.h>\r\n#include \"Configuration.h\"\r\n#include \"pins.h\"\r\n    #include <Wire.h>\r\n    #include <LiquidCrystal_I2C.h>\r\n    #include <Wire.h>\r\n    #include <LiquidTWI2.h>\r\n    #include <Wire.h>\r\n    #include <LCD.h>\r\n    #include <LiquidCrystal_I2C.h>\r\n    #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)\r\n    #include <LiquidCrystal.h> // library for character LCD\r\n  #include <SPI.h>\r\n  #include <Wire.h>\r\n  #include <SPI.h>\r\n  #include <TMC26XStepper.h>\r\n  #include <SPI.h>\r\n  #include <L6470.h>\r\n\r\n#line 1 \"src/Marlin.ino\"\r\n/**\r\n[...]\r\n/* All the implementation is done in *.cpp files to get better compatibility with avr-gcc without the Arduino IDE */\r\n/* Use this file to help the Arduino IDE find which Arduino libraries are needed and to keep documentation on GCode */\r\n\r\n//#include \"Configuration.h\"\r\n//#include \"pins.h\"\r\n\r\n#if ENABLED(ULTRA_LCD)\r\n  #if ENABLED(LCD_I2C_TYPE_PCF8575)\r\n//    #include <Wire.h>\r\n//    #include <LiquidCrystal_I2C.h>\r\n  #elif ENABLED(LCD_I2C_TYPE_MCP23017) || ENABLED(LCD_I2C_TYPE_MCP23008)\r\n//    #include <Wire.h>\r\n//    #include <LiquidTWI2.h>\r\n  #elif ENABLED(LCM1602)\r\n//    #include <Wire.h>\r\n//    #include <LCD.h>\r\n//    #include <LiquidCrystal_I2C.h>\r\n  #elif ENABLED(DOGLCD)\r\n//    #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)\r\n  #else\r\n//    #include <LiquidCrystal.h> // library for character LCD\r\n  #endif\r\n#endif\r\n\r\n[...]\r\n```\r\n\r\nIt seams that all the LCD related files are included although not needed... \r\n\r\nCan someone explain/help ? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/204162164","html_url":"https://github.com/MarlinFirmware/Marlin/issues/3290#issuecomment-204162164","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/3290","id":204162164,"user":{"login":"jbrazio","id":264365,"avatar_url":"https://avatars.githubusercontent.com/u/264365?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrazio","html_url":"https://github.com/jbrazio","followers_url":"https://api.github.com/users/jbrazio/followers","following_url":"https://api.github.com/users/jbrazio/following{/other_user}","gists_url":"https://api.github.com/users/jbrazio/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrazio/subscriptions","organizations_url":"https://api.github.com/users/jbrazio/orgs","repos_url":"https://api.github.com/users/jbrazio/repos","events_url":"https://api.github.com/users/jbrazio/events{/privacy}","received_events_url":"https://api.github.com/users/jbrazio/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T22:48:19Z","updated_at":"2016-03-31T22:48:19Z","body":"Could you please post the actual error log from within the Arduino IDE ?"}}