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

cstdint not found #42

Open
andreclaudino opened this issue Jan 12, 2023 · 0 comments
Open

cstdint not found #42

andreclaudino opened this issue Jan 12, 2023 · 0 comments

Comments

@andreclaudino
Copy link

No matter if installing or building from source, there is an error when building lightgbm-sys crate:

  --- stderr
  /home/claudino/Projetos/OpenSource/lightgbm-rs/target/debug/build/lightgbm-sys-22263c7eae12fbfb/out/lightgbm/include/LightGBM/c_api.h:18:10: fatal error: 'cstdint' file not found
  thread 'main' panicked at 'Unable to generate bindings: ClangDiagnostic("/home/claudino/Projetos/OpenSource/lightgbm-rs/target/debug/build/lightgbm-sys-22263c7eae12fbfb/out/lightgbm/include/LightGBM/c_api.h:18:10: fatal error: 'cstdint' file not found\n")', lightgbm-sys/build.rs:52:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

My environment is an Ubuntu 22.04, when building lightgbm directly from source follwing instrucitons in this link, everything succeed.

Is there any kind of bug or should I change something in my environment?

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