cjweeks / tensorflow-cmake

Integrate TensorFlow with CMake projects effortlessly
MIT License
331 stars 83 forks source link

protobuf.sh - command failed #15

Closed eflavio closed 7 years ago

eflavio commented 7 years ago

When I want to run the protobuf.sh script with sudo ./protobuf.sh install ../tensorflow I get the following output/error:

Finding Protobuf version in ../tensorflow using method 0... Command` failed - script terminated

Any idea how to resolve that?

eflavio commented 7 years ago

I followed the error myself and finally realized that you have to change a variable in protobuf.sh:

BEFORE:

HTTP_HEADER="native.http_archive(\s"

NEW:

HTTP_HEADER="patched_http_archive(\s"

That helped. Cheers

MiloAnthony commented 7 years ago

@eflavio I changed the code you mentioned ,but the error is still exist. Which tensorflow version do you use? I used 1.0.1