A few lines above there is a number of other errors:Archiving libemu.a...

makefile recipe for target 'windows_x64' failed

make: *** [windows_x64] Error 2

Code: Select all

```
Compiling src/mame/drivers/fm7.cpp...
In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:30Compiling src/mame/drivers/fidel_dames.cpp...
,
from ../../../../../3rdparty/sol2/sol/object.hpp:26,
from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
from ../../../../../3rdparty/sol2/sol/table.hpp:25,
from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
from ../../../../../3rdparty/sol2/sol/state.hpp:25,
from ../../../../../3rdparty/sol2/sol.hpp:45,
from ../../../../../src/frontend/mame/luaengine.h:27,
from ../../../../../src/frontend/mame/clifront.cpp:19:
../../../../../3rdparty/sol2/sol/stack_push.hpp: In instantiation of 'static int sol::stack::pusher<wchar_t [N]>::push(lua_State*, const wchar_t (&)[N], std::size_t) [with long long unsigned int N = 2; lua_State = lua_State; std::size_t = long long unsigned int]':
../../../../../3rdparty/sol2/sol/stack_core.hpp:173:48: required from 'int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const wchar_t (&)[2]; Args = {int}; lua_State = lua_State]'
../../../../../3rdparty/sol2/sol/stack_push.hpp:579:33: required from here
../../../../../3rdparty/sol2/sol/stack_push.hpp:549:39: error: call of overloaded 'push<const wchar_t*>(lua_State*&, const wchar_t [2], const wchar_t*)' is ambiguous
549 | return stack::push<const wchar_t*>(L, str, str + sz);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:25,
from ../../../../../3rdparty/sol2/sol/object.hpp:26,
from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
from ../../../../../3rdparty/sol2/sol/table.hpp:25,
from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
from ../../../../../3rdparty/sol2/sol/state.hpp:25,
from ../../../../../3rdparty/sol2/sol.hpp:45,
from ../../../../../src/frontend/mame/luaengine.h:27,
from ../../../../../src/frontend/mame/clifront.cpp:19:
../../../../../3rdparty/sol2/sol/stack_core.hpp:172:14: note: candidate: 'int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const wchar_t*; Args = {const wchar_t*}; lua_State = lua_State]'
172 | inline int push(lua_State* L, T&& t, Args&&... args) {
| ^~~~
../../../../../3rdparty/sol2/sol/stack_core.hpp:178:14: note: candidate: 'int sol::stack::push(lua_State*, Arg&&, Args&& ...) [with T = const wchar_t*; Arg = const wchar_t (&)[2]; Args = {const wchar_t*}; <template-parameter-1-4> = void; lua_State = lua_State]'
178 | inline int push(lua_State* L, Arg&& arg, Args&&... args) {
| ^~~~
In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:30,
from ../../../../../3rdparty/sol2/sol/object.hpp:26,
from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
from ../../../../../3rdparty/sol2/sol/table.hpp:25,
from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
from ../../../../../3rdparty/sol2/sol/state.hpp:25,
from ../../../../../3rdparty/sol2/sol.hpp:45,
from ../../../../../src/frontend/mame/luaengine.h:27,
from ../../../../../src/frontend/mame/clifront.cpp:19:
../../../../../3rdparty/sol2/sol/stack_push.hpp: In instantiation of 'static int sol::stack::pusher<char16_t [N]>::push(lua_State*, const char16_t (&)[N], std::size_t) [with long long unsigned int N = 2; lua_State = lua_State; std::size_t = long long unsigned int]':
../../../../../3rdparty/sol2/sol/stack_core.hpp:173:48: required from 'int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char16_t (&)[2]; Args = {int}; lua_State = lua_State]'
../../../../../3rdparty/sol2/sol/stack_push.hpp:587:33: required from here
../../../../../3rdparty/sol2/sol/stack_push.hpp:560:40: error: Compiling src/mame/drivers/fidel_desdis.cpp...
call of overloaded 'push<const char16_t*>(lua_State*&, const char16_t [2], const char16_t*)' is ambiguous
560 | return stack::push<const char16_t*>(L, str, str + sz);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:25,
from ../../../../../3rdparty/sol2/sol/object.hpp:26,
from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
from ../../../../../3rdparty/sol2/sol/table.hpp:25,
from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
from ../../../../../3rdparty/sol2/sol/state.hpp:25,
from ../../../../../3rdparty/sol2/sol.hpp:45,
from ../../../../../src/frontend/mame/luaengine.h:27,
from ../../../../../src/frontend/mame/clifront.cpp:19:
../../../../../3rdparty/sol2/sol/stack_core.hpp:172:14: note: candidate: 'int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char16_t*; Args = {const char16_t*}; lua_State = lua_State]'
172 | inline int push(lua_State* L, T&& t, Args&&... args) {
| ^~~~
../../../../../3rdparty/sol2/sol/stack_core.hpp:178:14: note: candidate: 'int sol::stack::push(lua_State*, Arg&&, Args&& ...) [with T = const char16_t*; Arg = const char16_t (&)[2]; Args = {const char16_t*}; <template-parameter-1-4> = void; lua_State = lua_State]'
178 | inline int push(lua_State* L, Arg&& arg, Args&&... args) {
| ^~~~
In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:30,
from ../../../../../3rdparty/sol2/sol/object.hpp:26,
from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
from ../../../../../3rdparty/sol2/sol/table.hpp:25,
from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
from ../../../../../3rdparty/sol2/sol/state.hpp:25,
from ../../../../../3rdparty/sol2/sol.hpp:45,
from ../../../../../src/frontend/mame/luaengine.h:27,
from ../../../../../src/frontend/mame/clifront.cpp:19:
../../../../../3rdparty/sol2/sol/stack_push.hpp: In instantiation of 'static int sol::stack::pusher<char32_t [N]>::push(lua_State*, const char32_t (&)[N], std::size_t) [with long long unsigned int N = 2; lua_State = lua_State; std::size_t = long long unsigned int]':
../../../../../3rdparty/sol2/sol/stack_core.hpp:173:48: required from 'int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char32_t (&)[2]; Args = {int}; lua_State = lua_State]'
../../../../../3rdparty/sol2/sol/stack_push.hpp:595:33: required from here
../../../../../3rdparty/sol2/sol/stack_push.hpp:571:40:Compiling src/mame/drivers/fidel_eag68k.cpp...
error: call of overloaded 'push<const char32_t*>(lua_State*&, const char32_t [2], const char32_t*)' is ambiguous
571 | return stack::push<const char32_t*>(L, str, str + sz);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:25,
from ../../../../../3rdparty/sol2/sol/object.hpp:26,
from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
from ../../../../../3rdparty/sol2/sol/table.hpp:25,
from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
from ../../../../../3rdparty/sol2/sol/state.hpp:25,
from ../../../../../3rdparty/sol2/sol.hpp:45,
from ../../../../../src/frontend/mame/luaengine.h:27,
from ../../../../../src/frontend/mame/clifront.cpp:19:
../../../../../3rdparty/sol2/sol/stack_core.hpp:172:14: note: candidate: 'int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char32_t*; Args = {const char32_t*}; lua_State = lua_State]'
172 | inline int push(lua_State* L, T&& t, Args&&... args) {
| ^~~~
../../../../../3rdparty/sol2/sol/stack_core.hpp:178:14: note: candidate: 'int sol::stack::push(lua_State*, Arg&&, Args&& ...) [with T = const char32_t*; Arg = const char32_t (&)[2]; Args = {const char32_t*}; <template-parameter-1-4> = void; lua_State = lua_State]'
178 | inline int push(lua_State* L, Arg&& arg, Args&&... args) {
| ^~~~
Compiling src/mame/drivers/fmtowns.cpp...
frontend.make:685: recipe for target '../../../../mingw-gcc/obj/x64/Release/src/frontend/mame/clifront.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/frontend/mame/clifront.o] Error 1
makefile:100: recipe for target 'frontend' failed
make[1]: *** [frontend] Error 2
make[1]: *** Waiting for unfinished jobs....
```

Any seggestion?

TIA