From a7cbbf2830aaa768d898f38e2cda705f07e33562 Mon Sep 17 00:00:00 2001 From: Xypher Orion Date: Sun, 15 Sep 2024 07:31:47 -0400 Subject: [PATCH 1/2] Patched for Main Repo Issue #74 --- Nuake/dependencies/recastnavigation_p5.lua | 1 - premake5.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Nuake/dependencies/recastnavigation_p5.lua b/Nuake/dependencies/recastnavigation_p5.lua index ffe933d7..f9c17b57 100644 --- a/Nuake/dependencies/recastnavigation_p5.lua +++ b/Nuake/dependencies/recastnavigation_p5.lua @@ -67,7 +67,6 @@ project "Detour" defines {"DEBUG"} symbols "On" postbuildcommands {} - flags {"staticruntime"} -- this is what worked for me -- linux library cflags and libs filter {"system:linux", "toolset:gcc"} diff --git a/premake5.lua b/premake5.lua index 1f0095af..775d9c91 100644 --- a/premake5.lua +++ b/premake5.lua @@ -263,7 +263,7 @@ project "NuakeRuntime" kind "WindowedApp" runtime "Release" optimize "on" - flags { "WinMain" } + flags { "WinMainCRTStartup" } defines { "NK_DIST", From edc4d43f97b0ead7ccc49512bb6675abb6401858 Mon Sep 17 00:00:00 2001 From: Xypher Orion Date: Sun, 15 Sep 2024 08:42:27 -0400 Subject: [PATCH 2/2] Corrected config --- premake5.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 775d9c91..51061f44 100644 --- a/premake5.lua +++ b/premake5.lua @@ -263,7 +263,8 @@ project "NuakeRuntime" kind "WindowedApp" runtime "Release" optimize "on" - flags { "WinMainCRTStartup" } + entrypoint "WinMainCRTStartup" + flags { } defines { "NK_DIST",