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++.


Em sáb., 21 de nov. de 2020 às 12:53, Vadim Peretokin <> escreveu:
Yeah, regular Lua source with a tiny and as far as I see unrelated patch. The setup is here:

Could you recommend what needs adjusting?

сб, 21 нояб. 2020 г., 1:58 PM Antonio Scuri <>:
  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?


Em sáb., 21 de nov. de 2020 às 09:31, Vadim Peretokin <> 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:

What could be the problem?