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

Will the caffe be essentially first-built? #9

Closed
momo1986 opened this issue Apr 9, 2019 · 3 comments
Closed

Will the caffe be essentially first-built? #9

momo1986 opened this issue Apr 9, 2019 · 3 comments

Comments

@momo1986
Copy link

momo1986 commented Apr 9, 2019

I met some problem on installation of caffe.
When I built caffe-pose,it blocks me:

CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/solvers/sgd_solver.cpp
CXX src/caffe/util/hdf5.cpp
CXX src/caffe/util/io.cpp
CXX src/caffe/util/math_functions.cpp
CXX src/caffe/layer.cpp
CXX src/caffe/syncedmem.cpp
CXX src/caffe/parallel.cpp
CXX src/caffe/layer_factory.cpp
CXX src/caffe/data_transformer.cpp
CXX src/caffe/layers/hdf5_output_layer.cpp
CXX src/caffe/layers/sigmoid_layer.cpp
CXX src/caffe/layers/threshold_layer.cpp
CXX src/caffe/layers/elu_layer.cpp
CXX src/caffe/layers/im2col_layer.cpp
CXX src/caffe/layers/lstm_layer.cpp
CXX src/caffe/layers/multinomial_logistic_loss_layer.cpp
src/caffe/layers/hdf5_output_layer.cpp:3:10: fatal error: hdf5.h: No such file or directory
#include "hdf5.h"
^~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/layers/hdf5_output_layer.o' failed
make: *** [.build_release/src/caffe/layers/hdf5_output_layer.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/caffe/util/hdf5.cpp:1:
./include/caffe/util/hdf5.hpp:6:10: fatal error: hdf5.h: No such file or directory
#include "hdf5.h"
^~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/util/hdf5.o' failed
make: *** [.build_release/src/caffe/util/hdf5.o] Error 1
In file included from src/caffe/solvers/sgd_solver.cpp:5:
./include/caffe/util/hdf5.hpp:6:10: fatal error: hdf5.h: No such file or directory
#include "hdf5.h"
^~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solvers/sgd_solver.o' failed
make: *** [.build_release/src/caffe/solvers/sgd_solver.o] Error 1

Thus, how can I resolve such issues?
Thanks & Regards!

@l-j-oneil
Copy link

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

@momo1986
Copy link
Author

momo1986 commented Apr 9, 2019

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

**

**

@xinghaochen
Copy link
Owner

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.

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

3 participants