mlii / mfrl

Mean Field Multi-Agent Reinforcement Learning
MIT License
369 stars 101 forks source link

Meet several undeclared identifier #24

Open lindsaymorgan opened 3 years ago

lindsaymorgan commented 3 years ago

Running this project on macOS, Clion. Meet these errors. Any suggestions?

====================[ Build | render | Debugllvm ]============================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/cmake-build-debugllvm --target render -- -j 9 Scanning dependencies of target render [ 14%] Building CXX object CMakeFiles/render.dir/src/render/backend/data.cc.o [ 28%] Building CXX object CMakeFiles/render.dir/src/render/backend/render.cc.o [ 57%] Building CXX object CMakeFiles/render.dir/src/render/backend/utility/logger.cc.o [ 71%] Building CXX object CMakeFiles/render.dir/src/render/backend/utility/config.cc.o [ 71%] Building CXX object CMakeFiles/render.dir/src/render/backend/text.cc.o [ 85%] Building CXX object CMakeFiles/render.dir/src/render/backend/websocket.cc.o In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/data.cc:1: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:214: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:95: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:137:77: error: use of undeclared identifier 'wcschr' wchar_t __libcpp_wcschr(const wchar_t s, wchar_t __c) {return (wchar_t*)wcschr(s, c);} ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/render.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/server.h:4: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:214: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:95: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:137:77: error: use of undeclared identifier 'wcschr' wchar_t __libcpp_wcschr(const wchar_t __s, wchar_t c) {return (wchar_t)wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk' wchar_t libcpp_wcspbrk(const wchar_t* s1, const wchar_t __s2) {return (wchar_t)wcspbrk(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'? /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk' wchar_t __libcpp_wcsrchr(const wchar_t s, wchar_t __c) {return (wchar_t*)wcsrchr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:139:16: note: 'wcschr' declared here wchar_t __libcpp_wcspbrk(const wchar_t __s1, const wchar_t* s2) {return (wchar_t)wcspbrk(s1, s2);} ^ const wchar_t wcschr(const wchar_t s, wchar_t c) {return libcpp_wcschr(s, __c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'? wchar_t libcpp_wcsstr(const wchar_t* s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: note: 'wcschr' declared here wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:86: error: no matching function for call to 'wcschr' wchar_t __libcpp_wcsstr(const wchar_t __s1, const wchar_t* s2) {return (wchar_t)wcsstr(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: note: candidate disabled: wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, __c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t ' with an lvalue of type 'const wchar_t '/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h: 151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'? wchar_t libcpp_wcsstr(const wchar_t* s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, s2);} ^~~~ wchar_t __libcpp_wcsrchr(const wchar_t s, wchar_t __c) {return (wchar_t*)wcsrchr(s, c);} ^/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h :141:38: note: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.hpassing argument to parameter 's' here:139 :16: note: 'wcschr' declared here wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ const wchar_t wcschr(const wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:165:60: error: unknown type name 'size_t' wchar_t __libcpp_wmemchr(const wchar_t s, wchar_t __c, size_t n) {return (wchar_t*)wmemchr(s, c, __n);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h::158167::8657:: errorerror: : use of undeclared identifier 'wcsstr'; did you mean 'wcschr'?unknown type name 'size_t'

const wchar_t wmemchr(const wchar_t s, wchar_t __c, size_t n) {return libcpp_wmemchr(s, c, __n);} ^ wchar_t* libcpp_wcsstr(const wchar_t __s1, const wchar_t s2) {return (wchar_t)wcsstr(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: note: 'wcschr' declared here wchar_t wcschr( wchar_t* __s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:86: error: no matching function for call to 'wcschr' wchar_t* libcpp_wcsstr(const wchar_t __s1, const wchar_t s2) {return (wchar_t)wcsstr(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: note: candidate disabled: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:169:57: error: unknown type name 'size_t' wchar_t wcschr( wchar_t* s, wchar_t c) {return libcpp_wcschr(s, c);} ^ wchar_t wmemchr( wchar_t s, wchar_t __c, size_t n) {return libcpp_wmemchr(s, c, __n);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t ' with an lvalue of type 'const wchar_t ' wchar_t* libcpp_wcsstr(const wchar_t __s1, const wchar_t s2) {return (wchar_t*)wcsstr(s1, s2);}In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/utility/config.cc: ^~~~ 1: /usr/local/opt/llvm/bin/../include/c++/v1/string.h/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h::73141::6438:: errornote: : passing argument to parameter 's' here use of undeclared identifier 'strchr' wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ char* libcpp_strchr(const char s, int c) {return (char)strchr(s, c);} ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/text.cc:4: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/math.h:308: /usr/local/opt/llvm/bin/../include/c++/v1/stdlib.h:142:34: error: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:165unknown type name 'ldiv_t':60 : error: unknown type name 'size_t' wchar_t __libcpp_wmemchr(const wchar_t s, wchar_t __c, size_t n) {return (wchar_t*)wmemchr(s, c, n);}inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long x, long __y) _NOEXCEPT {

                                                       ^                                 ^

/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:167:57: error: unknown type name 'size_t' /usr/local/opt/llvm/bin/../include/c++/v1/stdlib.h:143:12: error: no member named 'ldiv' in the global namespace return ::ldiv(x, y); ~~^ const wchar_t wmemchr(const wchar_t s, wchar_t __c, size_t n) {return libcpp_wmemchr(s, c, n);} ^ /usr/local/opt/llvm/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);} ^ In file included from In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/data.cc/Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.cc::1: 1In file included from : /usr/local/opt/llvm/bin/../include/c++/v1/fstream:In file included from 183/Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.h: :In file included from 4/usr/local/opt/llvm/bin/../include/c++/v1/ostream: :In file included from 138/usr/local/include/websocketpp/config/asio_no_tls_client.hpp: :In file included from 31/usr/local/opt/llvm/bin/../include/c++/v1/ios: :In file included from 214/usr/local/include/websocketpp/config/core_client.hpp: :38: /usr/local/opt/llvm/bin/../include/c++/v1/iosfwdIn file included from :/usr/local/include/websocketpp/concurrency/basic.hpp189::3114: :In file included from /usr/local/include/websocketpp/common/thread.hpp:59error: : In file included from /usr/local/opt/llvm/bin/../include/c++/v1/thread:use of undeclared identifier 'mbstate_t'86:

In file included from /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:95: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:137:77: typedef fpos streampos;/usr/local/opt/llvm/bin/../include/c++/v1/stdlib.h :error146 ^: : 34/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:: 169use of undeclared identifier 'wcschr':57 error:: unknown type name 'lldiv_t'error: unknown type name 'size_t' inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long x, ^ wchar_t wmemchr( wchar_t s, wchar_t c, size_t n) {return libcpp_wmemchr(s, c, n);}wchar_t __libcpp_wcschr(const wchar_t s, wchar_t __c) {return (wchar_t*)wcschr(s, __c);}

                                                    ^                                                                            ^

/usr/local/opt/llvm/bin/../include/c++/v1/stdlib.h:148:12: /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:error190: :14no member named 'lldiv' in the global namespace : error: use of undeclared identifier 'mbstate_t' return ::lldiv(x, y);

     ~~^

typedef fpos wstreampos; ^ /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:195:14: error: use of undeclared identifier 'mbstate_t' typedef fpos u16streampos; ^ /usr/local/opt/llvm/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);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk' const char strchr(const char s, int c) {return __libcpp_strchr(s, c);} ^ wchar_t libcpp_wcspbrk(const wchar_t* s1, const wchar_t __s2) {return (wchar_t)wcspbrk(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:196:14: error: use of undeclared identifier 'mbstate_t' typedef fpos u32streampos; ^ /usr/local/opt/llvm/bin/../include/c++/v1/string.h:94:49: error: unknown type name 'size_t' /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'? void __libcpp_memchr(const void s, int c, size_t n) {return (void*)memchr(s, c, n);} ^ wchar_t __libcpp_wcsrchr(const wchar_t s, wchar_t __c) {return (wchar_t*)wcsrchr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:139:16: note: 'wcschr' declared here const wchar_t wcschr(const wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/string.h:96:46: error: unknown type name 'size_t' In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/render.ccconst void memchr(const void s, int c, size_t n) {return libcpp_memchr(s, c, n);}: 1: ^In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/server.h:4: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:214: /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:189:14: error: use of undeclared identifier 'mbstate_t' typedef fpos streampos; ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'? wchar_t* libcpp_wcsstr(const wchar_t __s1, const wchar_t s2) {return (wchar_t)wcsstr(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: note: 'wcschr' declared here /usr/local/opt/llvm/bin/../include/c++/v1/string.h:98:46: wchar_t wcschr( wchar_t* __s, wchar_t c) {return libcpp_wcschr(s, c);} error: ^ unknown type name 'size_t' void memchr( void s, int c, size_t n) {return libcpp_memchr(s, c, n);} /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h ^: 158:86: error: no matching function for call to 'wcschr' /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:190:wchar_t __libcpp_wcsstr(const wchar_t s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, __s2);}14 : ^ error: use of undeclared identifier 'mbstate_t' /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: notetypedef fpos wstreampos;: candidate disabled: ^

  wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
           ^

/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t ' with an lvalue of type 'const wchar_t ' wchar_t __libcpp_wcsstr(const wchar_t s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, s2);} ^~~~ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:38: note: passing argument to parameter 's' here wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/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);} ^/usr/local/opt/llvm/bin/../include/c++/v1/iosfwd :195:14: /usr/local/opt/llvm/bin/../include/c++/v1/string.h:77error:: 13: use of undeclared identifier 'mbstate_t' note: 'strchr' declared here typedef fpos u16streampos; ^ char strchr( char s, int c) {return libcpp_strchr(s, c);} ^ /usr/local/opt/llvm/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);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/string.h:77:13: note: candidate disabled: char strchr( char s, int c) {return __libcpp_strchr(s, c);} ^ /usr/local/opt/llvm/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);} ^~~~ /usr/local/opt/llvm/bin/../include/c++/v1/string.h:77:/usr/local/opt/llvm/bin/../include/c++/v1/iosfwd32::196 :14:note : passing argument to parameter 's' hereerror: use of undeclared identifier 'mbstate_t' /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:165:60: error: unknown type name 'size_t'typedef fpos u32streampos;

         ^
  char* strchr(      char* __s, int __c) {return __libcpp_strchr(__s, __c);}
                           ^

wchar_t __libcpp_wmemchr(const wchar_t s, wchar_t __c, size_t n) {return (wchar_t)wmemchr(s, c, __n);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:167:57: error: unknown type name 'size_t' const wchar_t wmemchr(const wchar_t s, wchar_t __c, size_t n) {return __libcpp_wmemchr(s, c, __n);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:169:57: error: unknown type name 'size_t' wchar_t wmemchr( wchar_t s, wchar_t __c, size_t n) {return libcpp_wmemchr(s, c, __n);} ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.h:4: In file included from /usr/local/include/websocketpp/config/asio_no_tls_client.hpp:31: In file included from /usr/local/include/websocketpp/config/core_client.hpp:38: In file included from /usr/local/include/websocketpp/concurrency/basic.hpp:31: In file included from /usr/local/include/websocketpp/common/thread.hpp:59: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/thread:86: /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:189:14: error: use of undeclared identifier 'mbstate_t' typedef fpos streampos; ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/data.cc:1: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:215: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/locale:14: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string:506: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string_view:175: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/__string:57: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/algorithm:639: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:46: /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace using ::ptrdiff_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:190:14: error: use of undeclared identifier 'mbstate_t' typedef fpos wstreampos; ^ /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:195:14: error: use of undeclared identifier 'mbstate_t' typedef fpos u16streampos; ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'size_t' in the global namespace using ::size_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:196:14: error: use of undeclared identifier 'mbstate_t' typedef fpos u32streampos; ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:53:9: error: no member named 'max_align_t' in the global namespace using ::max_align_t; ~~^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/utility/config.cc:2: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/iostream:37: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:214: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:95: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:137:77: error: use of undeclared identifier 'wcschr' wchar_t libcpp_wcschr(const wchar_t* s, wchar_t c) {return (wchar_t*)wcschr(s, c);} ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/data.cc:1: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:215: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/locale:14: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string:506: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string_view:175: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string:57: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/algorithm:639: /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:61:5: error: unknown type name 'size_t' size_t size_; ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk' wchar_t* libcpp_wcspbrk(const wchar_t __s1, const wchar_t s2) {return (wchar_t)wcspbrk(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:65:38: error: unknown type name 'size_t' initializer_list(const _Ep b, size_t __s) _NOEXCEPT ^ /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:73:13: error: unknown type name 'size_t' typedef size_t size_type; ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.h:4: In file included from /usr/local/include/websocketpp/config/asio_no_tls_client.hpp:31: In file included from /usr/local/include/websocketpp/config/core_client.hpp:38: In file included from /usr/local/include/websocketpp/concurrency/basic.hpp:31: In file included from /usr/local/include/websocketpp/common/thread.hpp:59: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/thread:87: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/functional_base:14: /usr/local/opt/llvm/bin/../include/c++/v1/wchar.hIn file included from :/usr/local/opt/llvm/bin/../include/c++/v1/type_traits151::41778: : /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:error: 49:9use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'?: error: no member named 'ptrdiff_t' in the global namespace using ::ptrdiff_t;wchar_t __libcpp_wcsrchr(const wchar_t s, wchar_t __c) {return (wchar_t*)wcsrchr(s, __c);}

  ~~^                                                                             ^

/usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:139:16: note: 'wcschr' declared here const wchar_t wcschr(const wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'size_t' in the global namespace using ::size_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'? In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/render.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/server.h:4: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:215: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/locale:14: In file included from wchar_t __libcpp_wcsstr(const wchar_t s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, __s2);}/usr/local/opt/llvm/bin/../include/c++/v1/string :506 ^:

In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string_view:175: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h/usr/local/opt/llvm/bin/../include/c++/v1/__string::14157:: 16In file included from :/usr/local/opt/llvm/bin/../include/c++/v1/algorithm :639: noteIn file included from : /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:'wcschr' declared here46:

/usr/local/opt/llvm/bin/../include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace using ::ptrdiff_t; ~~^ wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:86: error: no matching function for call to 'wcschr' wchar_t __libcpp_wcsstr(const wchar_t __s1, const wchar_t* s2) {return (wchar_t)wcsstr(s1, s2);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:16: note: /usr/local/opt/llvm/bin/../include/c++/v1/cstddefcandidate disabled: :53 :9: error: no member named 'max_align_t' in the global namespace using ::max_align_t; ~~^ wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, __c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t ' with an lvalue of type 'const wchar_t ' wchar_t libcpp_wcsstr(const wchar_t* s1, const wchar_t __s2) {return (wchar_t)wcsstr(s1, s2);} ^~~~ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:141:38: note: passing argument to parameter 's' here /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'size_t' in the global namespace using ::size_t; ~~^ wchar_t wcschr( wchar_t s, wchar_t c) {return libcpp_wcschr(s, c);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstddef:53:9: error: no member named 'max_align_t' in the global namespace using ::max_align_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:165:60: error: unknown type name 'size_t' wchar_t __libcpp_wmemchr(const wchar_t s, wchar_t __c, size_t n) {return (wchar_t)wmemchr(s, c, __n);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:167:57: error: unknown type name 'size_t' const wchar_t wmemchr(const wchar_t s, wchar_t __c, size_t n) {return libcpp_wmemchr(s, c, n);} ^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/render.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/server.h:4: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/fstream:183: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ostream:138: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:215: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/locale:14: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string:506: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string_view:175: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/string:57: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/algorithm:639: /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:61:5: error: unknown type name 'size_t' size_t _size; ^ /usr/local/opt/llvm/bin/../include/c++/v1/wchar.h:169:57: error: unknown type name 'size_t' wchar_t wmemchr( wchar_t s, wchar_t __c, size_t n) {return __libcpp_wmemchr(s, c, __n);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:65:38: error: unknown type name 'size_t' initializer_list(const _Ep b, size_t s) _NOEXCEPT ^ /usr/local/opt/llvm/bin/../include/c++/v1/initializer_list:73:13: error: unknown type name 'size_t' typedef size_t size_type; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/utility/config.cc:2: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/iostream:37: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ios:214: /usr/local/opt/llvm/bin/../include/c++/v1/iosfwd:189:14: error: use of undeclared identifier 'mbstate_t' typedef fpos streampos; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/websocket.h:4: In file included from /usr/local/include/websocketpp/config/asio_no_tls_client.hpp:31: In file included from /usr/local/include/websocketpp/config/core_client.hpp:38: In file included from /usr/local/include/websocketpp/concurrency/basic.hpp:31: In file included from /usr/local/include/websocketpp/common/thread.hpp:59: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/thread:87: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/functional_base:14: /usr/local/opt/llvm/bin/../include/c++/v1/type_traits:1553:32: error: use of undeclared identifier 'size_t'; did you mean 'sizeof'? : public integral_constant<size_t, 0> {}; ^ /usr/local/opt/llvm/bin/../include/c++/v1/type_traits:1553:38: error: expected expression : public integral_constant<size_t, 0> {}; ^ /usr/local/opt/llvm/bin/../include/c++/v1/type_traits:1555:32: error: use of undeclared identifier 'size_t'; did you mean 'sizeof'? : public integral_constant<size_t, rank<_Tp>::value + 1> {}; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/utility/logger.cc:1: In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/utility/logger.h:4: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/mutex:190: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/mutex_base:14: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/chrono:829: In file included from /usr/local/opt/llvm/bin/../include/c++/v1/ratio:81: /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:157:8: error: no member named 'uint8_t' in the global namespace using::uint8_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:158:8: error: no member named 'uint16_t' in the global namespace using::uint16_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:159:8: error: no member named 'uint32_t' in the global namespace using::uint32_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:160:8: error: no member named 'uint64_t' in the global namespace using::uint64_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:162:8: error: no member named 'int_least8_t' in the global namespace using::int_least8_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:163:8: error: no member named 'int_least16_t' in the global namespace using::int_least16_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:164:8: error: no member named 'int_least32_t' in the global namespace using::int_least32_t; ~~^ In file included from /Users/lindsaymorgan/Desktop/mfrl/examples/battle_model/src/render/backend/text.cc:4: /usr/local/opt/llvm/bin/../include/c++/v1/math.h:771: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:771:46: note: 'acos' declared here inline _LIBCPP_INLINE_VISIBILITY float acos(float lcpp_x) _NOEXCEPT {return ::acosf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:165:8: error: no member named 'int_least64_t' in the global namespace using::int_least64_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:772: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:771:46: note: 'acos' declared here inline _LIBCPP_INLINE_VISIBILITY float acos(float lcpp_x) _NOEXCEPT {return ::acosf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:778:38: error: call to 'acos' is ambiguous acos(_A1 lcpp_x) _NOEXCEPT {return ::acos((double)lcpp_x);} ^~ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:771:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float acos(float lcpp_x) _NOEXCEPT {return ::acosf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:772:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long double acos(long double lcpp_x) _NOEXCEPT {return ::acosl(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:167:8: error: no member named 'uint_least8_t' in the global namespace using::uint_least8_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:783: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:783:46: note: 'asin' declared here inline _LIBCPP_INLINE_VISIBILITY float asin(float lcpp_x) _NOEXCEPT {return ::asinf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:784: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:783:46: note: 'asin' declared here inline _LIBCPP_INLINE_VISIBILITY float asin(float lcpp_x) _NOEXCEPT {return ::asinf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:790:38: error: call to 'asin' is ambiguous asin(_A1 lcpp_x) _NOEXCEPT {return ::asin((double)lcpp_x);} ^~ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:783:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float asin(float lcpp_x) _NOEXCEPT {return ::asinf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:784:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long double asin(long double lcpp_x) _NOEXCEPT {return ::asinl(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:168:8: error: no member named 'uint_least16_t' in the global namespace using::uint_least16_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:795: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:795:46: note: 'atan' declared here inline _LIBCPP_INLINE_VISIBILITY float atan(float lcpp_x) _NOEXCEPT {return ::atanf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:796: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:795:46: note: 'atan' declared here inline _LIBCPP_INLINE_VISIBILITY float atan(float lcpp_x) _NOEXCEPT {return ::atanf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:802:38: error: call to 'atan' is ambiguous atan(_A1 lcpp_x) _NOEXCEPT {return ::atan((double)lcpp_x);} ^~ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:795:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float atan(float lcpp_x) _NOEXCEPT {return ::atanf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:796:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long double atan(long double lcpp_x) _NOEXCEPT {return ::atanl(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:169:8: error: no member named 'uint_least32_t' in the global namespace using::uint_least32_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:807: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);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:807:46: note: 'atan2' declared here inline _LIBCPP_INLINE_VISIBILITY float atan2(float lcpp_y, float lcpp_x) _NOEXCEPT {return ::atan2f(lcpp_y, lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:808:116: error: no member named 'atan2l' in the global namespace; did you mean 'atan2'? inline _LIBCPP_INLINE_VISIBILITY long double atan2(long double lcpp_y, long double lcpp_x) _NOEXCEPT {return ::atan2l(lcpp_y, lcpp_x);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:807:46: note: 'atan2' declared here inline _LIBCPP_INLINE_VISIBILITY float atan2(float lcpp_y, float lcpp_x) _NOEXCEPT {return ::atan2f(lcpp_y, lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:170:8: error: no member named 'uint_least64_t' in the global namespace using::uint_least64_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:830:93: error: no member named 'ceilf' in the global namespace; did you mean 'ceil'? inline _LIBCPP_INLINE_VISIBILITY float ceil(float lcpp_x) _NOEXCEPT {return ::ceilf(lcpp_x);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:830:46: note: 'ceil' declared here inline _LIBCPP_INLINE_VISIBILITY float ceil(float lcpp_x) _NOEXCEPT {return ::ceilf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:172:8: error: no member named 'int_fast8_t' in the global namespace using::int_fast8_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:831:93: error: no member named 'ceill' in the global namespace; did you mean 'ceil'? inline _LIBCPP_INLINE_VISIBILITY long double ceil(long double lcpp_x) _NOEXCEPT {return ::ceill(lcpp_x);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:830:46: note: 'ceil' declared here inline _LIBCPP_INLINE_VISIBILITY float ceil(float lcpp_x) _NOEXCEPT {return ::ceilf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:837:38: error: call to 'ceil' is ambiguous ceil(_A1 lcpp_x) _NOEXCEPT {return ::ceil((double)lcpp_x);} ^~ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:830:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY float ceil(float lcpp_x) _NOEXCEPT {return ::ceilf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:831:46: note: candidate function inline _LIBCPP_INLINE_VISIBILITY long double ceil(long double lcpp_x) _NOEXCEPT {return ::ceill(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:173:8: error: no member named 'int_fast16_t' in the global namespace using::int_fast16_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:842:92: error: no member named 'cosf' in the global namespace; did you mean 'cos'? inline _LIBCPP_INLINE_VISIBILITY float cos(float lcpp_x) _NOEXCEPT {return ::cosf(lcpp_x);} ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/math.h:842:46: note: 'cos' declared here inline _LIBCPP_INLINE_VISIBILITY float cos(float lcpp_x) _NOEXCEPT {return ::cosf(lcpp_x);} ^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:174:8: error: no member named 'int_fast32_t' in the global namespace using::int_fast32_t; ~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:175:8: error: no member named 'int_fast64_t' in the global namespace using::int_fast64_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:177:8: error: no member named 'uint_fast8_t' in the global namespace using::uint_fast8_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:178:8: error: no member named 'uint_fast16_t' in the global namespace using::uint_fast16_t; ~~^ /usr/local/opt/llvm/bin/../include/c++/v1/cstdint:179:8: error: no member named 'uint_fast32_t' in the global namespace using::uint_fast32_t; ~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[3]: [CMakeFiles/render.dir/src/render/backend/utility/config.cc.o] Error 1 make[3]: Waiting for unfinished jobs.... 20 errors generated. make[3]: [CMakeFiles/render.dir/src/render/backend/utility/logger.cc.o] Error 1 20 errors generated. make[3]: [CMakeFiles/render.dir/src/render/backend/text.cc.o] Error 1 20 errors generated. make[3]: [CMakeFiles/render.dir/src/render/backend/data.cc.o] Error 1 20 errors generated. make[3]: [CMakeFiles/render.dir/src/render/backend/websocket.cc.o] Error 1 20 errors generated. make[3]: [CMakeFiles/render.dir/src/render/backend/render.cc.o] Error 1 make[2]: [CMakeFiles/render.dir/all] Error 2 make[1]: [CMakeFiles/render.dir/rule] Error 2 make: [render] Error 2