Skip to content

Bolt C++ wrapper build issue on CentOS7 #26

@mangotreegf

Description

@mangotreegf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions