Error: no member named 'error' in namespace 'tensorflow'

Hi,

I’m using bazel 5.3.1 with tensorflow 2.9.1 and when building TF, the following error occurs, from status.h:

no member named ‘error’ in namespace ‘tensorflow’.

Is it possible that the reason is that those versions of bazel and tensorflow can’t compile together?

Thanks!

Hi @Roei_Davidesko,
Thank you for your patience, and apologies for the late reply.
There could be a compatibility issue between TensorFlow and Bazel. Ensure your bazel version is compatible with your TensorFlow version. Kindly refer to this Tested build configurations for compatible version. Thank you!