GNU Backgammon

Forum Archive : GNU Backgammon

 
Compiling for Windows

From:   Řystein Johansen
Address:   oeysteij@online.no
Date:   3 January 2002
Subject:   Re: gnu BG for win32
Forum:   rec.games.backgammon
Google:   3C34D823.587878A6@online.no

> I checked the newsgroups for any hints on how to port it to win32
> and i found a link to a compiled version of the software:
> http://home.online.no/~oeysteij/
> the only problem with it was that i was unable to find the soure codes
> on the web site.

There is no changes to the source code in the windows port on my site.
There is no secret trick to make it compile under win32 either.
The things you need are these:

1. mingw compiler!
2. GTK+ for Windows (If you don't want the GUI you can leave this)
3. GNU Backgammon source code.
4. a config.h
5. a batch script. (Typically called build.bat or makeit.bat)
6. Optional packages for other thing you may want.

1. The mingw compiler can be found here: http://www.mingw.org. I use
   gcc-2.95.3. It's the latest snapshot there:
   http://prdownloads.sourceforge.net/mingw/mingw-1.0.1-20010726.tar.gz

2. These can be found on Tor Linqvists site here:
   http://www.gimp.org/~tml/gimp/win32//new-downloads.html
   Get both runtimes and dev packages, but you don't need the source.
   You don't need GIMP either! So these are the ones you need:
   http://www.gimp.org/~tml/gimp/win32//glib-1.3.12-20020101.zip
   http://www.gimp.org/~tml/gimp/win32//glib-dev-1.3.12-20020101.zip
   http://www.gimp.org/~tml/gimp/win32//libiconv-1.7.zip
   http://www.gimp.org/~tml/gimp/win32//libiconv-dev-1.7.zip
   http://www.gimp.org/~tml/gimp/win32//libintl-0.10.40-20020101.zip
   http://www.gimp.org/~tml/gimp/win32//gtk+-1.3.0-20020101.zip
   http://www.gimp.org/~tml/gimp/win32//gtk+-dev-1.3.0-20020101.zip

3. ftp the latest snapshot here:
   ftp://alpha.gnu.org/gnu/gnubg/snapshots/

4. a config.h can be found here:
   http://home.online.no/~oeysteij/config.h

5. a batch file for building can be found here:
   http://home.online.no/~oeysteij/build.bat
   (It is some mounths since I put the build.bat file on the site
   and I guess it needs some modification)

6. Want support for gdbm and database training? Want support guile?
   Want support for readline? Some themes maybe? Just ask me!

Simple instructions: Install MinGW. Install GTK+ packages. Modify
config.h to match your system. Modify the build.bat script.

> Thus my question: do you know where can i get the ported win32 source
> codes ?

The code I use is totally unmodified. Just get the latest snapshot.

> would you send me a link or an email address of the guy who
> did the porting?

That would be me: oeysteij@online.no or ojohans@statoil.no

> and if not, could you offer me any help on how to do
> the porting myself?

I'll help you as much as I can.
-Řystein
 
Did you find the information in this article useful?          

Do you have any comments you'd like to add?     

 

GNU Backgammon

Analyzing GamesGrid matches  (Roy Passfield, Dec 2001) 
Batch analysis tool  (Øystein Johansen, June 2004)  [GammOnLine forum]
Cache size  (Ned Cross+, Mar 2004)  [GammOnLine forum]
Compiling for Windows  (Øystein Johansen, Jan 2002) 
Edit mode removing checker from bar  (Scott Steiner+, May 2003) 
Entering an annotated match  (Albert Silver, Dec 2003)  [GammOnLine forum]
Error rates: Gnu vs. Snowie  (Raccoon, Mar 2006)  [GammOnLine forum]
Even-ply/odd-ply effect  (Raccoon, Nov 2004) 
Even-ply/odd-ply effect  (Tom Keith+, Oct 2003) 
Even-ply/odd-ply effect  (Scott Steiner+, Dec 2002) 
Filter settings  (Robert-Jan Veldhuizen, Nov 2004)  [GammOnLine forum]
Gnu 0.13 versus Jellyfish and Snowie  (Torsten Schoop, Aug 2003) 
Gnu 0.13 vs. Snowie 4  (Albert Silver, June 2003) 
Gnu 0.14 vs. Jellyfish  (Michael Howard+, July 2003) 
Gnu versus Snowie and Jellyfish  (Michael Depreli, Oct 2005) 
How luck factor is calculated  (Gregg Cattanach, Aug 2002) 
How rollouts work  (Gary Wong, July 1999) 
How to enter an illegal move  (Øystein Johansen, Aug 2003)  [GammOnLine forum]
Importing .gam files  (PAR+, Mar 2005) 
Importing PartyGammon matches  (rew+, July 2006) 
Improving your game using GnuBG  (D.U.G.+, Nov 2002) 
Installing on Windows  (maareyes, Oct 2001) 
Interpreting JSD's  (Adrian Wright+, Feb 2005)  [GammOnLine forum]
JSD's and confidence intervals  (Daniel Murphy+, Jan 2005) 
Logging rollouts  (Øystein Johansen, Oct 2004)  [GammOnLine forum]
Luck rate  (Kees van den Doel+, May 2002) 
MWC versus Equity (EMG)  (Ken+, Apr 2005)  [GammOnLine forum]
Manually entering first roll  (Andreas Graf+, Apr 2005) 
Match equity tables  (Raccoon, July 2005)  [GammOnLine forum]
Personal reflections  (Louis Nardy Pillards, Sept 2002) 
Playing two computers against each other  (Stanley E. Richards+, Mar 2008)  [GammOnLine forum]
Python scripting  (Øystein Johansen+, Nov 2004) 
Quasi-random dice in rollouts  (Ian Shaw, Mar 2004)  [GammOnLine forum]
Question marks in game list  (Jim Segrave, July 2005) 
Questions and answers  (Jim Segrave+, Jan 2003) 
Questions and answers  (Jørn Thyssen, Aug 2002) 
Restarting a rollout with different settings  (Jim Segrave, Apr 2005)  [GammOnLine forum]
Restarting a rollout with different settings  (Robert-Jan Veldhuizen, Apr 2004)  [GammOnLine forum]
Rollout settings  (geoff arnold+, Apr 2007) 
Rollout settings  (Stick+, Nov 2005)  [GammOnLine forum]
Rollout settings  (Robert-Jan Veldhuizen, Mar 2004)  [GammOnLine forum]
Rollout settings  (Ian Dunstan, Aug 2003)  [GammOnLine forum]
Rollout settings for the impatient  (Robert-Jan Veldhuizen, June 2004)  [GammOnLine forum]
Running rollouts in background  (Bruce+, Apr 2004)  [GammOnLine forum]
Saving rollout results from command-line interface  (Jeremy Bagai+, Apr 2006)  [GammOnLine forum]
Saving rollouts  (Mislav Radica+, May 2006)  [GammOnLine forum]
Setting GnuBG's playing strength  (JP White, Sept 2001) 
Setting skill level  (Jim Segrave, Apr 2004) 
Setting up and saving a rollout  (Albert Silver, Dec 2003)  [GammOnLine forum]
What's GNU?  (Gary Wong, Oct 2001) 
Which player is player 0?  (Neil Kazaross+, Oct 2004)  [GammOnLine forum]

[GammOnLine forum]  From GammOnLine       [Long message]  Long message       [Recommended reading]  Recommended reading       [Recent addition]  Recent addition
 

  Book Suggestions
Books
Cheating
Chouettes
Computer Dice
Cube Handling
Cube Handling in Races
Equipment
Etiquette
Extreme Gammon
Fun and frustration
GNU Backgammon
History
Jellyfish
Learning
Luck versus Skill
Magazines & E-zines
Match Archives
Match Equities
Match Play
Match Play at 2-away/2-away
Miscellaneous
Opening Rolls
Pip Counting
Play Sites
Probability and Statistics
Programming
Propositions
Puzzles
Ratings
Rollouts
Rules
Rulings
Snowie
Software
Source Code
Strategy--Backgames
Strategy--Bearing Off
Strategy--Checker play
Terminology
Theory
Tournaments
Uncategorized
Variations

 

Return to:  Backgammon Galore : Forum Archive Main Page