Skip to content

Build failing M_PI #167

@seemsindie

Description

@seemsindie

Hello, i am getting this error when running make:

/home/ivan/Projects/Private/Craft/deps/glfw/examples/boing.c: In function ‘deg2rad’:
/home/ivan/Projects/Private/Craft/deps/glfw/examples/boing.c:129:28: error: ‘M_PI’ undeclared (first use in this function)
    return deg / 360 * (2 * M_PI);
                            ^

I am using arch linux, i have cmake, make, glfw, tried to install other deps...
Any idea why is failing?

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