RMPE icon indicating copy to clipboard operation
RMPE copied to clipboard

compile error

Open Jiaxin-Xie opened this issue 8 years ago • 2 comments

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<Ptree>::definition<Scanner>::definition(constboost::property_tree::json_parser::json_grammar<Ptree>&)': /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....

Jiaxin-Xie avatar Jan 15 '17 09:01 Jiaxin-Xie

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!

Fang-Haoshu avatar Jan 20 '17 11:01 Fang-Haoshu

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.

hszhoushen avatar Jan 03 '18 02:01 hszhoushen