Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caffe ssd build failed layers/detection_output_layer.o' failed #1026

Open
torta24x opened this issue Nov 11, 2020 · 1 comment
Open

caffe ssd build failed layers/detection_output_layer.o' failed #1026

torta24x opened this issue Nov 11, 2020 · 1 comment

Comments

@torta24x
Copy link

CXX .build_release/src/caffe/proto/caffe.pb.cc
/usr/include/boost/multi_index/detail/seq_index_node.hpp: In instantiation of ‘static void boost::multi_index::detail::sequenced_index_node::increment(boost::multi_index::detail::sequenced_index_node&) [with Super = boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy, boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > > >]’:
/usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:55:16: required from ‘boost::multi_index::detail::bidir_node_iterator& boost::multi_index::detail::bidir_node_iterator::operator++() [with Node = boost::multi_index::detail::sequenced_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy, boost::multi_index::detail::index_node_base<std::pair<const std::_cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >, std::allocator<std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > > > > > >]’
/usr/include/boost/multi_index_container.hpp:269:73: required from ‘boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::multi_index_container(const boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>&) [with Value = std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >; IndexSpecifierList = boost::multi_index::indexed_by<boost::multi_index::sequenced<boost::multi_index::tag<> >, boost::multi_index::ordered_non_unique<boost::multi_index::tag<boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string >::subs::by_name, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na>, boost::multi_index::member<std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >, const std::cxx11::basic_string, &std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >::first>, std::less<std::cxx11::basic_string > >, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na>; Allocator = std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > >]’
/usr/include/boost/property_tree/detail/ptree_implementation.hpp:191:94: required from ‘boost::property_tree::basic_ptree<Key, Data, KeyCompare>::basic_ptree(const boost::property_tree::basic_ptree<Key, Data, KeyCompare>&) [with Key = std::__cxx11::basic_string; Data = std::__cxx11::basic_string; KeyCompare = std::less<std::__cxx11::basic_string >]’
src/caffe/layers/detection_output_layer.cu:220:29: required from ‘void caffe::DetectionOutputLayer::Forward_gpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = float]’
src/caffe/layers/detection_output_layer.cu:302:147: required from here
/usr/include/boost/multi_index/detail/seq_index_node.hpp:198:23: error: cannot call member function ‘boost::multi_index::detail::sequenced_index_node::impl_pointer boost::multi_index::detail::sequenced_index_node::impl() [with Super = boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy, boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > > >; boost::multi_index::detail::sequenced_index_node::impl_pointer = boost::multi_index::detail::sequenced_index_node_impl<std::allocator >
]’ without object
impl_pointer xi=x->impl();
~~~~^~
/usr/include/boost/multi_index/detail/ord_index_node.hpp: In instantiation of ‘static void boost::multi_index::detail::ordered_index_node<AugmentPolicy, Super>::increment(boost::multi_index::detail::ordered_index_node<AugmentPolicy, Super>&) [with AugmentPolicy = boost::multi_index::detail::null_augment_policy; Super = boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > >]’:
/usr/include/boost/multi_index/detail/bidir_node_iterator.hpp:55:16: required from ‘boost::multi_index::detail::bidir_node_iterator& boost::multi_index::detail::bidir_node_iterator::operator++() [with Node = boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy, boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > > >]’
/usr/include/c++/7/bits/stl_iterator_base_funcs.h:89:1: required from ‘constexpr typename std::iterator_traits<_Iterator>::difference_type std::__distance(_InputIterator, _InputIterator, std::input_iterator_tag) [with _InputIterator = boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy, boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > > > >; typename std::iterator_traits<_Iterator>::difference_type = long int]’
/usr/include/c++/7/bits/stl_iterator_base_funcs.h:141:23: required from ‘typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy, boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > > > >; typename std::iterator_traits<_Iterator>::difference_type = long int]’
/usr/include/boost/multi_index/detail/ord_index_impl.hpp:517:28: required from ‘boost::multi_index::detail::ordered_index_impl<KeyFromValue, Compare, SuperMeta, TagList, Category, AugmentPolicy>::size_type boost::multi_index::detail::ordered_index_impl<KeyFromValue, Compare, SuperMeta, TagList, Category, AugmentPolicy>::count(const CompatibleKey&, const CompatibleCompare&) const [with CompatibleKey = std::__cxx11::basic_string; CompatibleCompare = std::less<std::__cxx11::basic_string >; KeyFromValue = boost::multi_index::member<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::_cxx11::basic_string > >, const std::cxx11::basic_string, &std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >::first>; Compare = std::less<std::cxx11::basic_string >; SuperMeta = boost::multi_index::detail::nth_layer<2, std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >, boost::multi_index::indexed_by<boost::multi_index::sequenced<boost::multi_index::tag<> >, boost::multi_index::ordered_non_unique<boost::multi_index::tag<boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string >::subs::by_name, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na>, boost::multi_index::member<std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >, const std::cxx11::basic_string, &std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >::first>, std::less<std::cxx11::basic_string > >, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na>, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > >; TagList = boost::mpl::v_item<boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string >::subs::by_name, boost::mpl::vector0<>, 0>; Category = boost::multi_index::detail::ordered_non_unique_tag; AugmentPolicy = boost::multi_index::detail::null_augment_policy; boost::multi_index::detail::ordered_index_impl<KeyFromValue, Compare, SuperMeta, TagList, Category, AugmentPolicy>::size_type = long unsigned int]’
/usr/include/boost/multi_index/detail/ord_index_impl.hpp:510:13: required from ‘boost::multi_index::detail::ordered_index_impl<KeyFromValue, Compare, SuperMeta, TagList, Category, AugmentPolicy>::size_type boost::multi_index::detail::ordered_index_impl<KeyFromValue, Compare, SuperMeta, TagList, Category, AugmentPolicy>::count(const CompatibleKey&) const [with CompatibleKey = std::__cxx11::basic_string; KeyFromValue = boost::multi_index::member<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::_cxx11::basic_string > >, const std::cxx11::basic_string, &std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >::first>; Compare = std::less<std::cxx11::basic_string >; SuperMeta = boost::multi_index::detail::nth_layer<2, std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >, boost::multi_index::indexed_by<boost::multi_index::sequenced<boost::multi_index::tag<> >, boost::multi_index::ordered_non_unique<boost::multi_index::tag<boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string >::subs::by_name, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na>, boost::multi_index::member<std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >, const std::cxx11::basic_string, &std::pair<const std::cxx11::basic_string, boost::property_tree::basic_ptree<std::cxx11::basic_string, std::cxx11::basic_string > >::first>, std::less<std::cxx11::basic_string > >, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na, mpl::na>, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > >; TagList = boost::mpl::v_item<boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string >::subs::by_name, boost::mpl::vector0<>, 0>; Category = boost::multi_index::detail::ordered_non_unique_tag; AugmentPolicy = boost::multi_index::detail::null_augment_policy; boost::multi_index::detail::ordered_index_impl<KeyFromValue, Compare, SuperMeta, TagList, Category, AugmentPolicy>::size_type = long unsigned int]’
/usr/include/boost/property_tree/detail/ptree_implementation.hpp:520:37: required from ‘boost::property_tree::basic_ptree<Key, Data, KeyCompare>::size_type boost::property_tree::basic_ptree<Key, Data, KeyCompare>::count(const key_type&) const [with Key = std::__cxx11::basic_string; Data = std::__cxx11::basic_string; KeyCompare = std::less<std::__cxx11::basic_string >; boost::property_tree::basic_ptree<Key, Data, KeyCompare>::size_type = long unsigned int; boost::property_tree::basic_ptree<Key, Data, KeyCompare>::key_type = std::__cxx11::basic_string]’
/usr/include/boost/property_tree/json_parser/detail/write.hpp:84:40: required from ‘void boost::property_tree::json_parser::write_json_helper(std::basic_ostream<typename Ptree::key_type::value_type, std::char_traits >&, const Ptree&, int, bool) [with Ptree = boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string >; typename Ptree::key_type::value_type = char; typename Ptree::key_type::value_type = char]’
/usr/include/boost/property_tree/json_parser/detail/write.hpp:160:18: required from ‘void boost::property_tree::json_parser::write_json_internal(std::basic_ostream<typename Ptree::key_type::value_type, std::char_traits >&, const Ptree&, const string&, bool) [with Ptree = boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string >; typename Ptree::key_type::value_type = char; typename Ptree::key_type::value_type = char; std::__cxx11::string = std::__cxx11::basic_string]’
/usr/include/boost/property_tree/json_parser.hpp:99:20: required from ‘void boost::property_tree::json_parser::write_json(std::basic_ostream<typename Ptree::key_type::value_type, std::char_traits >&, const Ptree&, bool) [with Ptree = boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string >; typename Ptree::key_type::value_type = char; typename Ptree::key_type::value_type = char]’
src/caffe/layers/detection_output_layer.cu:259:11: required from ‘void caffe::DetectionOutputLayer::Forward_gpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = float]’
src/caffe/layers/detection_output_layer.cu:302:147: required from here
/usr/include/boost/multi_index/detail/ord_index_node.hpp:639:23: error: cannot call member function ‘boost::multi_index::detail::ordered_index_node<AugmentPolicy, Super>::impl_pointer boost::multi_index::detail::ordered_index_node<AugmentPolicy, Super>::impl() [with AugmentPolicy = boost::multi_index::detail::null_augment_policy; Super = boost::multi_index::detail::index_node_base<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > >, std::allocator<std::pair<const std::__cxx11::basic_string, boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string > > > >; boost::multi_index::detail::ordered_index_node<AugmentPolicy, Super>::impl_pointer = boost::multi_index::detail::ordered_index_node_impl<boost::multi_index::detail::null_augment_policy, std::allocator >
]’ without object
impl_pointer xi=x->impl();
~~~~^~
Makefile:588: recipe for target '.build_release/cuda/src/caffe/layers/detection_output_layer.o' failed

Issue summary

Steps to reproduce

make clean && make -j8

Your system configuration

Operating system:
ubunutu 18.0.4
Compiler:
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

CUDA version :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105

BLAS:
open
env :
anaconda3

I tried couple of solution but did not solve the problem

Can somebody help me out with this please.

@huguofengcool
Copy link

I have the same problem, Did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants