OpenNI / OpenNI

OpenNI
www.openni.org
Apache License 2.0
1.36k stars 626 forks source link

./RedistMaker Build Failed #136

Open asbeg opened 3 years ago

asbeg commented 3 years ago

Hi, I will to connect Kinect, and when i'm trying to build OpenNi running ./RedistMaker occurs an Build failed error. System Ubuntu 18.04 Can anyone help .


In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
/usr/include/c++/7/system_error:115:5: error: expected unqualified-id before ‘int’
     equivalent(int __i, const error_condition& __cond) const noexcept;
     ^
/usr/include/c++/7/system_error:115:5: error: expected ‘)’ before ‘int’
/usr/include/c++/7/system_error:115:5: error: expected ‘)’ before ‘int’
/usr/include/c++/7/system_error:115:5: error: expected ‘)’ before ‘int’
/usr/include/c++/7/system_error:118:5: error: expected unqualified-id before ‘const’
     equivalent(const error_code& __code, int __i) const noexcept;
     ^
/usr/include/c++/7/system_error:118:5: error: expected ‘)’ before ‘const’
/usr/include/c++/7/system_error:118:5: error: expected ‘)’ before ‘const’
/usr/include/c++/7/system_error:118:5: error: expected ‘)’ before ‘const’
/usr/include/c++/7/system_error: In function ‘bool std::operator==(const std::error_code&, const std::error_condition&)’:
../../../../../Samples/NiViewer/glh/glh_linear.h:80:33: error: expected unqualified-id before ‘(’ token
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
                                 ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: error: no match for ‘operator+’ (operand types are ‘const std::error_condition’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: note: candidate: operator+(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: note:   no known conversion for argument 1 from ‘const std::error_condition’ to ‘int’
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:400:5: note: candidate: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
     operator+(typename reverse_iterator<_Iterator>::difference_type __n,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:400:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1201:5: note: candidate: template<class _Iterator> std::move_iterator<_IteratorL> std::operator+(typename std::move_iterator<_IteratorL>::difference_type, const std::move_iterator<_IteratorL>&)
     operator+(typename move_iterator<_Iterator>::difference_type __n,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1201:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const std::move_iterator<_IteratorL>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5888:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5888:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:53:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.tcc:1157:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.tcc:1157:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_condition’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:53:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.tcc:1173:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.tcc:1173:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5925:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5925:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5941:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5941:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5953:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5953:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5959:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5959:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5965:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5965:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5977:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5977:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_condition’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5983:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(_CharT __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5983:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5989:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5989:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5995:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5995:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:67: error: no match for ‘operator-’ (operand types are ‘const std::error_condition’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:67: note: candidate: operator-(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:67: note:   no known conversion for argument 1 from ‘const std::error_condition’ to ‘int’
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:392:5: note: candidate: template<class _IteratorL, class _IteratorR> decltype ((__y.base() - __x.base())) std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator-(const reverse_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:392:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1194:5: note: candidate: template<class _IteratorL, class _IteratorR> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
     operator-(const move_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1194:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:33: error: expected unqualified-id before ‘(’ token
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
                                 ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:38: error: no match for ‘operator<’ (operand types are ‘const std::error_code’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:38: note: candidate: operator<(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:38: note:   no known conversion for argument 1 from ‘const std::error_code’ to ‘int’
In file included from /usr/include/c++/7/utility:70:0,
                 from /usr/include/c++/7/algorithm:60,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_pair.h:454:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:454:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::pair<_T1, _T2>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:308:5: note: candidate: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<(const reverse_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:308:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:346:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<(const reverse_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:346:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1145:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
     operator<(const move_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1145:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1151:5: note: candidate: template<class _Iterator> bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
     operator<(const move_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1151:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/list:63:0,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:52,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_list.h:1918:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator<(const std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)
     operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_list.h:1918:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6094:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6094:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6107:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6107:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6119:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6119:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_code’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/system_error:208:3: note: candidate: bool std::operator<(const std::error_code&, const std::error_code&)
   operator<(const error_code& __lhs, const error_code& __rhs) noexcept
   ^~~~~~~~
/usr/include/c++/7/system_error:208:3: note:   no known conversion for argument 2 from ‘float’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:282:3: note: candidate: bool std::operator<(const std::error_condition&, const std::error_condition&)
   operator<(const error_condition& __lhs,
   ^~~~~~~~
/usr/include/c++/7/system_error:282:3: note:   no known conversion for argument 1 from ‘const std::error_code’ to ‘const std::error_condition&’
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:80:63: error: no match for ‘operator>’ (operand types are ‘const std::error_code’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:63: note: candidate: operator>(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:63: note:   no known conversion for argument 1 from ‘const std::error_code’ to ‘int’
In file included from /usr/include/c++/7/utility:70:0,
                 from /usr/include/c++/7/algorithm:60,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_pair.h:467:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator>(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:467:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::pair<_T1, _T2>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:320:5: note: candidate: template<class _Iterator> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator>(const reverse_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:320:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:358:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator>(const reverse_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:358:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1169:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator>(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
     operator>(const move_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1169:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1175:5: note: candidate: template<class _Iterator> bool std::operator>(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
     operator>(const move_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1175:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/list:63:0,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:52,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_list.h:1931:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator>(const std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)
     operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_list.h:1931:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6132:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6132:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6145:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6145:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6157:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator>(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6157:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_code’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
/usr/include/c++/7/system_error: In function ‘bool std::operator==(const std::error_condition&, const std::error_code&)’:
../../../../../Samples/NiViewer/glh/glh_linear.h:80:33: error: expected unqualified-id before ‘(’ token
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
                                 ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: error: no match for ‘operator+’ (operand types are ‘const std::error_condition’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: note: candidate: operator+(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:42: note:   no known conversion for argument 1 from ‘const std::error_condition’ to ‘int’
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:400:5: note: candidate: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
     operator+(typename reverse_iterator<_Iterator>::difference_type __n,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:400:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const std::reverse_iterator<_Iterator>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1201:5: note: candidate: template<class _Iterator> std::move_iterator<_IteratorL> std::operator+(typename std::move_iterator<_IteratorL>::difference_type, const std::move_iterator<_IteratorL>&)
     operator+(typename move_iterator<_Iterator>::difference_type __n,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1201:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const std::move_iterator<_IteratorL>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5888:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5888:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:53:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.tcc:1157:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.tcc:1157:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_condition’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:53:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.tcc:1173:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.tcc:1173:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5925:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5925:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5941:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5941:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5953:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5953:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5959:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5959:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5965:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5965:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5977:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5977:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_condition’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5983:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
     operator+(_CharT __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5983:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘float’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5989:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5989:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:5995:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT)
     operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:5995:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::error_condition’ have incompatible cv-qualifiers
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:67: error: no match for ‘operator-’ (operand types are ‘const std::error_condition’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:67: note: candidate: operator-(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:67: note:   no known conversion for argument 1 from ‘const std::error_condition’ to ‘int’
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:392:5: note: candidate: template<class _IteratorL, class _IteratorR> decltype ((__y.base() - __x.base())) std::operator-(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator-(const reverse_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:392:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1194:5: note: candidate: template<class _IteratorL, class _IteratorR> decltype ((__x.base() - __y.base())) std::operator-(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
     operator-(const move_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1194:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_condition’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:33: error: expected unqualified-id before ‘(’ token
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
                                 ^
../../../../../Samples/NiViewer/glh/glh_linear.h:80:38: error: no match for ‘operator<’ (operand types are ‘const std::error_code’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:38: note: candidate: operator<(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:38: note:   no known conversion for argument 1 from ‘const std::error_code’ to ‘int’
In file included from /usr/include/c++/7/utility:70:0,
                 from /usr/include/c++/7/algorithm:60,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_pair.h:454:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:454:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::pair<_T1, _T2>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:308:5: note: candidate: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<(const reverse_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:308:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:346:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<(const reverse_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:346:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1145:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
     operator<(const move_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1145:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1151:5: note: candidate: template<class _Iterator> bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
     operator<(const move_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1151:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/list:63:0,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:52,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_list.h:1918:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator<(const std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)
     operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_list.h:1918:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6094:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6094:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6107:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6107:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6119:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6119:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_code’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/system_error:208:3: note: candidate: bool std::operator<(const std::error_code&, const std::error_code&)
   operator<(const error_code& __lhs, const error_code& __rhs) noexcept
   ^~~~~~~~
/usr/include/c++/7/system_error:208:3: note:   no known conversion for argument 2 from ‘float’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:282:3: note: candidate: bool std::operator<(const std::error_condition&, const std::error_condition&)
   operator<(const error_condition& __lhs,
   ^~~~~~~~
/usr/include/c++/7/system_error:282:3: note:   no known conversion for argument 1 from ‘const std::error_code’ to ‘const std::error_condition&’
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:80:63: error: no match for ‘operator>’ (operand types are ‘const std::error_code’ and ‘float’)
 #define     equivalent(a,b)     (((a < b + GLH_EPSILON) && (a > b - GLH_EPSILON)) ? true : false)
../../../../../Samples/NiViewer/glh/glh_linear.h:80:63: note: candidate: operator>(int, float) <built-in>
../../../../../Samples/NiViewer/glh/glh_linear.h:80:63: note:   no known conversion for argument 1 from ‘const std::error_code’ to ‘int’
In file included from /usr/include/c++/7/utility:70:0,
                 from /usr/include/c++/7/algorithm:60,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_pair.h:467:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator>(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:467:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::pair<_T1, _T2>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:320:5: note: candidate: template<class _Iterator> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator>(const reverse_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:320:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:358:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator>(const reverse_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:358:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::reverse_iterator<_Iterator>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1169:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator>(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
     operator>(const move_iterator<_IteratorL>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1169:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/7/algorithm:61,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:51,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_iterator.h:1175:5: note: candidate: template<class _Iterator> bool std::operator>(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
     operator>(const move_iterator<_Iterator>& __x,
     ^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1175:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::move_iterator<_IteratorL>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/list:63:0,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:52,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/stl_list.h:1931:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator>(const std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)
     operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_list.h:1931:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6132:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6132:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6145:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6145:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   ‘const std::error_code’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
In file included from /usr/include/c++/7/string:52:0,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from ../../../../../Samples/NiViewer/glh/glh_convenience.h:52,
                 from ../../../../../Samples/NiViewer/glh/glh_glut2.h:61,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:63:
/usr/include/c++/7/bits/basic_string.h:6157:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator>(const _CharT* __lhs,
     ^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6157:5: note:   template argument deduction/substitution failed:
In file included from ../../../../../Samples/NiViewer/glh/glh_obs.h:62:0,
                 from ../../../../../Samples/NiViewer/NiViewer.cpp:62:
../../../../../Samples/NiViewer/glh/glh_linear.h:77:47: note:   mismatched types ‘const _CharT*’ and ‘std::error_code’
 #define     GLH_EPSILON         GLH_REAL(10e-6)
                                               ^
make[1]: *** [x64-Release/NiViewer.o] Error 1
make: *** [Samples/NiViewer] Error 2
make: *** Waiting for unfinished jobs....
../../../../../Samples/NiUserSelection/SceneDrawer.cpp: In member function ‘void SceneDrawer::DrawDepthMapTexture()’:
../../../../../Samples/NiUserSelection/SceneDrawer.cpp:154:73: warning: narrowing conversion of ‘g_nXRes’ from ‘XnUInt16 {aka short unsigned int}’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing]
     GLfloat verts[8] = { g_nXRes, g_nYRes, g_nXRes, 0, 0, 0, 0, g_nYRes };
                                                                         ^
../../../../../Samples/NiUserSelection/SceneDrawer.cpp:154:73: warning: narrowing conversion of ‘g_nYRes’ from ‘XnUInt16 {aka short unsigned int}’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing]
../../../../../Samples/NiUserSelection/SceneDrawer.cpp:154:73: warning: narrowing conversion of ‘g_nXRes’ from ‘XnUInt16 {aka short unsigned int}’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing]
../../../../../Samples/NiUserSelection/SceneDrawer.cpp:154:73: warning: narrowing conversion of ‘g_nYRes’ from ‘XnUInt16 {aka short unsigned int}’ to ‘GLfloat {aka float}’ inside { } [-Wnarrowing]
failed to execute: make  -j8 -C /home/ab/KinectLibs/OpenNI/Platform/Linux/CreateRedist/../Build > /home/ab/KinectLibs/OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
Building Failed! ```
st-le commented 1 year ago

you can check this