Answers for "error: LINK : fatal error LNK1561: entry point must be defined"

Lua
1

error: LINK : fatal error LNK1561: entry point must be defined

--(it's an issue because of the SDL which use a #define main to make it's
--own entry point)
--use this at the end of your file xmake.lua
if is_plat("windows") then
  add_ldflags("/subsystem:console")
end
Posted by: Guest on October-04-2021

Code answers related to "error: LINK : fatal error LNK1561: entry point must be defined"

Browse Popular Code Answers by Language