Skip to content
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

求助CMake Error #10

Closed
lyk125 opened this issue May 9, 2017 · 4 comments
Closed

求助CMake Error #10

lyk125 opened this issue May 9, 2017 · 4 comments

Comments

@lyk125
Copy link

lyk125 commented May 9, 2017

你好,使用./tools/build_android.sh时,出现错误
CMake Error: The source directory "/home/relaybot/android/caffe-mobile/third_party/protobuf-3.1.0/protobuf-3.1.0/cmake" does not exist.
该如何解呢?

@solrex
Copy link
Owner

solrex commented May 10, 2017

@lyk125 应该是脚本下载 protobuf 的 tar 包的时候,没有下载下来,或者没有下载完整。你检查一下 third_party/protobuf-3.1.0.tar.gz 是否能正常解压?

@xueyedamo
Copy link

xueyedamo commented May 11, 2017

build-protobuf-3.1.0.sh脚本里面function build-Android 里面缺少了个cd ..造成cmake路径不对,还有这个软连接不对,文件夹名字错了,正确的是ln -sf ../../Linux-protobuf/bin/protoc protoc

solrex added a commit that referenced this issue May 11, 2017
@solrex
Copy link
Owner

solrex commented May 11, 2017

@xueyedamo 谢谢你,已修复,请检查。

solrex added a commit that referenced this issue May 11, 2017
@lyk125
Copy link
Author

lyk125 commented May 18, 2017

@xueyedamo @solrex 感谢两位大神的解答,问题解决了

@solrex solrex closed this as completed May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants