Closed yangql closed 5 years ago
Bazel doesn't pick up include files unless they are mentioned in BUILD file. Unfortunately this error means that your MySQL installation is different from default installation on Debian, thus you need to adjust BUILD file to make Ripple code compile. I believe all you need to do is to add "mysql/my_config_x86_64.h" here: https://github.com/google/mysql-ripple/blob/master/external_libs.BUILD.bazel#L29.
I'm very sorry for the inconvenience. I plan to change Ripple's BUILD file to pick up MySQL client directly from github instead of relying on the client installed on the system, but I didn't get to that yet.
thanks a lot ^_^ I have solved this problem by adding "mysql/my_config_x86_64.h" to the file external_libs.BUILD.bazel
uname -a
============================== when i execute bazel build :all ,I meet error logs as follows
but the file my_config_x86_64.h exists in /usr/include/mysql/
how can i solve the problem ?