Open Jiaxin-Xie opened 7 years ago
Hi,
That's a problem in SSD detection layer and one possible reason is that your gcc version is too low. Update it to 5.3 and try again.
Good luck!
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....