shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
236 stars 63 forks source link

../configure --ios #220

Open abaig-experlabs opened 3 years ago

abaig-experlabs commented 3 years ago

Hi i got this error while running makefile command in terminal. i am using macOS Big Sur

CXX obj/third_party/gflags/gflags/gflags_reporting.o
FAILED: obj/third_party/gflags/gflags/gflags_reporting.o 
../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/gflags/gflags/gflags_reporting.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"n332890-c2443155-1\" -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DGFLAGS_DLL_DECL=__attribute__\(\(visibility\(\"default\"\)\)\) -I.. -Igen -I../third_party/gflags/src/src -Igen/gflags/include/gflags -Igen/gflags/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -arch x86_64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -stdlib=libc++ -mios-simulator-version-min=10.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wunguarded-availability -Wundeclared-selector -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-bitwise-conditional-parentheses -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../third_party/gflags/src/src/gflags_reporting.cc -o obj/third_party/gflags/gflags/gflags_reporting.o
In file included from ../third_party/gflags/src/src/gflags_reporting.cc:52:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:73:64: error: use of undeclared identifier 'strchr'
char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);}
                                                               ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:80:75: error: use of undeclared identifier 'strpbrk'
char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);}
                                                                          ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:87:65: error: use of undeclared identifier 'strrchr'; did you mean 'strchr'?
char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);}
                                                                ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here
const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:94:49: error: unknown type name 'size_t'
void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);}
                                                ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:96:46: error: unknown type name 'size_t'
const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:98:46: error: unknown type name 'size_t'
      void* memchr(      void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:101:74: error: use of undeclared identifier 'strstr'; did you mean 'strchr'?
char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
                                                                         ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:77:13: note: 'strchr' declared here
      char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:101:74: error: no matching function for call to 'strchr'
char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
                                                                         ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:77:13: note: candidate disabled: <no message provided>
      char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:101:81: error: cannot initialize a parameter of type 'char *' with an lvalue of type 'const char *'
char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
                                                                                ^~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:77:32: note: passing argument to parameter '__s' here
      char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
                               ^
In file included from ../third_party/gflags/src/src/gflags_reporting.cc:54:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/assert.h:44:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/stdlib.h:100:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:773:12: error: no member named 'labs' in the global namespace; did you mean 'abs'?
  return ::labs(__x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:772:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:777:12: error: no member named 'llabs' in the global namespace
  return ::llabs(__x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:785:12: error: no member named 'fabsf' in the global namespace
  return ::fabsf(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:789:12: error: no member named 'fabs' in the global namespace; did you mean 'abs'?
  return ::fabs(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:772:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:794:12: error: no member named 'fabsl' in the global namespace
  return ::fabsl(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:808:34: error: unknown type name 'ldiv_t'
inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
                                 ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:809:12: error: no member named 'ldiv' in the global namespace
  return ::ldiv(__x, __y);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:812:34: error: unknown type name 'lldiv_t'
inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
                                 ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:814:12: error: no member named 'lldiv' in the global namespace
  return ::lldiv(__x, __y);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:93: error: no member named 'acosf' in the global namespace; did you mean 'acos'?
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: 'acos' declared here
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[159/511] CXX obj/third_party/gflags/gflags/gflags.o
FAILED: obj/third_party/gflags/gflags/gflags.o 
../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/gflags/gflags/gflags.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"n332890-c2443155-1\" -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DGFLAGS_DLL_DECL=__attribute__\(\(visibility\(\"default\"\)\)\) -I.. -Igen -I../third_party/gflags/src/src -Igen/gflags/include/gflags -Igen/gflags/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -arch x86_64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -stdlib=libc++ -mios-simulator-version-min=10.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wunguarded-availability -Wundeclared-selector -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-bitwise-conditional-parentheses -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../third_party/gflags/src/src/gflags.cc -o obj/third_party/gflags/gflags/gflags.o
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:60:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:73:64: error: use of undeclared identifier 'strchr'
char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);}
                                                               ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:80:75: error: use of undeclared identifier 'strpbrk'
char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);}
                                                                          ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:87:65: error: use of undeclared identifier 'strrchr'; did you mean 'strchr'?
char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);}
                                                                ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here
const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:94:76: error: use of undeclared identifier 'memchr'
void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);}
                                                                           ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:101:74: error: use of undeclared identifier 'strstr'; did you mean 'strchr'?
char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
                                                                         ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:77:13: note: 'strchr' declared here
      char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:101:74: error: no matching function for call to 'strchr'
char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
                                                                         ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:77:13: note: candidate disabled: <no message provided>
      char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:101:81: error: cannot initialize a parameter of type 'char *' with an lvalue of type 'const char *'
char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);}
                                                                                ^~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:77:32: note: passing argument to parameter '__s' here
      char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
                               ^
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:69:9: error: no member named 'memcpy' in the global namespace; did you mean 'memchr'?
using ::memcpy;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:96:13: note: 'memchr' declared here
const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);}
            ^
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:70:9: error: no member named 'memmove' in the global namespace
using ::memmove;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:71:9: error: no member named 'strcpy' in the global namespace; did you mean 'strchr'?
using ::strcpy;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here
const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:72:9: error: no member named 'strncpy' in the global namespace
using ::strncpy;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:73:9: error: no member named 'strcat' in the global namespace; did you mean 'strchr'?
using ::strcat;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here
const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:74:9: error: no member named 'strncat' in the global namespace
using ::strncat;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:75:9: error: no member named 'memcmp' in the global namespace; did you mean 'memchr'?
using ::memcmp;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:96:13: note: 'memchr' declared here
const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);}
            ^
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:76:9: error: no member named 'strcmp' in the global namespace; did you mean 'strchr'?
using ::strcmp;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here
const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);}
            ^
In file included from ../third_party/gflags/src/src/gflags.cc:91:
In file included from gen/gflags/include/gflags/gflags.h:81:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string:504:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/string_view:175:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/__string:57:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/algorithm:641:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:77:9: error: no member named 'strncmp' in the global namespace
using ::strncmp;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:78:9: error: no member named 'strcoll' in the global namespace
using ::strcoll;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:79:9: error: no member named 'strxfrm' in the global namespace
using ::strxfrm;
      ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/cstring:82:9: error: no member named 'strcspn' in the global namespace
using ::strcspn;
      ~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[161/511] CXX obj/third_party/gflags/gflags/gflags_completions.o
