Skip to content

How to compile in Arduino #184

@rmilyard

Description

@rmilyard

This is the error I get when trying to compile with Arduino 1.8.5

Arduino: 1.8.5 (Windows 10), Board: "Original Prusa i3 MK3 Multi Material 2.0 upgrade"

In file included from sketch\main.cpp:20:0:

version.h:7: error: stray '$' in program

static const uint16_t fw_buildnr = ${GIT_PARENT_COMMITS}; //!< number of commits preceeding current HEAD

                                ^

version.h:7: error: 'GIT_PARENT_COMMITS' was not declared in this scope

static const uint16_t fw_buildnr = ${GIT_PARENT_COMMITS}; //!< number of commits preceeding current HEAD

                                  ^~~~~~~~~~~~~~~~~~

exit status 1
stray '$' in program

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions