![]() |
#1 |
Apprentice
Join Date: Sep 2016
Posts: 90
![]() |
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.
|
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
![]() |
That's not quite enough: which file isn't it finding? You may need to prepend the two cygwin directories to your PATH:
/c/cygwin/bin /c/cygwin/msys/1.0/bin |
![]() |
![]() |
![]() |
#3 |
Apprentice
Join Date: Sep 2016
Posts: 90
![]() |
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
|
![]() |
![]() |
![]() |
#4 |
Swordsman
Join Date: Jun 2012
Posts: 267
![]() |
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 at 19:53. |
![]() |
![]() |
![]() |
#5 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
![]() |
Oh, one more thing: for some variants, you need to prepend the make command with
CYGWIN=YES make -f makefile.win Or whatever. You may need to make minor edits to the makefile, depending on error messages. |
![]() |
![]() |
![]() |
#6 |
Swordsman
Join Date: Mar 2016
Posts: 462
![]() |
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. |
![]() |
![]() |
![]() |
#7 |
Apprentice
Join Date: Sep 2016
Posts: 90
![]() |
That page is unavailable
|
![]() |
![]() |
![]() |
#8 |
Swordsman
Join Date: Mar 2016
Posts: 462
![]() |
Ah, the repository structure has changed since I posted that.
Use https://github.com/sil-quirk/sil-q/b...c/Makefile.cyg now. |
![]() |
![]() |
![]() |
#9 |
Apprentice
Join Date: Sep 2016
Posts: 90
![]() |
what packages will I download from Cygwin?
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How-To: compile and play mpa-sil on Windows | BookofAeons | Sil | 7 | January 19, 2017 05:28 |
Trying to compile on Windows 8 | SlothsInTheDungeon | Development | 5 | August 9, 2014 03:17 |
T2 Linux -> Windows cross-compile with CMake? | Therem Harth | ToME | 0 | December 16, 2012 17:00 |
Combat redesign - taking a step back | jens | Vanilla | 17 | July 14, 2011 19:51 |
Is there a windows compile of Gumband 2.3.2 floating around? | BlackFlame | Variants | 8 | February 12, 2010 01:16 |