GithubHelp home page GithubHelp logo

Comments (3)

l-j-oneil avatar l-j-oneil commented on June 14, 2024

I think this is a duplicate of this thread: NVIDIA/DIGITS#156 (comment)

from pose-ren.

momo1986 avatar momo1986 commented on June 14, 2024

I think this is a duplicate of this thread: NVIDIA/DIGITS#156 (comment)

I pass this issue.
However, met the same issue when before met in caffe-built.

**

/usr/local/include/c++/8.2.0/type_traits(1049): error: type name is not allowed

/usr/local/include/c++/8.2.0/type_traits(1049): error: type name is not allowed

/usr/local/include/c++/8.2.0/type_traits(1049): error: identifier "__is_assignable" is undefined

/usr/local/include/c++/8.2.0/utility(307): error: pack expansion does not make use of any argument packs

/usr/local/include/c++/8.2.0/utility(329): error: pack expansion does not make use of any argument packs

/usr/local/include/c++/8.2.0/utility(329): error: expected a ">"
detected during instantiation of type "std::make_integer_sequence<std::size_t, _Num>"
(340): here

/usr/local/include/c++/8.2.0/type_traits(2431): error: class "std::enable_if<, void>" has no member "type"
detected during instantiation of "std::swap" based on template argument <std::__c_file *>
/usr/local/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/basic_file.h(79): here

/usr/local/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/basic_file.h(80): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (__nv_bool, __nv_bool)

/usr/include/google/protobuf/arenastring.h(150): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (std::__cxx11::string *, std::__cxx11::string *)

/usr/include/google/protobuf/unknown_field_set.h(262): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (std::vector<google::protobuf::UnknownField, std::allocatorgoogle::protobuf::UnknownField> *, std::vector<google::protobuf::UnknownField, std::allocatorgoogle::protobuf::UnknownField> *)

/usr/local/include/c++/8.2.0/bits/stl_pair.h(378): error: invalid redeclaration of member function "std::pair<_T1, _T2>::operator=(std::conditional<std::_and<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2>>::value, const std::pair<_T1, _T2> &, const std::__nonesuch_no_braces &>::type) [with _T1=std::_Rb_tree_const_iteratorstd::__cxx11::string, _T2=std::_Rb_tree_const_iteratorstd::__cxx11::string]"
(367): here
detected during:
instantiation of class "std::pair<_T1, _T2> [with _T1=std::_Rb_tree_const_iteratorstd::__cxx11::string, _T2=std::_Rb_tree_const_iteratorstd::__cxx11::string]"
/usr/local/include/c++/8.2.0/bits/stl_set.h(890): here
instantiation of class "std::set<_Key, _Compare, _Alloc> [with _Key=std::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string]"
/usr/include/google/protobuf/descriptor.h(1631): here

/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): error: identifier "_Node_allocator" is undefined
detected during instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=std::__cxx11::string, _Val=std::__cxx11::string, _KeyOfValue=std::_Identitystd::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string, _Key_compare=std::lessstd::__cxx11::string, =true]"
/usr/include/google/protobuf/descriptor.h(1634): here

/usr/local/include/c++/8.2.0/type_traits(909): error: class "std::__is_default_constructible_atom<>" has no member class "type"
detected during:
instantiation of class "std::__is_default_constructible_safe<_Tp, false> [with _Tp=]"
(915): here
instantiation of class "std::is_default_constructible<_Tp> [with _Tp=]"
(132): here
instantiation of class "std::_and<_B1, _B2> [with _B1=std::is_default_constructible<>, _B2=std::__is_nt_default_constructible_impl<, false>]"
(983): here
instantiation of class "std::is_nothrow_default_constructible<_Tp> [with _Tp=]"
/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): here
instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=std::__cxx11::string, _Val=std::__cxx11::string, _KeyOfValue=std::_Identitystd::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string, _Key_compare=std::lessstd::__cxx11::string, =true]"
/usr/include/google/protobuf/descriptor.h(1634): here

/usr/local/include/c++/8.2.0/type_traits(909): error: not a class or struct name
detected during:
instantiation of class "std::__is_default_constructible_safe<_Tp, false> [with _Tp=]"
(915): here
instantiation of class "std::is_default_constructible<_Tp> [with _Tp=]"
(132): here
instantiation of class "std::_and<_B1, _B2> [with _B1=std::is_default_constructible<>, _B2=std::__is_nt_default_constructible_impl<, false>]"
(983): here
instantiation of class "std::is_nothrow_default_constructible<_Tp> [with _Tp=]"
/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): here
instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=std::__cxx11::string, _Val=std::__cxx11::string, _KeyOfValue=std::_Identitystd::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string, _Key_compare=std::lessstd::__cxx11::string, =true]"
/usr/include/google/protobuf/descriptor.h(1634): here

