MXNetToCaffeConverter icon indicating copy to clipboard operation
MXNetToCaffeConverter copied to clipboard

make error

Open abner2015 opened this issue 7 years ago • 4 comments

i had chaned the paths. when i run "make", the error as: #include "caffe/proto/caffe.pb.h" ^ compilation terminated. make: *** [objs/mxnet_to_caffe.o] error 1

what is the reason? Thank you!

abner2015 avatar Mar 16 '17 07:03 abner2015

In Caffe you need to generate caffe.pb.h manually using protoc. In the directory you installed Caffe:

protoc src/caffe/proto/caffe.proto --cpp_out=. mkdir include/caffe/proto mv src/caffe/proto/caffe.pb.h include/caffe/proto

pertusa avatar Mar 16 '17 07:03 pertusa

Do as u say, error does not occur. But, other error is happend.

./src/mxnet_my_c_predict_api.cpp:11:28: fatal error: mxnet/symbolic.h: no file or directory #include <mxnet/symbolic.h> ^ compilation terminated. make: *** [objs/mxnet_my_c_predict_api.o] error 1

abner2015 avatar Mar 16 '17 07:03 abner2015

@abner2015 I have the same problem. Have you solved it? thank you

zhengzhugithub avatar Mar 29 '17 15:03 zhengzhugithub

@zhengzhugithub Not yet !

abner2015 avatar Apr 20 '17 01:04 abner2015