Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Sil

Reply
 
Thread Tools Display Modes
Old November 10, 2017, 13:22   #1
Gothmog
Apprentice
 
Join Date: Sep 2016
Posts: 90
Gothmog is on a distinguished road
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.
Gothmog is offline   Reply With Quote
Old November 10, 2017, 13:36   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
Pete Mack will become famous soon enough
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
Pete Mack is offline   Reply With Quote
Old November 10, 2017, 13:46   #3
Gothmog
Apprentice
 
Join Date: Sep 2016
Posts: 90
Gothmog is on a distinguished road
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
Gothmog is offline   Reply With Quote
Old November 10, 2017, 19:37   #4
clouded
Swordsman
 
Join Date: Jun 2012
Posts: 267
clouded is on a distinguished road
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
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.

Last edited by clouded; November 10, 2017 at 19:53.
clouded is offline   Reply With Quote
Old November 10, 2017, 20:23   #5
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
Pete Mack will become famous soon enough
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.
Pete Mack is offline   Reply With Quote
Old November 11, 2017, 01:01   #6
Quirk
Swordsman
 
Join Date: Mar 2016
Posts: 462
Quirk is on a distinguished road
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.
Quirk is offline   Reply With Quote
Old December 24, 2017, 11:10   #7
Gothmog
Apprentice
 
Join Date: Sep 2016
Posts: 90
Gothmog is on a distinguished road
That page is unavailable
Gothmog is offline   Reply With Quote
Old December 24, 2017, 14:56   #8
Quirk
Swordsman
 
Join Date: Mar 2016
Posts: 462
Quirk is on a distinguished road
Quote:
Originally Posted by Gothmog View Post
That page is unavailable
Ah, the repository structure has changed since I posted that.

Use https://github.com/sil-quirk/sil-q/b...c/Makefile.cyg now.
Quirk is offline   Reply With Quote
Old December 26, 2017, 11:38   #9
Gothmog
Apprentice
 
Join Date: Sep 2016
Posts: 90
Gothmog is on a distinguished road
what packages will I download from Cygwin?
Gothmog is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 21:23.


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