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

ERROR occurs when type command: make all #10

Closed
urumican opened this issue Aug 11, 2016 · 4 comments
Closed

ERROR occurs when type command: make all #10

urumican opened this issue Aug 11, 2016 · 4 comments

Comments

@urumican
Copy link

Hi, I have a problem when installing caffe.

When I use command:

make all

I get:

find: ‘examples’: No such file or directory
find: ‘examples’: No such file or directory
protoc --proto_path=src --cpp_out=.build_release/src src/caffe/proto/caffe.proto
make: protoc: Command not found
make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127

Is there any other dependencies that need to be installed? I don't exactly know what "example" referring to. And I am not sure what protoc is.

@anguyen8
Copy link
Contributor

@urumican : The examples error should not prevent you from compiling this (you could ignore the "No such file" message).

I think you're hitting a different issue, like BVLC/caffe#617

@urumican
Copy link
Author

Thank you very much! I tried them and it react differently. Now I get the result

.build_release/src/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^
.build_release/src/caffe/proto/caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers.  Please
  ^
.build_release/src/caffe/proto/caffe.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^
.build_release/src/caffe/proto/caffe.pb.cc: In function ‘void caffe::protobuf_AssignDesc_caffe_2fproto_2fcaffe_2eproto()’:
.build_release/src/caffe/proto/caffe.pb.cc:144:24: error: no matching function for call to ‘google::protobuf::internal::GeneratedMessageReflection::GeneratedMessageReflection(const google::protobuf::Descriptor*&, caffe::BlobProto*&, const int [6], int, int, int, const google::protobuf::DescriptorPool*, google::protobuf::MessageFactory*, long unsigned int)’
       sizeof(BlobProto));

Do you know which version of protoc you were uring?

@anguyen8
Copy link
Contributor

@urumican : Sorry, I don't remember exactly (it was 1.5 years ago), but protobuf 2.5.x or 2.6.x .

If you just want to reproduce the Evolutionary algorithm fooling results on ImageNet.
You could also do that using this (more recent) repo: https://github.com/Evolving-AI-Lab/innovation-engine

@urumican
Copy link
Author

Thank you very much!

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

2 participants