/usr/local/include/c++/8.2.0/type_traits(915): error: class "std::__is_default_constructible_safe<, false>" has no member class "type"
detected during:
instantiation of class "std::is_default_constructible<_Tp> [with _Tp=]"
(132): here
instantiation of class "std::_and<_B1, _B2> [with _B1=std::is_default_constructible<>, _B2=std::__is_nt_default_constructible_impl<, false>]"
(983): here
instantiation of class "std::is_nothrow_default_constructible<_Tp> [with _Tp=]"
/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): here
instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=std::__cxx11::string, _Val=std::__cxx11::string, _KeyOfValue=std::_Identitystd::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string, _Key_compare=std::lessstd::__cxx11::string, =true]"
/usr/include/google/protobuf/descriptor.h(1634): here

/usr/local/include/c++/8.2.0/type_traits(915): error: not a class or struct name
detected during:
instantiation of class "std::is_default_constructible<_Tp> [with _Tp=]"
(132): here
instantiation of class "std::_and<_B1, _B2> [with _B1=std::is_default_constructible<>, _B2=std::__is_nt_default_constructible_impl<, false>]"
(983): here
instantiation of class "std::is_nothrow_default_constructible<_Tp> [with _Tp=]"
/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): here
instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=std::__cxx11::string, _Val=std::__cxx11::string, _KeyOfValue=std::_Identitystd::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string, _Key_compare=std::lessstd::__cxx11::string, =true]"
/usr/include/google/protobuf/descriptor.h(1634): here

/usr/local/include/c++/8.2.0/type_traits(132): error: class "std::is_default_constructible<>" has no member "value"
detected during:
instantiation of class "std::_and<_B1, _B2> [with _B1=std::is_default_constructible<>, _B2=std::__is_nt_default_constructible_impl<, false>]"
(983): here
instantiation of class "std::is_nothrow_default_constructible<_Tp> [with _Tp=]"
/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): here
instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=std::__cxx11::string, _Val=std::__cxx11::string, _KeyOfValue=std::_Identitystd::__cxx11::string, _Compare=std::lessstd::__cxx11::string, _Alloc=std::allocatorstd::__cxx11::string, _Key_compare=std::lessstd::__cxx11::string, =true]"
/usr/include/google/protobuf/descriptor.h(1634): here

/usr/include/google/protobuf/repeated_field.h(1556): error: no instance of overloaded function "swap" matches the argument list
argument types are: (void *, void *)

/usr/include/google/protobuf/repeated_field.h(2238): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (google::protobuf::internal::RepeatedPtrFieldBase::Rep *, google::protobuf::internal::RepeatedPtrFieldBase::Rep *)

/usr/include/google/protobuf/repeated_field.h(2239): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (int, int)

/usr/include/google/protobuf/repeated_field.h(2240): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (int, int)

/usr/local/include/c++/8.2.0/bits/stl_pair.h(378): error: invalid redeclaration of member function "std::pair<_T1, _T2>::operator=(std::conditional<std::_and<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2>>::value, const std::pair<_T1, _T2> &, const std::__nonesuch_no_braces &>::type) [with _T1=std::_Rb_tree_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>, _T2=std::_Rb_tree_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>]"
(367): here
detected during:
instantiation of class "std::pair<_T1, _T2> [with _T1=std::_Rb_tree_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>, _T2=std::_Rb_tree_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>]"
/usr/local/include/c++/8.2.0/bits/stl_map.h(1340): here
instantiation of class "std::map<_Key, _Tp, _Compare, _Alloc> [with _Key=int, _Tp=google::protobuf::internal::ExtensionSet::Extension, _Compare=std::less, _Alloc=std::allocator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>]"
/usr/include/google/protobuf/extension_set.h(632): here

/usr/local/include/c++/8.2.0/bits/stl_pair.h(378): error: invalid redeclaration of member function "std::pair<_T1, _T2>::operator=(std::conditional<std::_and<std::is_copy_assignable<_T1>, std::is_copy_assignable<_T2>>::value, const std::pair<_T1, _T2> &, const std::__nonesuch_no_braces &>::type) [with _T1=std::_Rb_tree_const_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>, _T2=std::_Rb_tree_const_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>]"
(367): here
detected during:
instantiation of class "std::pair<_T1, _T2> [with _T1=std::_Rb_tree_const_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>, _T2=std::_Rb_tree_const_iterator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>]"
/usr/local/include/c++/8.2.0/bits/stl_map.h(1369): here
instantiation of class "std::map<_Key, _Tp, _Compare, _Alloc> [with _Key=int, _Tp=google::protobuf::internal::ExtensionSet::Extension, _Compare=std::less, _Alloc=std::allocator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>]"
/usr/include/google/protobuf/extension_set.h(632): here

