Skip to content

fix for error building head shared on linux #3

Description

@incompetentcoder

Hi, trying to build on linux from git head with shared on errors out on shapes.c:(.text+0x20eb): undefined reference to `stbrp_init_target'.
After taking a look at stb documentation I simply added #define STB_RECT_PACK_IMPLEMENTATION at the top of shapes.c and it built and works correctly for me.

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