Walnut icon indicating copy to clipboard operation
Walnut copied to clipboard

Linux support

Open thegeeko opened this issue 3 years ago • 5 comments

I would love to add a linux support is there's anything I should look for or a guideline to contribute ?

thegeeko avatar Apr 15 '22 15:04 thegeeko

I am working on getting this to compile under linux so far, you have to edit premake5.lua and change lowercase glfw to uppercase edit: poked around some more, and I don't think I can fix any more than that

Etaash-mathamsetty avatar Apr 17 '22 02:04 Etaash-mathamsetty

just got it to compile on linux .. switched to cmake tho cuz I'm more familiar with it .. check my fork if u want a version that works in linux

thegeeko avatar Apr 22 '22 11:04 thegeeko

I tried your fork but there seem to be a problem with the vendor file being created at the project root instead of root/Walnut where the cmake script expect them. Also the recurse submodule clone glfw as GLFW instead of lowercase. What imgui version did you use ? The one cloned by recurse-submodules don't have only has premake as build system.

Nonoreve avatar May 01 '22 19:05 Nonoreve

nevermind I was just using the submodules from the master branch and not from the .gitmodules of the linux branch. I still had a problem with the glm dependency url being invalid. setting it back to g-truc/glm seems to work. With this I was able to compile and run it.

Nonoreve avatar May 01 '22 21:05 Nonoreve

please see https://github.com/TheCherno/Walnut/pull/22

sudopluto avatar Jul 13 '22 07:07 sudopluto