1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Troubleshooting Marlin install

Discussion in 'Mods and Upgrades' started by Chris Pooley, Oct 19, 2017.

  1. Chris Pooley

    Chris Pooley New Member

    Joined:
    Sep 15, 2015
    Messages:
    11
    Likes Received:
    0
    Just trying to upload this to my printer but keep getting this error messafe even though I believe the board is correct and I am on the correct port?

    ^
    compilation terminated.
    exit status 1
    Error compiling for board Arduino/Genuino Mega or Mega 2560.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    There must be more to the errors than that.
    Enable verbose output.
     
  3. Chris Pooley

    Chris Pooley New Member

    Joined:
    Sep 15, 2015
    Messages:
    11
    Likes Received:
    0
    I now get this. This makes even less sense now. lol
    Wouldn't let me paste in so I have uploaded a note pad doc
     

    Attached Files:

  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    danzca6 likes this.
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    If you do not use a full graphic LCD then you have your CONFIGURATION.H file slightly misconfigured at a minimum
     
  6. Chris Pooley

    Chris Pooley New Member

    Joined:
    Sep 15, 2015
    Messages:
    11
    Likes Received:
    0
    I have the reprap XXL controller . I have downloaded the file but not sure how to add this to the firmware?
     
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    1. Start Arduino IDE
    2. In the Arduino IDE, import the library from the "Add Library" Menu.
     
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    You are not changing the firmware as it already wants the library. You are telling the compiler where it is.
     
  9. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,076
    If you use the XXL you don't need the file. Just comment out in the configuration.h the full graphics LCD and uncomment the XXL LCD.
     
    mark tomlinson likes this.
  10. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
  11. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,076
    Look for the following line in Configuration.h and comment out by adding two slashes // at the beginning of the line
    //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER //--ROBO-BH

    Look for the following line in Configuration.h and uncomment by removing the two slashes // from the beginning of the line
    #define REPRAP_DISCOUNT_SMART_CONTROLLER
     
    mark tomlinson likes this.
  12. Chris Pooley

    Chris Pooley New Member

    Joined:
    Sep 15, 2015
    Messages:
    11
    Likes Received:
    0
    I've inserted it and now getting this.
     

    Attached Files:

  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    First:
    1) You don't need the library, you have the other LCD
    2) You have a typo: "xinclude <U8glib.h>" should just be " include <U8glib.h>"

    that is the error.
     
  14. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    You needed to start another thread to troubleshoot this as it is all unrealted to the marlin changes. I am moving all of this to a new thread.
     
  15. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    22,553
    Likes Received:
    7,226
    If you do get it to compile and upload with the current configuration.h you have your LCD will not work :) Do the changes @danzca6 documented for you and forget about the UG8 library.
     

Share This Page