FAILED: obj/third_party/gflags/gflags/gflags_completions.o 
../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/gflags/gflags/gflags_completions.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"n332890-c2443155-1\" -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DGFLAGS_DLL_DECL=__attribute__\(\(visibility\(\"default\"\)\)\) -I.. -Igen -I../third_party/gflags/src/src -Igen/gflags/include/gflags -Igen/gflags/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -arch x86_64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -stdlib=libc++ -mios-simulator-version-min=10.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wunguarded-availability -Wundeclared-selector -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-bitwise-conditional-parentheses -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../third_party/gflags/src/src/gflags_completions.cc -o obj/third_party/gflags/gflags/gflags_completions.o
In file included from ../third_party/gflags/src/src/gflags_completions.cc:50:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/stdlib.h:100:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:773:12: error: no member named 'labs' in the global namespace; did you mean 'abs'?
  return ::labs(__x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:772:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:777:12: error: no member named 'llabs' in the global namespace
  return ::llabs(__x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:785:12: error: no member named 'fabsf' in the global namespace
  return ::fabsf(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:789:12: error: no member named 'fabs' in the global namespace; did you mean 'abs'?
  return ::fabs(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:772:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:794:12: error: no member named 'fabsl' in the global namespace
  return ::fabsl(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:808:34: error: unknown type name 'ldiv_t'
inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
                                 ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:809:12: error: no member named 'ldiv' in the global namespace
  return ::ldiv(__x, __y);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:812:34: error: unknown type name 'lldiv_t'
inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
                                 ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:814:12: error: no member named 'lldiv' in the global namespace
  return ::lldiv(__x, __y);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:93: error: no member named 'acosf' in the global namespace; did you mean 'acos'?
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: 'acos' declared here
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:823:93: error: no member named 'acosl' in the global namespace; did you mean 'acos'?
inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: 'acos' declared here
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:829:38: error: call to 'acos' is ambiguous
acos(_A1 __lcpp_x) _NOEXCEPT {return ::acos((double)__lcpp_x);}
                                     ^~~~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:823:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:93: error: no member named 'asinf' in the global namespace; did you mean 'asin'?
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:46: note: 'asin' declared here
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:835:93: error: no member named 'asinl' in the global namespace; did you mean 'asin'?
inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __lcpp_x) _NOEXCEPT {return ::asinl(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:46: note: 'asin' declared here
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:841:38: error: call to 'asin' is ambiguous
asin(_A1 __lcpp_x) _NOEXCEPT {return ::asin((double)__lcpp_x);}
                                     ^~~~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:835:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __lcpp_x) _NOEXCEPT {return ::asinl(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:93: error: no member named 'atanf' in the global namespace; did you mean 'atan'?
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:46: note: 'atan' declared here
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:847:93: error: no member named 'atanl' in the global namespace; did you mean 'atan'?
inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return ::atanl(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:46: note: 'atan' declared here
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:853:38: error: call to 'atan' is ambiguous
atan(_A1 __lcpp_x) _NOEXCEPT {return ::atan((double)__lcpp_x);}
                                     ^~~~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:847:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return ::atanl(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:858:116: error: no member named 'atan2f' in the global namespace; did you mean 'atan2'?
inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __lcpp_y, float __lcpp_x) _NOEXCEPT             {return ::atan2f(__lcpp_y, __lcpp_x);}
                                                                                                                 ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:858:46: note: 'atan2' declared here
inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __lcpp_y, float __lcpp_x) _NOEXCEPT             {return ::atan2f(__lcpp_y, __lcpp_x);}
                                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[163/511] CXX obj/third_party/glog/glog/symbolize.o
FAILED: obj/third_party/glog/glog/symbolize.o 
../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/glog/glog/symbolize.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"n332890-c2443155-1\" -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DHAVE_CONFIG_H -DHAVE_LIB_GFLAGS -I.. -Igen -I../third_party/glog/src/src -Igen/glog/src -Igen/gflags/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -arch x86_64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -stdlib=libc++ -mios-simulator-version-min=10.0 -ftrivial-auto-var-init=pattern -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wunguarded-availability -Wundeclared-selector -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-bitwise-conditional-parentheses -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -fvisibility=default -Wno-deprecated-declarations -Wno-header-hygiene -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-exceptions -fno-rtti -c ../third_party/glog/src/src/symbolize.cc -o obj/third_party/glog/glog/symbolize.o
In file included from ../third_party/glog/src/src/symbolize.cc:55:
In file included from ../third_party/glog/src/src/utilities.h:75:
In file included from ../third_party/glog/src/src/base/mutex.h:152:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/assert.h:44:
In file included from ../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/stdlib.h:100:
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:773:12: error: no member named 'labs' in the global namespace; did you mean 'abs'?
  return ::labs(__x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:772:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:777:12: error: no member named 'llabs' in the global namespace
  return ::llabs(__x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:785:12: error: no member named 'fabsf' in the global namespace
  return ::fabsf(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:789:12: error: no member named 'fabs' in the global namespace; did you mean 'abs'?
  return ::fabs(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:772:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:794:12: error: no member named 'fabsl' in the global namespace
  return ::fabsl(__lcpp_x);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:808:34: error: unknown type name 'ldiv_t'
inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
                                 ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:809:12: error: no member named 'ldiv' in the global namespace
  return ::ldiv(__x, __y);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:812:34: error: unknown type name 'lldiv_t'
inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
                                 ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:814:12: error: no member named 'lldiv' in the global namespace
  return ::lldiv(__x, __y);
         ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:93: error: no member named 'acosf' in the global namespace; did you mean 'acos'?
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: 'acos' declared here
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:823:93: error: no member named 'acosl' in the global namespace; did you mean 'acos'?
inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: 'acos' declared here
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:829:38: error: call to 'acos' is ambiguous
acos(_A1 __lcpp_x) _NOEXCEPT {return ::acos((double)__lcpp_x);}
                                     ^~~~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:822:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float       acos(float __lcpp_x) _NOEXCEPT       {return ::acosf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:823:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double acos(long double __lcpp_x) _NOEXCEPT {return ::acosl(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:93: error: no member named 'asinf' in the global namespace; did you mean 'asin'?
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:46: note: 'asin' declared here
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:835:93: error: no member named 'asinl' in the global namespace; did you mean 'asin'?
inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __lcpp_x) _NOEXCEPT {return ::asinl(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:46: note: 'asin' declared here
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:841:38: error: call to 'asin' is ambiguous
asin(_A1 __lcpp_x) _NOEXCEPT {return ::asin((double)__lcpp_x);}
                                     ^~~~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:834:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float       asin(float __lcpp_x) _NOEXCEPT       {return ::asinf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:835:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double asin(long double __lcpp_x) _NOEXCEPT {return ::asinl(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:93: error: no member named 'atanf' in the global namespace; did you mean 'atan'?
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:46: note: 'atan' declared here
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:847:93: error: no member named 'atanl' in the global namespace; did you mean 'atan'?
inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return ::atanl(__lcpp_x);}
                                                                                          ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:46: note: 'atan' declared here
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:853:38: error: call to 'atan' is ambiguous
atan(_A1 __lcpp_x) _NOEXCEPT {return ::atan((double)__lcpp_x);}
                                     ^~~~~~
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:846:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float       atan(float __lcpp_x) _NOEXCEPT       {return ::atanf(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:847:46: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return ::atanl(__lcpp_x);}
                                             ^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:858:116: error: no member named 'atan2f' in the global namespace; did you mean 'atan2'?
inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __lcpp_y, float __lcpp_x) _NOEXCEPT             {return ::atan2f(__lcpp_y, __lcpp_x);}
                                                                                                                 ~~^
../third_party/llvm-build/Release+Asserts/bin/../include/c++/v1/math.h:858:46: note: 'atan2' declared here
inline _LIBCPP_INLINE_VISIBILITY float       atan2(float __lcpp_y, float __lcpp_x) _NOEXCEPT             {return ::atan2f(__lcpp_y, __lcpp_x);}
                                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[166/511] CXX clang_x64/obj/third_party/protobuf/protoc_lib/js_generator.o
ninja: build stopped: subcommand failed.
smanish22 commented 2 years ago

Hi, I am also getting same error in Big Sur.. Is it coming due to OS version or due to some other problem. Which OS version we can use to compile it.

fyanyan commented 2 years ago

Have you solved your problem? I'm also getting same error in Big Sur