Skip to content

Compile error on mac #302

@mischnic

Description

@mischnic

The examples don't compile on macOS, because libc++ is used by default instead of libstdc++ only with a deployment target of 10.9 or newer. (So --stdlib=libstdc++ need to be passed).

libui/examples/cpp-multithread/main.cpp:2:10: fatal error: 'thread' file not found
#include <thread>
         ^~~~~~~~
1 error generated.

(after the utflib-and-attrstr merge)

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