Skip to content

Compatibility with Mac #7

@Divide-By-0

Description

@Divide-By-0

Currently, the code fails on Mac. We edited a few libraries:

#ifdef __linux__
#include <asm/termbits.h>
#elif defined(__APPLE__)
#include <termios.h>
#endif

But we still get this error on Mac:

 ./gcode-cli test.gcode /dev/tty.usbmodem14401 
libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6

Do you know what might cause this and how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions