I've tried numerous times but Cygwin keeps saying No such file or directory.
I need to step by step (as easy as possible) to compile Sil on windows
Collapse
X
-
Just use Makefile.std with cygwin. Edit the file and scroll down a bit to where it talks about if you want to compile X11 or curses, X11 is like the windows binary you probably have, curses would be like playing on angband.live. I've only compiled with curses. To compile for gcu find this part and uncomment it out and add the stuff I have (and comment out the other variations):
Code:## ## Variation -- "main-gcu.c" ## CFLAGS = -Wall -O1 -pipe -g -D"USE_GCU" -I/usr/include/ncurses LIBS = -lncurses
Last edited by clouded; November 10, 2017, 20:53.Comment
-
The correct makefile is Makefile.cyg.
It may require some tweaking to work with recent mingw; I suggest you take the one from sil-q, found at https://github.com/sil-quirk/sil-q/b...c/Makefile.cyg, because I had to make those tweaks already.
I note I have gcc linked thusly in cygwin:
gcc -> i686-w64-mingw32-gcc.exe
can't recall if I had to do this manually.Comment
-
Ah, the repository structure has changed since I posted that.
Use https://github.com/sil-quirk/sil-q/b...c/Makefile.cyg now.Comment
Comment