tensorflow: contrib/makefile: device_attributes.pb_text.h: No such file or directory
Environment info
Operating System: Arch Linux 64-bit GCC: 6.1.1 no CUDA or cdDNN used
Tensorflow installed from Git repo sources (v0.9.0).
Steps to reproduce
1. Get a clean copy tensorflow repository
2. Run tensorflow/contrib/makefile/download_dependencies.sh
3. Run make -f tensorflow/contrib/makefile/Makefile
4. The build sometimes fails with:
In file included from tensorflow/core/kernels/stack_ops.cc:21:0:
./tensorflow/core/common_runtime/device.h:38:65: fatal error: tensorflow/core/framework/device_attributes.pb_text.h: No such file or directory
#include "tensorflow/core/framework/device_attributes.pb_text.h"
^
compilation terminated.
make: *** [tensorflow/contrib/makefile/Makefile:322: tensorflow/tensorflow/contrib/makefile/gen/obj/tensorflow/core/kernels/stack_ops.o] Error 1
make: *** Waiting for unfinished jobs....
5. Run make
again and the problem disappears.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (8 by maintainers)
I got the same error, when I compile tensorflow with VS2015 in Windows 7. D:\tensorflow\tensorflow/core/util/tensor_slice_writer.h(36): fatal error C1083: Cannot open include file: ‘tensorflow/core/util/saved_tensor_slice.pb_text.h’: No such file or directory (compiling source file D:\tensorflow\tensorflow\core\kernels\save_restore_tensor.cc) could anyone help? Thanks a lot!