Open Ceres90 opened 8 months ago
Humm, I don't have a windows machine to test. I use a very very simple Makefile, the one recommended by the guy maintaining raylib is more like this one: https://pastebin.com/mN7Q0AeV . Maybe this one would work (the executable is named simply EDMD with this version)? I didn't use it because for some reason it halves the framerates on my machine. Also, I think that it should compile more or less fine with pure windows.
are you saying it should work without disabling my graphics card? also I don;t understand what you mean by saying it should complie more less fine with pure windows?
Hum, it might work without disabling your graphics card with the new Makefile i pasted in the pastebin (you'd have to replace the Makefile in your directory by this one). I don't really know... I'm using an external library: "raylib" to do the graphics part and I can't say that I understand its compilation part well. I think your issue is coming from this library. So maybe using a different Makefile (this one is the "official one") might make it work!
By pure Windows I meant that if you install a C compiler such as mingw on windows and try to compile the program, it might work... But it is really untested and I don't have a computer with windows so I could not really help you further if you try that. In any case, if it works by disabling the graphics card (and that does no slow down too much the program), then everything is fine!
Thought I would put this here in case others had an issue.
When i ran the program on WSL (Linux for windows) the gui was weirdly skewed and not usable , I had to disable linux from using graphics card and it worked just fine
to disable the gpu for linux you:
create a folder called WSL in C:\ProgramData\Microsoft\ add a notepad file as an administrator called: " .wslgconfig" in that notepad file copy and paste: [system-distro-env]
;disable GPU in system-distro LIBGL_ALWAYS_SOFTWARE=1
Save and exit the notepad file exit WSL from the command prompt "wsl --shutdown"
Reopen WSL it should work