/usr/local/include/c++/8.2.0/bits/stl_tree.h(700): error: identifier "_Node_allocator" is undefined
detected during instantiation of "std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, >::_Rb_tree_impl() [with _Key=int, _Val=std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>, _KeyOfValue=std::_Select1st<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>, _Compare=std::less, _Alloc=std::allocator<std::pair<const int, google::protobuf::internal::ExtensionSet::Extension>>, _Key_compare=std::less, =true]"
/usr/include/google/protobuf/extension_set.h(635): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=char]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(182): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(422): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator]"
/usr/include/google/protobuf/arenastring.h(293): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=const char]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(192): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() const [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(211): here
instantiation of "__nv_bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_is_local() const [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(220): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator]"
/usr/local/include/c++/8.2.0/bits/basic_string.tcc(228): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_FwdIterator, _FwdIterator, std::forward_iterator_tag) [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator, _FwdIterator=char *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(236): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct_aux(_InIterator, _InIterator, std::__false_type) [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator, _InIterator=char *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(255): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator) [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator, _InIterator=char *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(440): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc> &) [with _CharT=char, _Traits=std::char_traits, _Alloc=std::allocator]"
/usr/local/include/gflags/gflags.h(569): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void<wchar_t>]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=wchar_t]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(182): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(501): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT *, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc &) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(6709): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=const wchar_t]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(192): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() const [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(211): here
instantiation of "__nv_bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_is_local() const [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(220): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.tcc(228): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_FwdIterator, _FwdIterator, std::forward_iterator_tag) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>, _FwdIterator=const wchar_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(236): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct_aux(_InIterator, _InIterator, std::__false_type) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>, _InIterator=const wchar_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(255): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>, _InIterator=const wchar_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(502): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT *, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc &) [with _CharT=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<wchar_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(6709): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void<char16_t>]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void<char16_t>]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=char16_t]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(182): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(501): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT *, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc &) [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(6716): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=const char16_t]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(192): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() const [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(211): here
instantiation of "__nv_bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_is_local() const [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(220): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.tcc(228): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_FwdIterator, _FwdIterator, std::forward_iterator_tag) [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>, _FwdIterator=const char16_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(236): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct_aux(_InIterator, _InIterator, std::__false_type) [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>, _InIterator=const char16_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(255): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator) [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>, _InIterator=const char16_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(502): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT *, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc &) [with _CharT=char16_t, _Traits=std::char_traits<char16_t>, _Alloc=std::allocator<char16_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(6716): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void<char32_t>]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void<char32_t>]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=char32_t]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(182): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(501): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT *, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc &) [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(6721): here

/usr/local/include/c++/8.2.0/bits/move.h(48): error: identifier "__builtin_addressof" is undefined
detected during:
instantiation of "_Tp *std::__addressof(_Tp &) [with _Tp=std::__make_not_void]"
(139): here
instantiation of "_Tp *std::addressof(_Tp &) [with _Tp=std::__make_not_void]"
/usr/local/include/c++/8.2.0/bits/ptr_traits.h(142): here
instantiation of "std::pointer_traits<_Tp *>::pointer std::pointer_traits<_Tp *>::pointer_to(std::__make_not_void<std::pointer_traits<_Tp *>::element_type> &) [with _Tp=const char32_t]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(192): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() const [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(211): here
instantiation of "__nv_bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_is_local() const [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(220): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.tcc(228): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_FwdIterator, _FwdIterator, std::forward_iterator_tag) [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>, _FwdIterator=const char32_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(236): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct_aux(_InIterator, _InIterator, std::__false_type) [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>, _InIterator=const char32_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(255): here
instantiation of "void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator) [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>, _InIterator=const char32_t *]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(502): here
instantiation of "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT *, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc &) [with _CharT=char32_t, _Traits=std::char_traits<char32_t>, _Alloc=std::allocator<char32_t>]"
/usr/local/include/c++/8.2.0/bits/basic_string.h(6721): here

/usr/include/boost/smart_ptr/shared_ptr.hpp(766): error: no instance of overloaded function "std::swap" matches the argument list
argument types are: (caffe::Caffe::RNG *, caffe::Caffe::RNG *)
detected during:
instantiation of "void boost::shared_ptr::swap(boost::shared_ptr &) [with T=caffe::Caffe::RNG]"
(699): here
instantiation of "void boost::shared_ptr::reset(Y *) [with T=caffe::Caffe::RNG, Y=caffe::Caffe::RNG]"
./include/caffe/common.hpp(130): here

33 errors detected in the compilation of "/tmp/tmpxft_0001f404_00000000-11_threshold_layer.compute_61.cpp1.ii".
Makefile:604: recipe for target '.build_release/cuda/src/caffe/layers/threshold_layer.o' failed

**

**

from pose-ren.

xinghaochen avatar xinghaochen commented on June 14, 2024

Hi @momo1986, the compilation of caffe-pose is quite similar to the official one. We only add a few layers to it. If you can compile official caffe successfully, you should easily compile caffe-pose.
According to your error log, probably the hdf5 library is not installed properly. You can re-install the hdf5 to see if the problem will be solved.

from pose-ren.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.