Go Back   Angband Forums > Angband > Sil

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old January 8, 2017, 02:36   #1
Join Date: Jan 2017
Posts: 6
BookofAeons is on a distinguished road
How-To: compile and play mpa-sil on Windows

This is the procedure that worked for me. The trick was to avoid anything 64-bit like the plague.
  1. Download and run setup-x86.exe from cygwin's website.
  2. In addition to the default packages, select "make" and "mingw64-i686-gcc-core" in the devel category.
  3. When asked, allow the installation of required dependencies.
  4. In Sil's SRC folder, edit the header of MakeFile.cyg to remove -mno-cygwin and point to the proper version of gcc and windres. It should look as follows:
    CC = i686-w64-mingw32-gcc 
    WRES = i686-w64-mingw32-windres 
    LIBS = -s -mwindows -e _mainCRTStartup -lwinmm 
    CFLAGS = -Wall -O2 -fno-strength-reduce -DWINDOWS
  5. Open cygwin and cd to Sil's SRC folder.
  6. Type "make -f Makefile.cyg install"
  7. The resulting program will require cygwin1.dll, found in cygwin\bin. You can either copy it to Sil's folder, or add cygwin\bin to your system path.

I believe this is everything, but it's possible I overlooked something relevant in the flurry of things I tried.
BookofAeons is offline   Reply With Quote

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
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
Making V play more like Sil Therem Harth Vanilla 81 October 1, 2012 14:36
Issue with compile on Windows 7 64-bit using Visual C++ Express command line -K- Development 1 January 15, 2011 20:28
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 02:38.

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