hans

hans

【SSD】SSD caffe编译不通过


SSD caffe github 地址: https://github.com/weiliu89/caffe/tree/ssd

错误提示:

/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] 错误 1
make: *** 正在等待未完成的任务....

出现错误的对后一次编译程序我记得是 ** NVCC src/caffe/layers/detection_output_layer.cu **

去 github issues 查,原作者说是要用 gcc 5.4.0 编译。

结果也不行。

后来找到新的方法奏效了

就是先安装

bzip

然后自己重新手动编译安装

boost

我还是用的 gcc 4.8

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.