cstdint not found
andreclaudino opened this issue · comments
André Claudino commented
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?