Skip to content

Compile issues on macOS #22

Description

@lucasjinreal

Hi, I found on my macOS (M1 MacBook Pro) compiles will fail like this:

limitless-engine/include/limitless/fx/modules/distribution.hpp:58:22: error: use of undeclared identifier '__aurng'
                     __aurng() * (max.w - min.w) + min.w };
                     ^

limitless-engine/include/limitless/core/indexed_stream.hpp:85:67: error: no member named 'bind2nd' in namespace 'std'
            std::transform(cp.begin(), cp.end(), cp.begin(), std::bind2nd(std::plus(), this->stream.size()));
                                                             ~~~~~^
1 error generated.

/limitless-engine/include/limitless/core/buffer_builder.hpp:27:44: error: no type named 'string_view' in namespace 'std'
        std::shared_ptr<Buffer> build(std::string_view name, ContextState& ctx);
                                      ~~~~~^
1 error generated.

Do u have a clue on this ? seems related about c++ 17, some operands actually no longer available in c++17

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