lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


  Sorry, I don't know Cmake enough. The regular Lua makefiles handle MingW just fine. And I'm not used to compile Lua as C++.

Best,
Scuri


Em sáb., 21 de nov. de 2020 às 12:53, Vadim Peretokin <vperetokin@gmail.com> escreveu:
Yeah, regular Lua source with a tiny and as far as I see unrelated patch. The setup is here: https://github.com/Microsoft/vcpkg/tree/master/ports/lua

Could you recommend what needs adjusting?

сб, 21 нояб. 2020 г., 1:58 PM Antonio Scuri <antonio.scuri@gmail.com>:
  When building for Windows the subsystem parameter default for MingW usually is "console", but maybe it is "windows" in your case. When that happens you build a Windows application that starts with a WinMain and it does not have a console. Are you using a regular Lua source?

Best,
Scuri


Em sáb., 21 de nov. de 2020 às 09:31, Vadim Peretokin <vperetokin@gmail.com> escreveu:
I'm having an odd issue where lua.exe built with mingw-64 on Windows produces no console output at all when run. luac.exe on the other hand works fine.

This is in the context of vcpkg, and this issue could not be reproduced with msvc. More context: https://github.com/microsoft/vcpkg/issues/14667

What could be the problem?