cococry / leif

Minimal, configurable & GPU accelerated Immediate Mode UI Library written with modern OpenGL
604 stars 24 forks source link

./install.sh not working #15

Open UpBeat25 opened 3 weeks ago

UpBeat25 commented 3 weeks ago

Hi, I am trying to set it up on my windows machine. I tried git-bash, wsl but I am not able to run the ./install.sh. This is the error: └─$ bash ./install.sh ./install.sh: line 2: $'\r': command not found ./install.sh: line 3: $'\r': command not found ./install.sh: line 5: syntax error near unexpected token $'{\r'' '/install.sh: line 5:install_with_apt() {

PatchByte commented 3 weeks ago

use sh instead of bash

PatchByte commented 3 weeks ago

btw if dont have a desktop environment installed in your wsl, it won't work.

Katalizatori commented 3 weeks ago

also on a windows machine and same here the command does not install leif's library. I suspect bc its written for linux? creator did mention he was going to make a port to windows.

PatchByte commented 2 weeks ago

It is mainly written for Linux but you can try to compile it with mingw