Skip to content

macOS compatibility #2

Description

@dmnkb

Nut sure, if it's an actual issue or specific to my local machine (M1 Mac), but I'm getting the following issue when compiling the project using CMake:

imgui.h:262:5: error: unknown type name 'constexpr'
    constexpr ImVec2()                      : x(0.0f), y(0.0f) { }

Seems to be an issue with the C++ standard of my local compiler at first glance, but I made sure it is up to date (Apple clang version 15.0.0 (clang-1500.0.40.1)). Also, the C++ version is set to 17 in the CMakeLists.txt if I spot that correctly. Would be cool if you could assist here, would really live to get your project working! Thank's for your efforts!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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