Angband Forums

Angband Forums (
-   Sil (
-   -   I need to step by step (as easy as possible) to compile Sil on windows (

Gothmog November 10, 2017 13:22

I need to step by step (as easy as possible) to compile Sil on windows
I've tried numerous times but Cygwin keeps saying No such file or directory.

Pete Mack November 10, 2017 13:36

That's not quite enough: which file isn't it finding? You may need to prepend the two cygwin directories to your PATH:

Gothmog November 10, 2017 13:46

I'll give that a go, I wasn't sure if that would make a difference so I did not bother doing it and the file (off the top of my head was) sil-130-src

clouded November 10, 2017 19:37

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 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):


## Variation -- "main-gcu.c"
CFLAGS = -Wall -O1 -pipe -g -D"USE_GCU" -I/usr/include/ncurses
LIBS = -lncurses

Then run "make -f Makefile.std install" in the src directory, then "cd .." and "./sil" If that doesn't work or if you haven't already make sure you have the ncurses/curses stuff for cygwin. If you want to try compiling X11 then uncomment out the one that only does that, then do those commands.

Pete Mack November 10, 2017 20:23

Oh, one more thing: for some variants, you need to prepend the make command with

CYGWIN=YES make -f

Or whatever. You may need to make minor edits to the makefile, depending on error messages.

Quirk November 11, 2017 01:01

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, 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.

Gothmog December 24, 2017 11:10

That page is unavailable

Quirk December 24, 2017 14:56


Originally Posted by Gothmog (Post 127118)
That page is unavailable

Ah, the repository structure has changed since I posted that.

Use now.

Gothmog December 26, 2017 11:38

what packages will I download from Cygwin?

All times are GMT +1. The time now is 12:14.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.