-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while building tensorflow using cmake #19323
Comments
@mrry do you have an idea? Could be a proto issue. |
I'd guess the |
I was able to build by adding |
Thanks for confirming! I've sent out PR #19355 with a fix that localizes the |
The generated code depends on this header for `std::stable_sort()`. Until now we've been lucky that this header is included indirectly on the platforms for which we build. Fixes #19323.
System information
cmake ../tensorflow/contrib/cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib -DINCLUDE_INSTALL_DIR=/usr/include ; make
Describe the problem
While building tensorflow using cmake, files like
tensorflow/core/example/feature.pb_text.cc
,tensorflow/core/framework/attr_value.pb_text.cc
are generated with incorrect header includes.(They are missing
#include <algorithm>
). Similar issue can be found in this pull requestSource code / logs
The text was updated successfully, but these errors were encountered: