Error: undefined symbol: _WinMain at 16 When try compile no console

Marcone marcone at email.com
Thu May 19 19:29:25 UTC 2022


Using -L/SUBSYSTEM:windows user32.lib

Error:

lld-link: error: undefined symbol: _WinMain at 16
>>> referenced by 
>>> msvcrt120.lib(msvcrt_stub2.obj):(_WinMainCRTStartup)
Error: linker exited with status 1


More information about the Digitalmars-d-learn mailing list