Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gnu BG for win32

0 views
Skip to first unread message

udisan

unread,
Jan 3, 2002, 2:30:56 PM1/3/02
to
Hi!
my name is udisan and i am currently checking the source code for
gnu-bg.
I hope to use it as a genetic algorithms and genetic programming base
in order to improve the A.I. for luck -based games( excuse my english
).
for several reasons , my work is required to run on win32 platforms,
and to save time ,it should be based upon an exising bg software.
Now gnu-bg is serious enugh to be the base of my programming efforts,
but converting it to win32 has been so far , fruitless.
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.
Thus my question: do you know where can i get the ported win32 source
codes ? would you send me a link or an email address of the guy who
did the porting? and if not , could you offer me any help on how to do
the porting myself?
thanx in advance , udisan

Øystein Johansen

unread,
Jan 3, 2002, 5:16:04 PM1/3/02
to
udisan wrote:
[snip]

> 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: oeys...@online.no or ojo...@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.

> thanx in advance , udisan

Any time,
-Řystein

--
It's remarkable that a science which began with the consideration of
games of chance should have become the most important object of human
knowledge.... The most important questions of life are, for the most
part, really only problems of probability. -- Laplace, 1812

0 new messages