Trying to build it using MinGW gcc:
go.bat
- Code: Select all Expand view
set path=c:\Qt\Tools\mingw530_32\bin
gcc -std=c++11 -I. -Ithird_party\eigen3 tensorflow/c/c_api.cc
These files are missing and must be created as empty files:
tensorflow/core/framework/allocation_description.pb.h
tensorflow/core/lib/core/error_codes.pb.h
tensorflow/core/framework/tensor.pb.h
tensorflow/core/framework/tensor_description.pb.h
tensorflow/core/framework/tensor_shape.pb.h
tensorflow/core/framework/types.pb.h
tensorflow/core/framework/attr_value.pb.h
tensorflow/core/framework/function.pb.h
tensorflow/core/framework/graph.pb.h
tensorflow/core/framework/op_def.pb.h
tensorflow/core/framework/versions.pb.h
tensorflow/core/protobuf/meta_graph.pb.h
tensorflow/core/framework/device_attributes.pb.h
tensorflow/core/protobuf/config.pb.h
tensorflow/core/framework/device_attributes.pb_text.h
tensorflow/core/framework/kernel_def.pb.h
tensorflow/core/framework/step_stats.pb.h
tensorflow/core/framework/node_def.pb.h
google/protobuf/arena.h
google/protobuf/compiler/importer.h
google/protobuf/descriptor.h
google/protobuf/io/coded_stream.h
google/protobuf/io/zero_copy_stream.h
google/protobuf/io/zero_copy_stream_impl_lite.h
google/protobuf/map.h
google/protobuf/repeated_field.h
google/protobuf/text_format.h
google/protobuf/util/json_util.h
google/protobuf/util/type_resolver_util.h