Skip to content

Linux build errors #1

@itzurabhi

Description

@itzurabhi

Fixes the linker error on Linux.

diff --git a/App-Server/Build-App-Server-Headless.lua b/App-Server/Build-App-Server-Headless.lua
index e5d7b20..2e78bce 100644
--- a/App-Server/Build-App-Server-Headless.lua
+++ b/App-Server/Build-App-Server-Headless.lua
@@ -47,7 +47,7 @@ project "App-Server-Headless"
       defines { "WL_PLATFORM_WINDOWS" }
 
    filter "system:linux"
-      libdirs { "../Walnut/Walnut-Networking/vendor/GameNetworkingSockets/bin/Linux" }
+      libdirs { "../Walnut/Walnut-Modules/Walnut-Networking/vendor/GameNetworkingSockets/bin/Linux" }
       links { "GameNetworkingSockets" }
 
        defines { "WL_HEADLESS" }

By default premake5 is not executable.

diff --git a/scripts/Setup.sh b/scripts/Setup.sh
old mode 100644
new mode 100755
index 5a037c7..25362c4
--- a/scripts/Setup.sh
+++ b/scripts/Setup.sh
@@ -1,5 +1,6 @@
 #!/bin/bash
 
 pushd ..
+chmox +x Walnut/vendor/bin/premake/Linux/premake5
 Walnut/vendor/bin/premake/Linux/premake5 --cc=clang --file=Build-Headless.lua gmake2
 popd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions