[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnu Backgammon Compiling for Windows

From: Superfly Jon
Subject: Re: Gnu Backgammon Compiling for Windows
Date: Mon, 27 Sep 2021 16:04:30 +0100

Here are some instructions to build the full version on windows, for the non-gui version you would need to change the configure command I think:

1. Install MSYS2:  Go to https://www.msys2.org/ and download and install the latest version of MSYS2, e.g. msys2-x86_64-20210725.exe.

2. Start a MSYS2 terminal with mingw 32-bit (not 64bit!) and type the commands below that are marked with a $:

3.Update the core packages:
$ pacman -Syu
If anything is installed, close the terminal and redo this step until everything is up to date (might be 3 or 4 times).

4.Get the build chain tools:
$ pacman -S automake autoconf libtool pkg-config flex bison make cvs

5.Check out the latest code:
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnubg co gnubg

6.Get the required packages:
$ pacman -S mingw-w64-i686-toolchain mingw-w64-i686-gtk2 mingw-w64-i686-gtkglext
I installed all of them.  (Maybe this can be automated using makepkg or similar?)

7.Configure the make files:
$ cd gnubg
$ ./autogen.sh
$ sh non-src/cglm.shar
$ ./configure
$ notepad config.h
Add this line to the end of the "config.h" file

8. Build gnubg
$ make
$ make install

9. Run gnubg
$ gnubg


On Fri, 24 Sept 2021 at 19:54, Dariusz Stachowski <d.stachowski@virgin.net> wrote:

I am curious how I may compile GnuBG for Windows 7. In particular I
would like to be able to do so for the console version of the program (
gnubg-cli.exe ).

I have downloaded the source


but I cannot see any instructions for compiling on Windows. The
documentation on your web site tells me that I will find the instructions at


but this page gives me a 404 error code. I found another page on your
web site which says I need batch files gnubg3D.bat and/or gnubgOld.bat.
But I cannot see these in the downloaded source, or any other BAT file.
So I am puzzled. I would be grateful if you could fix the broken link
and let me ( and others ) know how to compile GnuBG.


Dariusz Stachowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]