SSD caffe GitHub address: https://github.com/weiliu89/caffe/tree/ssd
Error message:
/usr/include/boost/property_tree/detail/json_parser_read.hpp: In constructor ‘boost::property_tree::json_parser::json_grammar<
Ptree>::definition<Scanner>::definition(const boost::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
escape
^
/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 tasks....
The error occurred during the last compilation of the program, I remember it was NVCC src/caffe/layers/detection_output_layer.cu
I checked on GitHub issues, and the original author said that it should be compiled with gcc 5.4.0.
But it still didn't work.
Later, I found a new method that worked.
First, install bzip.
Then, manually compile and install boost.
I am still using gcc 4.8.