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

We need to specify the c++11 version explicitly in our build #40

Open
Adam57 opened this issue May 30, 2022 · 0 comments
Open

We need to specify the c++11 version explicitly in our build #40

Adam57 opened this issue May 30, 2022 · 0 comments

Comments

@Adam57
Copy link

Adam57 commented May 30, 2022

It will be really helpful for us, if we could add a line in here:

https://github.com/vaaaaanquish/lightgbm-rs/blob/main/lightgbm-sys/build.rs#L39-L43

    let dst = Config::new(&lgbm_root)
        .profile("Release")
        .uses_cxx11()
        .cxxflag("-std=c++11") // this is the line we need to add
        .define("BUILD_STATIC_LIB", "ON")
        .build();
getumen added a commit to getumen/lightgbm-rs that referenced this issue Jun 11, 2023
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