Jump to content

Recommended Posts

Posted · Error building Ultimaker2Marlin

Hi gang, I built the firmware from source a while ago, and wanted to try the latest, and after modifying my makefile, I get this linker error:

C:Ultimaker2MarlinMarlin>make build

CXX applet/Marlin.elf

applet/SdFile.o:(.rodata._ZTV6SdFile+0x8): undefined reference to `Print::write(

unsigned char const*, unsigned int)'

make: *** [applet/Marlin.elf] Error 1

 

Did I miss something?

 

(btw, I'm pointing to a copy of arduino022 for build)

 

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    Sorry I can't answer you question directly. However, I can tell you that I used the Arduino IDE to rebuild the UM version of marlin (found on the UM open source page) without a problem. There is a pde you can open to build it in the IDE,

    You might give that a try.

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    Hmmm, not sure what you mean. I just unzipped the Arduino IDE, open up the marlin pde, changing configuration.h and upload.

    I guess I don't understand why you are modifying the standard libraries. In fact, I believe the arduino IDE zip comes with everything you need and should only use the libraries from within it.

    I'm talking Windows 7 so that might be the difference.

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    I guess I don't understand why you are modifying the standard libraries. In fact, I believe the arduino IDE zip comes with everything you need and should only use the libraries from within it.

     

    The Arduino IDE always defines the TWI interrupt, however the UM2 firmware needs to have this interrupt to it's own use. (For performance reasons)

    Kevin, I recommend pointing at an Arduino 1.0.1, and the Makefile might be missing bits&pieces. I'm using a Code::Blocks project to build the firmware myself.

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    Woot! Thanks David, that did the trick. Apparently Arduino-022 doesn't work anymore

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    As I stand before the same issue: Did I get you guys right there is no way to compile it with the Arduino IDE? I tried 1.0.5 and failed.

    Does anyone have a working cbp file?

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    FWIW, I'm compiling it from the make file using the 1.0.5 libraries, basically using the same method as I outlined http://www.extrudable.me/2013/05/03/building-marlin-from-scratch/, for the Ultimaker Original firmware.

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    I use the Makefile build. http://goo.gl/xSQnbc is my latest; it works with arduino 1.0.1 and firmware version 14.06.1 and 14.06.2. (Just noticed I need to update the arduino version comment at the top -- that'll be in my next pull request to Daid.)

     

    I'm using Linux, but don't know of any reason why it shouldn't work on other platforms. Since Daid doesn't use the Makefile, I intend to keep this updated in https://github.com/stevegt/Ultimaker2Marlin, and expect to continue forwarding pull requests upstream to Daid.

     

  • Link to post
    Share on other sites

    Posted · Error building Ultimaker2Marlin

    I found a work-around with the Arduino IDE 1.0.5. I just moved the wire library into another folder where the IDE doesn't find it for compiling the fw.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...