yan99033 / monodepth-cpp

Tensorflow C++ implementation for single-image depth estimation (Monodepth)
MIT License
105 stars 33 forks source link

CMake error: missing Protobuf_LIBRARY #10

Closed lykius closed 5 years ago

lykius commented 5 years ago

Hi, I'm trying to compile monodepth-cpp. I'm following your instructions and managed to build tensorflow c++ with bazel. In the last step of your instructions, "Organize Tensorflow library in local folder", protobuf .h files are copied to a local directory, but nothing is done for .so library files. So, I don't know which path I need to specify in FindProtobuf.cmake file for Protobuf_LIBRARY. Can you please give me a hint?

Thanks in advance.

lykius commented 5 years ago

I found the solution. I missed the part (then install dependencies separately) after bash tensorflow/contrib/makefile/download_dependencies.sh: you need to build and install Protobuf manually.