Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile issues on macOS #22

Open
lucasjinreal opened this issue Jun 3, 2022 · 0 comments
Open

Compile issues on macOS #22

lucasjinreal opened this issue Jun 3, 2022 · 0 comments

Comments

@lucasjinreal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant