Code:
C:\MinGW>g++ C:\users\systemuser\desktop\wowned\main.cpp -Lhadesmem -lhadesmem -o C:\users\systemuser\desktop\wowned.exe > C:\users\systemuser\desktop\wowned.errors
In file included from C:\MinGW\include/hadesmem/process.hpp:18:0,
from C:\MinGW\include/hadesmem/alloc.hpp:15,
from C:\MinGW\include/hadesmem/injector.hpp:16,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/detail/winapi.hpp: In function 'std::__cxx11::wstring hadesmem::detail::QueryFullProcessImageName(HANDLE)':
C:\MinGW\include/hadesmem/detail/winapi.hpp:102:8: error: '::QueryFullProcessImageNameW' has not been declared
if (!::QueryFullProcessImageNameW(handle, 0, path.data(), &path_len))
^~
In file included from C:\MinGW\include/hadesmem/detail/alias_cast.hpp:10:0,
from C:\MinGW\include/hadesmem/call.hpp:29,
from C:\MinGW\include/hadesmem/injector.hpp:17, from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/detail/type_traits.hpp: At global scope:
C:\MinGW\include/hadesmem/detail/type_traits.hpp:91:1: error: '__vectorcall' was not declared in this scope
HADESMEM_DETAIL_MAKE_FUNC_RESULT(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:91:1: error: '__vectorcall' was not declared in this scope
C:\MinGW\include/hadesmem/detail/type_traits.hpp:91:1: error: template argument 1 is invalid
HADESMEM_DETAIL_MAKE_FUNC_RESULT(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:91:1: error: template argument 1 is invalid
HADESMEM_DETAIL_MAKE_FUNC_RESULT(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:152:1: error: '__vectorcall' was not declared in this scope
HADESMEM_DETAIL_MAKE_FUNC_ARITY(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:152:1: error: '__vectorcall' was not declared in this scope
C:\MinGW\include/hadesmem/detail/type_traits.hpp:152:1: error: template argument 1 is invalid
HADESMEM_DETAIL_MAKE_FUNC_ARITY(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:152:1: error: template argument 1 is invalid
HADESMEM_DETAIL_MAKE_FUNC_ARITY(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:210:1: error: '__vectorcall' was not declared in this scope
HADESMEM_DETAIL_MAKE_FUNC_ARGS(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:210:1: error: '__vectorcall' was not declared in this scope
C:\MinGW\include/hadesmem/detail/type_traits.hpp:210:1: error: template argument 1 is invalid
HADESMEM_DETAIL_MAKE_FUNC_ARGS(__vectorcall)
^
C:\MinGW\include/hadesmem/detail/type_traits.hpp:210:1: error: template argument 1 is invalid
HADESMEM_DETAIL_MAKE_FUNC_ARGS(__vectorcall)
^
In file included from C:\MinGW\include/hadesmem/module.hpp:17:0,
from C:\MinGW\include/hadesmem/pelib/pe_file.hpp:20,
from C:\MinGW\include/hadesmem/pelib/dos_header.hpp:19,
from C:\MinGW\include/hadesmem/pelib/nt_headers.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_dir.hpp:19,
from C:\MinGW\include/hadesmem/pelib/export.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_list.hpp:16,
from C:\MinGW\include/hadesmem/detail/find_procedure.hpp:11,
from C:\MinGW\include/hadesmem/find_procedure.hpp:10,
from C:\MinGW\include/hadesmem/call.hpp:37,
from C:\MinGW\include/hadesmem/injector.hpp:17,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/detail/filesystem.hpp: In function 'void hadesmem::detail::CopyDirectory(std::__cxx11::wstring, std::__cxx11::wstring)':
C:\MinGW\include/hadesmem/detail/filesystem.hpp:258:37: error: cannot convert 'const wchar_t*' to 'LPCSTR {aka const char*}' in assignment
file_op.pFrom = src_wildcard.data();
^
C:\MinGW\include/hadesmem/detail/filesystem.hpp:259:26: error: cannot convert 'const wchar_t*' to 'LPCSTR {aka const char*}' in assignment file_op.pTo = dst.data();
^ C:\MinGW\include/hadesmem/detail/filesystem.hpp:261:50: error: cannot convert 'SHFILEOPSTRUCT* {aka _SHFILEOPSTRUCTA*}' to 'LPSHFILEOPSTRUCTW {aka _SHFILEOPSTRUCTW*}' for argument '1' to 'int SHFileOperationW(LPSHFILEOPSTRUCTW)'
auto const result = ::SHFileOperationW(&file_op);
^ In file included from C:\MinGW\include/boost/type_index/stl_type_index.hpp:33:0,
from C:\MinGW\include/boost/type_index.hpp:29,
from C:\MinGW\include/boost/any.hpp:20,
from C:\MinGW\include/boost/program_options/value_semantic.hpp:12,
from C:\MinGW\include/boost/program_options/options_description.hpp:13,
from C:\MinGW\include/boost/program_options.hpp:15,
from C:\users\systemuser\desktop\wowned\main.cpp:33:
C:\MinGW\include/hadesmem/detail/filesystem.hpp:264:5: error: no matching function for call to 'boost::error_info<hadesmem::TagErrorCodeWinOther, long long unsigned int>::error_info(<brace-enclosed initializer list>)'
HADESMEM_DETAIL_THROW_EXCEPTION(
^
In file included from C:\MinGW\include/boost/exception/diagnostic_information.hpp:17:0,
from C:\users\systemuser\desktop\wowned\main.cpp:34:
C:\MinGW\include/boost/exception/info.hpp:66:5: note: candidate: boost::error_info<Tag, T>::error_info(boost::error_info<Tag, T>&&) [with Tag = hadesmem::TagErrorCodeWinOther; T = long long unsigned int] error_info<Tag,T>::
^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:66:5: note: conversion of argument 1 would be ill-formed:
C:\MinGW\include/boost/exception/info.hpp:59:5: note: candidate: boost::error_info<Tag, T>::error_info(boost::error_info<Tag, T>::value_type&&) [with Tag = hadesmem::TagErrorCodeWinOther; T = long long unsigned int; boost::error_info<Tag, T>::value_type = long long unsigned int] error_info<Tag,T>::
^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:59:5: note: conversion of argument 1 would be ill-formed:
C:\MinGW\include/boost/exception/info.hpp:52:5: note: candidate: boost::error_info<Tag, T>::error_info(const boost::error_info<Tag, T>&) [with Tag = hadesmem::TagErrorCodeWinOther; T = long long unsigned int] error_info<Tag,T>:: ^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:52:5: note: conversion of argument 1 would be ill-formed:
C:\MinGW\include/boost/exception/info.hpp:43:5: note: candidate: boost::error_info<Tag, T>::error_info(const value_type&) [with Tag = hadesmem::TagErrorCodeWinOther; T = long long unsigned int; boost::error_info<Tag, T>::value_type = long long unsigned int] error_info<Tag,T>::
^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:43:5: note: conversion of argument 1 would be ill-formed:
In file included from C:\MinGW\include/hadesmem/module.hpp:17:0,
from C:\MinGW\include/hadesmem/pelib/pe_file.hpp:20, from C:\MinGW\include/hadesmem/pelib/dos_header.hpp:19, from C:\MinGW\include/hadesmem/pelib/nt_headers.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_dir.hpp:19,
from C:\MinGW\include/hadesmem/pelib/export.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_list.hpp:16,
from C:\MinGW\include/hadesmem/detail/find_procedure.hpp:11,
from C:\MinGW\include/hadesmem/find_procedure.hpp:10,
from C:\MinGW\include/hadesmem/call.hpp:37,
from C:\MinGW\include/hadesmem/injector.hpp:17,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/detail/filesystem.hpp: In function 'bool hadesmem::detail::EnumDir(std::__cxx11::wstring, const F&, bool*, bool*)':
C:\MinGW\include/hadesmem/detail/filesystem.hpp:568:61: error: cannot convert 'WIN32_FIND_DATA* {aka _WIN32_FIND_DATAA*}' to 'LPWIN32_FIND_DATAW {aka _WIN32_FIND_DATAW*}' for argument '2' to 'void* FindFirstFileW(LPCWSTR, LPWIN32_FIND_DATAW)'
::FindFirstFileW((dir_path + L"\\*").c_str(), &find_data)};
^
C:\MinGW\include/hadesmem/detail/filesystem.hpp:599:58: error: cannot convert 'WIN32_FIND_DATA* {aka _WIN32_FIND_DATAA*}' to 'LPWIN32_FIND_DATAW {aka _WIN32_FIND_DATAW*}' for argument '2' to 'WINBOOL FindNextFileW(HANDLE, LPWIN32_FIND_DATAW)' } while (::FindNextFileW(handle.GetHandle(), &find_data)); ^
In file included from C:\MinGW\include/hadesmem/injector.hpp:17:0,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/call.hpp: In member function 'void hadesmem::detail::ArgVisitor32::operator()(uint32_t)': C:\MinGW\include/hadesmem/call.hpp:416:5: error: 'GpReg' is not a member of 'asmjit' asmjit::GpReg const regs[] = {asmjit::x86::ecx, asmjit::x86::edx};
^~~~~~
C:\MinGW\include/hadesmem/call.hpp:423:23: error: 'regs' was not declared in this scope
assembler_->mov(regs[cur_arg_ - 1], asmjit::imm_u(arg));
^~~~
C:\MinGW\include/hadesmem/call.hpp: In member function 'void hadesmem::detail::ArgVisitor64::operator()(uint64_t)':
C:\MinGW\include/hadesmem/call.hpp:502:7: error: 'GpReg' is not a member of 'asmjit'
asmjit::GpReg const regs[] = {
^~~~~~
C:\MinGW\include/hadesmem/call.hpp:504:23: error: 'regs' was not declared in this scope
assembler_->mov(regs[cur_arg_ - 1], asmjit::imm_u(arg));
^~~~
C:\MinGW\include/hadesmem/call.hpp: In member function 'void hadesmem::detail::ArgVisitor64::operator()(float)':
C:\MinGW\include/hadesmem/call.hpp:530:7: error: 'XmmReg' is not a member of 'asmjit'
asmjit::XmmReg const regs[] = {asmjit::x86::xmm0,
^~~~~~
C:\MinGW\include/hadesmem/call.hpp:536:25: error: 'regs' was not declared in this scope
assembler_->movss(regs[cur_arg_ - 1],
^~~~
C:\MinGW\include/hadesmem/call.hpp: In member function 'void hadesmem::detail::ArgVisitor64::operator()(double)':
C:\MinGW\include/hadesmem/call.hpp:566:7: error: 'XmmReg' is not a member of 'asmjit'
asmjit::XmmReg const regs[] = {asmjit::x86::xmm0,
^~~~~~
C:\MinGW\include/hadesmem/call.hpp:570:25: error: 'regs' was not declared in this scope
assembler_->movsd(regs[cur_arg_ - 1],
^~~~
C:\MinGW\include/hadesmem/call.hpp: In function 'hadesmem::Allocator hadesmem::detail::GenerateCallCode(const hadesmem::Process&, AddressesForwardIterator, AddressesForwardIterator, ConvForwardIterator, ArgsForwardIterator, PVOID)':
C:\MinGW\include/hadesmem/call.hpp:850:41: error: 'class asmjit::X86Assembler' has no member named 'getCodeSize'; did you mean 'getGpSize'?
DWORD_PTR const stub_size = assembler.getCodeSize();
^~~~~~~~~~~
C:\MinGW\include/hadesmem/call.hpp:859:13: error: 'class asmjit::X86Assembler' has no member named 'relocCode'; did you mean 'getCode'? assembler.relocCode(code_real.data(),
^~~~~~~~~ In file included from C:\users\systemuser\desktop\wowned\main.cpp:36:0:
C:\MinGW\include/hadesmem/injector.hpp: In function 'HINSTANCE__* hadesmem::InjectDll(const hadesmem::Process&, const wstring&, uint32_t)':
C:\MinGW\include/hadesmem/injector.hpp:179:10: error: '__nullptr' was not declared in this scope
__nullptr, // Can't use nullptr here because /clr...
^~~~~~~~~
In file included from C:\MinGW\include/boost/type_index/stl_type_index.hpp:33:0,
from C:\MinGW\include/boost/type_index.hpp:29,
from C:\MinGW\include/boost/any.hpp:20, from C:\MinGW\include/boost/program_options/value_semantic.hpp:12,
from C:\MinGW\include/boost/program_options/options_description.hpp:13,
from C:\MinGW\include/boost/program_options.hpp:15,
from C:\users\systemuser\desktop\wowned\main.cpp:33:
C:\MinGW\include/hadesmem/injector.hpp:183:5: error: no matching function for call to 'boost::error_info<hadesmem::TagErrorCodeWinLast, long unsigned int>::error_info(<brace-enclosed initializer list>)'
HADESMEM_DETAIL_THROW_EXCEPTION(
^
In file included from C:\MinGW\include/boost/exception/diagnostic_information.hpp:17:0,
from C:\users\systemuser\desktop\wowned\main.cpp:34:
C:\MinGW\include/boost/exception/info.hpp:66:5: note: candidate: boost::error_info<Tag, T>::error_info(boost::error_info<Tag, T>&&) [with Tag = hadesmem::TagErrorCodeWinLast; T = long unsigned int] error_info<Tag,T>::
^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:66:5: note: conversion of argument 1 would be ill-formed:
C:\MinGW\include/boost/exception/info.hpp:59:5: note: candidate: boost::error_info<Tag, T>::error_info(boost::error_info<Tag, T>::value_type&&) [with Tag = hadesmem::TagErrorCodeWinLast; T = long unsigned int; boost::error_info<Tag, T>::value_type = long unsigned int] error_info<Tag,T>::
^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:59:5: note: conversion of argument 1 would be ill-formed:
C:\MinGW\include/boost/exception/info.hpp:52:5: note: candidate: boost::error_info<Tag, T>::error_info(const boost::error_info<Tag, T>&) [with Tag = hadesmem::TagErrorCodeWinLast; T = long unsigned int] error_info<Tag,T>:: ^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:52:5: note: conversion of argument 1 would be ill-formed:
C:\MinGW\include/boost/exception/info.hpp:43:5: note: candidate: boost::error_info<Tag, T>::error_info(const value_type&) [with Tag = hadesmem::TagErrorCodeWinLast; T = long unsigned int; boost::error_info<Tag, T>::value_type = long unsigned int] error_info<Tag,T>::
^~~~~~~~~~~~~~~~~
C:\MinGW\include/boost/exception/info.hpp:43:5: note: conversion of argument 1 would be ill-formed:
In file included from C:\users\systemuser\desktop\wowned\main.cpp:36:0:
C:\MinGW\include/hadesmem/injector.hpp: In function 'hadesmem::CreateAndInjectData hadesmem::CreateAndInject(const wstring&, const wstring&, ArgsIter, ArgsIter, const wstring&, const string&, uint32_t, uint32_t)': C:\MinGW\include/hadesmem/injector.hpp:353:35: error: cannot convert 'STARTUPINFO* {aka _STARTUPINFOA*}' to 'LPSTARTUPINFOW {aka _STARTUPINFOW*}' for argument '9' to 'WINBOOL CreateProcessW(LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, WINBOOL, DWORD, LPVOID, LPCWSTR, LPSTARTUPINFOW, LPPROCESS_INFORMATION)'
&proc_info))
^
In file included from C:\MinGW\include/hadesmem/module.hpp:17:0, from C:\MinGW\include/hadesmem/pelib/pe_file.hpp:20,
from C:\MinGW\include/hadesmem/pelib/dos_header.hpp:19, from C:\MinGW\include/hadesmem/pelib/nt_headers.hpp:21, from C:\MinGW\include/hadesmem/pelib/export_dir.hpp:19,
from C:\MinGW\include/hadesmem/pelib/export.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_list.hpp:16,
from C:\MinGW\include/hadesmem/detail/find_procedure.hpp:11,
from C:\MinGW\include/hadesmem/find_procedure.hpp:10,
from C:\MinGW\include/hadesmem/call.hpp:37,
from C:\MinGW\include/hadesmem/injector.hpp:17,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/detail/filesystem.hpp: In instantiation of 'std::unique_ptr<std::basic_fstream<CharT> > hadesmem::detail::OpenFile(const wstring&, std::ios_base::openmode) [with CharT = char; std::__cxx11::wstring = std::__cxx11::basic_string<wchar_t>; std::ios_base::openmode = std::_Ios_Openmode]':
C:\MinGW\include/hadesmem/detail/filesystem.hpp:451:74: required from here
C:\MinGW\include/hadesmem/detail/filesystem.hpp:38:5: error: no matching function for call to 'std::basic_fstream<char>::basic_fstream(<brace-enclosed initializer list>)'
new std::basic_fstream<CharT>{path, mode}};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:\MinGW\include/hadesmem/detail/filesystem.hpp:8:0, from C:\MinGW\include/hadesmem/module.hpp:17,
from C:\MinGW\include/hadesmem/pelib/pe_file.hpp:20,
from C:\MinGW\include/hadesmem/pelib/dos_header.hpp:19, from C:\MinGW\include/hadesmem/pelib/nt_headers.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_dir.hpp:19,
from C:\MinGW\include/hadesmem/pelib/export.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_list.hpp:16,
from C:\MinGW\include/hadesmem/detail/find_procedure.hpp:11,
from C:\MinGW\include/hadesmem/find_procedure.hpp:10,
from C:\MinGW\include/hadesmem/call.hpp:37,
from C:\MinGW\include/hadesmem/injector.hpp:17,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
c:\mingw\include\c++\6.3.0\fstream:927:7: note: candidate: std::basic_fstream<_CharT, _Traits>::basic_fstream(std::basic_fstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]
basic_fstream(basic_fstream&& __rhs)
^~~~~~~~~~~~~
c:\mingw\include\c++\6.3.0\fstream:927:7: note: candidate expects 1 argument, 2 provided
c:\mingw\include\c++\6.3.0\fstream:917:7: note: candidate: std::basic_fstream<_CharT, _Traits>::basic_fstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::__cxx11::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode] basic_fstream(const std::string& __s,
^~~~~~~~~~~~~
c:\mingw\include\c++\6.3.0\fstream:917:7: note: no known conversion for argument 1 from 'const wstring {aka const std::__cxx11::basic_string<wchar_t>}' to 'const string& {aka const std::__cxx11::basic_string<char>&}'
c:\mingw\include\c++\6.3.0\fstream:902:7: note: candidate: std::basic_fstream<_CharT, _Traits>::basic_fstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
basic_fstream(const char* __s,
^~~~~~~~~~~~~
c:\mingw\include\c++\6.3.0\fstream:902:7: note: no known conversion for argument 1 from 'const wstring {aka const std::__cxx11::basic_string<wchar_t>}' to 'const char*'
c:\mingw\include\c++\6.3.0\fstream:889:7: note: candidate: std::basic_fstream<_CharT, _Traits>::basic_fstream() [with _CharT = char; _Traits = std::char_traits<char>] basic_fstream()
^~~~~~~~~~~~~
c:\mingw\include\c++\6.3.0\fstream:889:7: note: candidate expects 0 arguments, 2 provided
In file included from C:\MinGW\include/hadesmem/module.hpp:17:0, from C:\MinGW\include/hadesmem/pelib/pe_file.hpp:20,
from C:\MinGW\include/hadesmem/pelib/dos_header.hpp:19, from C:\MinGW\include/hadesmem/pelib/nt_headers.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_dir.hpp:19,
from C:\MinGW\include/hadesmem/pelib/export.hpp:21,
from C:\MinGW\include/hadesmem/pelib/export_list.hpp:16,
from C:\MinGW\include/hadesmem/detail/find_procedure.hpp:11,
from C:\MinGW\include/hadesmem/find_procedure.hpp:10,
from C:\MinGW\include/hadesmem/call.hpp:37,
from C:\MinGW\include/hadesmem/injector.hpp:17,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/detail/filesystem.hpp:38:46: error: no matching function for call to 'std::unique_ptr<std::basic_fstream<char>, std::default_delete<std::basic_fstream<char> > >::unique_ptr(<brace-enclosed initializer list>)'
new std::basic_fstream<CharT>{path, mode}};
^
In file included from c:\mingw\include\c++\6.3.0\memory:81:0,
from c:\mingw\include\c++\6.3.0\thread:40,
from C:\users\systemuser\desktop\wowned\main.cpp:31:
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:231:2: note: candidate: template<class _Up, class> std::unique_ptr<_Tp, _Dp>::unique_ptr(std::auto_ptr<_Up>&&)
unique_ptr(auto_ptr<_Up>&& __u) noexcept;
^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:231:2: note: template argument deduction/substitution failed:
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:223:2: note: candidate: template<class _Up, class _Ep, class> std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&)
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept ^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:223:2: note: template argument deduction/substitution failed:
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:209:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = std::basic_fstream<char>; _Dp = std::default_delete<std::basic_fstream<char> >]
unique_ptr(unique_ptr&& __u) noexcept ^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:209:7: note: conversion of argument 1 would be ill-formed:
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:204:17: note: candidate: constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr(std::nullptr_t) [with _Tp = std::basic_fstream<char>; _Dp = std::default_delete<std::basic_fstream<char> >; std::nullptr_t = std::nullptr_t] constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:204:17: note: conversion of argument 1 would be ill-formed:
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:197:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer, typename std::remove_reference<_To>::type&&) [with _Tp = std::basic_fstream<char>; _Dp = std::default_delete<std::basic_fstream<char> >; std::unique_ptr<_Tp, _Dp>::pointer = std::basic_fstream<char>*; typename std::remove_reference<_To>::type = std::default_delete<std::basic_fstream<char> >]
unique_ptr(pointer __p,
^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:197:7: note: candidate expects 2 arguments, 1 provided
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:185:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer, typename std::conditional<std::is_reference<_Dp>::value, _Dp, const _Dp&>::type) [with _Tp = std::basic_fstream<char>; _Dp = std::default_delete<std::basic_fstream<char> >; std::unique_ptr<_Tp, _Dp>::pointer = std::basic_fstream<char>*; typename std::conditional<std::is_reference<_Dp>::value, _Dp, const _Dp&>::type = const std::default_delete<std::basic_fstream<char> >&]
unique_ptr(pointer __p,
^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:185:7: note: candidate expects 2 arguments, 1 provided c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:170:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = std::basic_fstream<char>; _Dp = std::default_delete<std::basic_fstream<char> >; std::unique_ptr<_Tp, _Dp>::pointer = std::basic_fstream<char>*] unique_ptr(pointer __p) noexcept
^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:170:7: note: conversion of argument 1 would be ill-formed:
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:158:17: note: candidate: constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Tp = std::basic_fstream<char>; _Dp = std::default_delete<std::basic_fstream<char> >] constexpr unique_ptr() noexcept ^~~~~~~~~~
c:\mingw\include\c++\6.3.0\bits\unique_ptr.h:158:17: note: candidate expects 0 arguments, 1 provided
In file included from C:\MinGW\include/hadesmem/injector.hpp:17:0,
from C:\users\systemuser\desktop\wowned\main.cpp:36:
C:\MinGW\include/hadesmem/call.hpp: In instantiation of 'hadesmem::Allocator hadesmem::detail::GenerateCallCode(const hadesmem::Process&, AddressesForwardIterator, AddressesForwardIterator, ConvForwardIterator, ArgsForwardIterator, PVOID) [with AddressesForwardIterator = __gnu_cxx::__normal_iterator<void**, std::vector<void*> >; ConvForwardIterator = __gnu_cxx::__normal_iterator<hadesmem::CallConv*, std::vector<hadesmem::CallConv> >; ArgsForwardIterator = __gnu_cxx::__normal_iterator<std::vector<hadesmem::CallArg>*, std::vector<std::vector<hadesmem::CallArg> > >; PVOID = void*]':
C:\MinGW\include/hadesmem/call.hpp:921:29: required from 'void hadesmem::CallMulti(const hadesmem::Process&, AddressesForwardIterator, AddressesForwardIterator, ConvForwardIterator, ArgsForwardIterator, ResultsOutputIterator) [with AddressesForwardIterator = __gnu_cxx::__normal_iterator<void**, std::vector<void*> >; ConvForwardIterator = __gnu_cxx::__normal_iterator<hadesmem::CallConv*, std::vector<hadesmem::CallConv> >; ArgsForwardIterator = __gnu_cxx::__normal_iterator<std::vector<hadesmem::CallArg>*, std::vector<std::vector<hadesmem::CallArg> > >; ResultsOutputIterator = std::back_insert_iterator<std::vector<hadesmem::CallResultRaw> >]' C:\MinGW\include/hadesmem/call.hpp:963:12: required from 'hadesmem::CallResultRaw hadesmem::CallRaw(const hadesmem::Process&, void*, hadesmem::CallConv, ArgsForwardIterator, ArgsForwardIterator) [with ArgsForwardIterator = __gnu_cxx::__normal_iterator<hadesmem::CallArg*, std::vector<hadesmem::CallArg> >]' C:\MinGW\include/hadesmem/call.hpp:1025:36: required from 'hadesmem::CallResult<typename hadesmem::detail::FuncResult<FuncT>::type> hadesmem::Call(const hadesmem::Process&, void*, hadesmem::CallConv, Args&& ...) [with FuncT = int (*)(HINSTANCE__*); Args = {HINSTANCE__*&}; typename hadesmem::detail::FuncResult<FuncT>::type = int]' C:\MinGW\include/hadesmem/call.hpp:1062:21: required from 'hadesmem::CallResult<typename hadesmem::detail::FuncResult<FuncT>::type> hadesmem::Call(const hadesmem::Process&, FuncT, hadesmem::CallConv, Args&& ...) [with FuncT = int (*)(HINSTANCE__*); Args = {HINSTANCE__*&}; typename hadesmem::detail::FuncResult<FuncT>::type = int]' C:\MinGW\include/hadesmem/injector.hpp:200:16: required from here
C:\MinGW\include/hadesmem/call.hpp:831:42: error: no matching function for call to 'asmjit::X86Assembler::X86Assembler(<brace-enclosed initializer list>)' asmjit::X86Assembler assembler{&runtime};
^ In file included from c:\mingw\include\asmjit\x86.h:14:0, from C:\MinGW\include/asmjit/asmjit.h:38,
from C:\MinGW\include/hadesmem/call.hpp:24,
from C:\MinGW\include/hadesmem/injector.hpp:17, from C:\users\systemuser\desktop\wowned\main.cpp:36:
c:\mingw\include\asmjit\x86\x86assembler.h:43:14: note: candidate: asmjit::X86Assembler::X86Assembler(asmjit::CodeHolder*)
ASMJIT_API X86Assembler(CodeHolder* code = nullptr) noexcept;
^~~~~~~~~~~~
c:\mingw\include\asmjit\x86\x86assembler.h:43:14: note: no known conversion for argument 1 from 'asmjit::JitRuntime*' to 'asmjit::CodeHolder*'
C:\MinGW>