Closed jwnirvana closed 4 years ago
@jwnirvana 应该是环境的问题,你编译SSD能通过吗?
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) '
这段感觉应该是boost的库没有找到, 和cudnn应该没有关系, 你安装一下boost吧
感谢各位大佬,重新安装了一遍cuda10 的 caffe,ssd能正常跑了
CXX/LD -o .build_release/tools/train_net.bin CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin .build_release/lib/libcaffe.so: undefined reference to::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/get_image_size.bin' failed
make: [.build_release/tools/get_image_size.bin] Error 1
make: Waiting for unfinished jobs....
.build_release/lib/libcaffe.so: undefined reference to ::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed
make: [.build_release/tools/upgrade_solver_proto_text.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform(char const , char const) const'
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform_primary(char const , char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_binary.bin' failed
make: [.build_release/tools/upgrade_net_proto_binary.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to ::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/create_label_map.bin' failed
make: [.build_release/tools/create_label_map.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform(char const , char const) const'
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform_primary(char const , char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/extract_features.bin' failed
make: [.build_release/tools/extract_features.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to ::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed
make: [.build_release/tools/upgrade_net_proto_text.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform(char const , char const) const'
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform_primary(char const , char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/compute_image_mean.bin' failed
make: [.build_release/tools/compute_image_mean.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to ::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/convert_imageset.bin' failed
make: [.build_release/tools/convert_imageset.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform(char const , char const) const'
.build_release/lib/libcaffe.so: undefined reference to `boost::re_detail_106501::cpp_regex_traits_implementation::transform_primary(char const , char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/convert_annoset.bin' failed
make: [.build_release/tools/convert_annoset.bin] Error 1
.build_release/lib/libcaffe.so: undefined reference to ::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/caffe.bin' failed
make: *** [.build_release/tools/caffe.bin] Error 1
boost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to
boost::re_detail_106501::cpp_regex_traits_implementationboost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to
boost::re_detail_106501::cpp_regex_traits_implementationboost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to
boost::re_detail_106501::cpp_regex_traits_implementationboost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to
boost::re_detail_106501::cpp_regex_traits_implementationboost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to
boost::re_detail_106501::cpp_regex_traits_implementationboost::re_detail_106501::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to
boost::re_detail_106501::cpp_regex_traits_implementation您好,大佬!系统安装caffe编译都通过了.但是代码编译部分却通不过,而且我都把里面cudnn打头的文件替换了,求支招