You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Haoshu
Sorry to bother you. I tried a lot but failed to deal with this problem.
Everytime I use the command--make, it showed this error. So I can't compile the code successfully. ( It is ok to compile the caffe code contributed by BVLC. )
/usr/include/boost/property_tree/detail/json_parser_read.hpp: In constructor‘boost::property_tree::json_parser::json_grammar::definition::definition(constboost::property_tree::json_parser::json_grammar&)':
/usr/include/boost/property_tree/detail/json_parser_read.hpp:257:264: error: 'type name'declared as function returning an array
/usr/include/boost/property_tree/detail/json_parser_read.hpp:257:264: error: 'type name'declared as function returning an array
make: *** [.build_release/cuda/src/caffe/layers/detection_output_layer.o] Error 1
make: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered:
step 1
$ find / -name json_parser_read.hpp
step 2
$ sudo vim /...../..../..../..../json_parser_read.hpp
step 3
comment the line between 257 to 264.
and then, congrats.
Hi, Haoshu
Sorry to bother you. I tried a lot but failed to deal with this problem.
Everytime I use the command--make, it showed this error. So I can't compile the code successfully. ( It is ok to compile the caffe code contributed by BVLC. )
/usr/include/boost/property_tree/detail/json_parser_read.hpp: In constructor‘boost::property_tree::json_parser::json_grammar::definition::definition(constboost::property_tree::json_parser::json_grammar&)':
/usr/include/boost/property_tree/detail/json_parser_read.hpp:257:264: error: 'type name'declared as function returning an array
/usr/include/boost/property_tree/detail/json_parser_read.hpp:257:264: error: 'type name'declared as function returning an array
make: *** [.build_release/cuda/src/caffe/layers/detection_output_layer.o] Error 1
make: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered: