dblalock / bolt

10x faster matrix and vector operations
Mozilla Public License 2.0
2.47k stars 171 forks source link

Bolt C++ wrapper build issue on CentOS7 #26

Open mangotreegf opened 2 years ago

mangotreegf commented 2 years ago

Dear Experts:

     Greetings!
     When I tried to run C++ code of Bolt on my own computer, I faced an issue: "undeclared inclusion(s) in rule '//:mithral'". Could you please shed some lights or clues with me?

Thank you so much. 🙏

Part of log file:

[root@cdh-hadoop cpp]# bazel build :main INFO: Analyzed target //:main (14 packages loaded, 4445 targets configured). INFO: Found 1 target... ERROR: /root/bolt/cpp/BUILD:17:11: undeclared inclusion(s) in rule '//:mithral': this rule is missing dependency declarations for the following files included by 'src/quantize/mithral.cpp': '/usr/local/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include/stdint.h' '/usr/local/gcc/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include/stddef.h'

...... ......

INFO: Elapsed time: 16.148s, Critical Path: 7.51s INFO: 0 processes. FAILED: Build did NOT complete successfully