/include/c++/4.1.2/bits/stl_vector.h:933: error: â__xâ was not declared in this scope
/usr/lib/gcc/x86/include/c++/4.1.2/bits/stl_vector.h:933: error: â__yâ was not declared in
/include/c++/6.3.0/bits/stl_iterator.h:755:14: note: '__gnu_cxx::iterator' declared here
using std:/include/c++/6.3.0/bits/stl_iterator_base_types.h:118:12: note: template is declared
:16:25: required from here
/usr/include/c++/4.8/bits/stl_vector.h:237:20: error: no members matching+/4.8/bits/stl_vector.h:161:33: error: ‘struct std::_Vector_base<H&, std::allocator<H&> >::_Vecto
:213: error: ‘CV_8U’ was not declared in this scope
src/caffe/data_transformer.cpp:257: error: ‘Rect’/include/c++/4.4.7/bits/stl_vector.h: In member function ‘size_t std::vector<_Tp, _Alloc>::size() const/include/c++</
/usr/include/c++/4.6/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits<int>’:error: ‘int’ is not a class, struct, or union type
/usr/include/c++/4.6/bits/stl_iterato
: ‘void ()(int, std::string)’ is not a class, struct, or union type
/usr/include/c++/4.3/backward/binders.h/c++/4.3/backward/binders.h:149: error: ‘void ()(int, std::string)’ is not a class, struct, or unionstr
起初,我认为这是使用旧SDK的工具包的问题,但在深入研究时,我发现在某一点上包含了stl_vector.h,当我包含向量(或stl_vector )时,我得到了一堆错误消息。/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.2.1/bits/stl_vector.h
Expected type-specifier before' has not been declare