c++ - opencv3.1 ubuntu16.10 install error -
i trying install opencv 3.1.0 on ubuntu 16.10 , i'm having problems. i've been searching long time on net, couldn't find answer. can please try give me suggestions?
when run make, following errors (i have deleted similar errors):
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h(436): error: identifier "nullptr" undefined /usr/include/c++/6/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr" /usr/include/c++/6/bits/exception_ptr.h(64): error: expected "{" /usr/include/c++/6/bits/exception_ptr.h(71): error: namespace "std" has no member "rethrow_exception" /usr/include/c++/6/bits/exception_ptr.h(81): error: expected ";" /usr/include/c++/6/bits/exception_ptr.h(88): error: declaration incompatible previous "std::current_exception" (64): here /usr/include/c++/6/bits/exception_ptr.h(88): error: use of local type declare function /usr/include/c++/6/bits/exception_ptr.h(88): error: expected ";" /usr/include/c++/6/bits/exception_ptr.h(89): error: use of local type declare function /usr/include/c++/6/bits/exception_ptr.h(162): error: use of local type declare function /usr/include/c++/6/type_traits(71): error: identifier "constexpr" undefined /usr/include/c++/6/type_traits(71): error: template parameter "_tp" may not redeclared in scope /usr/include/c++/6/type_traits(72): error: member "std::integral_constant<_tp, __v>::_tp" not type name /usr/include/c++/6/type_traits(79): error: identifier "constexpr" undefined /usr/include/c++/6/type_traits(79): error: "value_type" has been declared in current scope /usr/include/c++/6/type_traits(84): error: identifier "constexpr" undefined /usr/include/c++/6/type_traits(84): error: "_tp" not function or static data member /usr/include/c++/6/type_traits(126): error: space required between adjacent ">" delimiters of nested template argument lists (">>" right shift operator) /usr/include/c++/6/type_traits(242): error: identifier "char16_t" undefined /usr/include/c++/6/type_traits(246): error: identifier "char32_t" undefined /usr/include/c++/6/type_traits(246): error: class "std::__is_integral_helper<<error-type>>" has been defined /usr/include/c++/6/type_traits(344): error: identifier "__float128" undefined /usr/include/c++/6/type_traits(774): error: space required between adjacent ">" delimiters of nested template argument lists (">>" right shift operator) /usr/include/c++/6/type_traits(795): error: explicit template argument list not allowed on declaration /usr/include/c++/6/type_traits(795): error: expected type specifier /usr/include/c++/6/type_traits(795): error: function returning function not allowed /usr/include/c++/6/type_traits(832): error: function call not allowed in constant expression /usr/include/c++/6/type_traits(832): error: operator not allowed in template argument expression /usr/include/c++/6/type_traits(843): error: explicit template argument list not allowed on declaration /usr/include/c++/6/type_traits(843): error: expected type specifier /usr/include/c++/6/type_traits(843): error: function returning function not allowed /usr/include/c++/6/type_traits(886): error: explicit template argument list not allowed on declaration
and these errors seem compile errors.
Comments
Post a Comment