Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>------ Build started: Project: discord-connector, Configuration: Debug Win32 ------
- 1> CChannel.cpp
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: '_Ty *std::begin(_Ty (&)[_Size]) noexcept': could not deduce template argument for '_Ty (&)[_Size]' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\xutility(1250): note: see declaration of 'std::begin'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(761): note: see reference to class template instantiation 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>' being compiled
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(790): note: see reference to class template instantiation 'std::is_nothrow_constructible<_Ty,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &&>' being compiled
- 1> with
- 1> [
- 1> _Ty=nlohmann::json
- 1> ]
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(10748): note: see reference to class template instantiation 'std::is_nothrow_move_constructible<nlohmann::json>' being compiled
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(const _Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(_Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: 'const _Elem *std::begin(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\initializer_list(60): note: see declaration of 'std::begin'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(97): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(100): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(142): error C2899: typename cannot be used outside a template declaration
- 1> CMessage.cpp
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: '_Ty *std::begin(_Ty (&)[_Size]) noexcept': could not deduce template argument for '_Ty (&)[_Size]' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\xutility(1250): note: see declaration of 'std::begin'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(761): note: see reference to class template instantiation 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>' being compiled
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(790): note: see reference to class template instantiation 'std::is_nothrow_constructible<_Ty,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &&>' being compiled
- 1> with
- 1> [
- 1> _Ty=nlohmann::json
- 1> ]
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(10748): note: see reference to class template instantiation 'std::is_nothrow_move_constructible<nlohmann::json>' being compiled
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(const _Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(_Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: 'const _Elem *std::begin(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\initializer_list(60): note: see declaration of 'std::begin'
- 1> CNetwork.cpp
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: '_Ty *std::begin(_Ty (&)[_Size]) noexcept': could not deduce template argument for '_Ty (&)[_Size]' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\xutility(1250): note: see declaration of 'std::begin'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(761): note: see reference to class template instantiation 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>' being compiled
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(790): note: see reference to class template instantiation 'std::is_nothrow_constructible<_Ty,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &&>' being compiled
- 1> with
- 1> [
- 1> _Ty=nlohmann::json
- 1> ]
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(10748): note: see reference to class template instantiation 'std::is_nothrow_move_constructible<nlohmann::json>' being compiled
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(const _Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(_Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: 'const _Elem *std::begin(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\initializer_list(60): note: see declaration of 'std::begin'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(97): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(100): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(142): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\boost_1_62_0\boost/spirit/home/support/detail/endian/endian.hpp(55): warning C4005: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT': macro redefinition
- 1> C:\Users\Yassine\Desktop\boost_1_62_0\boost/endian/buffers.hpp(54): note: see previous definition of 'BOOST_ENDIAN_DEFAULT_CONSTRUCT'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\src\CNetwork.cpp(60): error C2665: 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse': none of the 2 overloads could convert all the argument types
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(5994): note: could be 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse(std::istream &&,const std::function<bool (int,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse_event_t,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &)>)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(5985): note: or 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse(std::istream &,const std::function<bool (int,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse_event_t,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &)>)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\src\CNetwork.cpp(60): note: while trying to match the argument list '(std::string)'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\src\CNetwork.cpp(61): error C3536: 'gateway_res': cannot be used before it is initialized
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\src\CNetwork.cpp(253): error C2665: 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse': none of the 2 overloads could convert all the argument types
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(5994): note: could be 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse(std::istream &&,const std::function<bool (int,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse_event_t,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &)>)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(5985): note: or 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse(std::istream &,const std::function<bool (int,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>::parse_event_t,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &)>)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\src\CNetwork.cpp(253): note: while trying to match the argument list '(std::basic_string<char,std::char_traits<char>,std::allocator<char>>)'
- 1> main.cpp
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: '_Ty *std::begin(_Ty (&)[_Size]) noexcept': could not deduce template argument for '_Ty (&)[_Size]' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\xutility(1250): note: see declaration of 'std::begin'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(761): note: see reference to class template instantiation 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>' being compiled
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(790): note: see reference to class template instantiation 'std::is_nothrow_constructible<_Ty,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &&>' being compiled
- 1> with
- 1> [
- 1> _Ty=nlohmann::json
- 1> ]
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(10748): note: see reference to class template instantiation 'std::is_nothrow_move_constructible<nlohmann::json>' being compiled
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(const _Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(_Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: 'const _Elem *std::begin(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\initializer_list(60): note: see declaration of 'std::begin'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(97): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(100): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(142): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\src\main.cpp(13): error C2086: 'logprintf_t __cdecl logprintf': redefinition
- 1> c:\users\yassine\desktop\samp-discord-connector-master\src\sdk.hpp(12): note: see declaration of 'logprintf'
- 1> natives.cpp
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: '_Ty *std::begin(_Ty (&)[_Size]) noexcept': could not deduce template argument for '_Ty (&)[_Size]' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\xutility(1250): note: see declaration of 'std::begin'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(761): note: see reference to class template instantiation 'nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator>' being compiled
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\type_traits(790): note: see reference to class template instantiation 'std::is_nothrow_constructible<_Ty,nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator> &&>' being compiled
- 1> with
- 1> [
- 1> _Ty=nlohmann::json
- 1> ]
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(10748): note: see reference to class template instantiation 'std::is_nothrow_move_constructible<nlohmann::json>' being compiled
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(const _Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2893: Failed to specialize function template 'unknown-type std::begin(_Container &)'
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: With the following template arguments:
- 1> C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): note: '_Container=add_rvalue_reference<const ContiguousContainer>::type'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\json\json.hpp(6115): error C2784: 'const _Elem *std::begin(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'add_rvalue_reference<const ContiguousContainer>::type'
- 1> C:\Program Files\Microsoft Visual Studio 14.0\VC\include\initializer_list(60): note: see declaration of 'std::begin'
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(97): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(100): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\samp-discord-connector-master\libs\beast\include\beast/http/detail/basic_fields.hpp(142): error C2899: typename cannot be used outside a template declaration
- 1>C:\Users\Yassine\Desktop\boost_1_62_0\boost/spirit/home/support/detail/endian/endian.hpp(55): warning C4005: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT': macro redefinition
- 1> C:\Users\Yassine\Desktop\boost_1_62_0\boost/endian/buffers.hpp(54): note: see previous definition of 'BOOST_ENDIAN_DEFAULT_CONSTRUCT'
- 1> Generating Code...
- ========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement