Closed galenzhao closed 4 years ago
the content of opencv header file:
namespace sfinae {
template<typename C, typename Ret, typename... Args>
struct has_parenthesis_operator
{
private:
template<typename T>
static CV_CONSTEXPR std::true_type check(typename std::is_same<typename std::decay<decltype(std::declval<T>().operator()(std::declval<Args>()...))>::type, Ret>::type*);
template<typename> static CV_CONSTEXPR std::false_type check(...);
typedef decltype(check<C>(0)) type;
public:
#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1900/*MSVS 2015*/)
static CV_CONSTEXPR bool value = type::value;
#else
// support MSVS 2013
static const int value = type::value;
#endif
};
} // namespace sfinae
The webcam build should be fixed and tested in CI as of f4e18e0b7408bc73ffa9320c8ce2689b74993430.
Describe the bug
How to reproduce or log data
follow the guide: https://github.com/commaai/openpilot/tree/master/tools/webcam
Expected behavior
build success
Additional context
Operating system: [Ubuntu 16.04]
OpenCV Config: