[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] gnubg-nn / pygnubg on win32
From: |
Øystein Johansen |
Subject: |
Re: [Bug-gnubg] gnubg-nn / pygnubg on win32 |
Date: |
Thu, 24 Mar 2005 00:36:26 +0100 |
User-agent: |
Mozilla Thunderbird 0.8 (Windows/20040913) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ernesto Mislej wrote:
| Hi,
| did somebody compile de gnubg-nn / pygnubg on win32?
Yes, I have!
I remember I did some changes to make it compile, but I think I
committed those changes.
at least:
The flags I have in flags.make are
EXTRAFLAGS = -DOS_BEAROFF_DB -DLOADED_BO
And there is a small patch to py/GNUmakefile
- ---8<--- Begin patch ---8<---
Index: GNUmakefile
===================================================================
RCS file: /cvsroot/gnubg/gnubg-nn/py/GNUmakefile,v
retrieving revision 1.1
diff -u -r1.1 GNUmakefile
- --- GNUmakefile 18 Jun 2004 20:16:49 -0000 1.1
+++ GNUmakefile 23 Mar 2005 23:34:08 -0000
@@ -1,21 +1,22 @@
~ CXX = g++
- -GNUBG = ../gnubg/
+GNUBG = ../gnubg
~ ANALYZE = ../analyze
- -PYVERSION= 2.3
+PYVERSION= 23
~ PYPATH= /usr/local
~ WARNING_FLAGS= -Wall -W -Wconversion
~ CXXFLAGS += $(WARNING_FLAGS) -I$(ANALYZE) -I$(GNUBG) -g \
- - -I$(PYPATH)/include/python$(PYVERSION)
+ -I/Python23/include
+ #-I$(PYPATH)/include/python$(PYVERSION)
~ include ../flags.make
~ CXXFLAGS += $(EXTRAFLAGS)
~ LIBPYTHON= -L$(PYPATH)/lib -lpython$(PYVERSION)
- -SYSLIBS= -ldl -lpthread -lutil
+SYSLIBS= # -lutil #-ldl -lpthread -lutil
~ ALLLIBS= $(LIBPYTHON) $(SYSLIBS)
- ---8<--- End patch ---8<---
Just checking and I find a small pathc for gnubg/GNUmakefile as well.
- ---8<--- Begin patch ---8<---
Index: GNUmakefile
===================================================================
RCS file: /cvsroot/gnubg/gnubg-nn/gnubg/GNUmakefile,v
retrieving revision 1.2
diff -u -r1.2 GNUmakefile
- --- GNUmakefile 20 Jun 2004 22:56:09 -0000 1.2
+++ GNUmakefile 23 Mar 2005 23:39:07 -0000
@@ -38,19 +38,8 @@
~ BEAROFFFILES = $(foreach b, $(BEAROFF), $(b).cc)
- -ifdef WIN32
~ br1.cc: makebear.exe
- - makebear $(BEAROFFFILES)
- -else
- -$(BEAROFFFILES) : makebear
- - @echo Computing the Answer to Life, The Universe and
Everything ...
- - [ -s br1.cc ] || ./makebear $(BEAROFFFILES)
- - chmod a-w $(BEAROFFFILES)
- -
- -bearoffgammon.cc: makegm
- - rm -f $@
- - ./makegm > $@
- -endif
+ makebear $(BEAROFFFILES)
~ clean:
~ rm $(files)
- ---8<--- End patch ---8<---
To make the program, I've used mingw and Python 2.3.
| I am an Machine Learning assistant in a course at Buenos Aires
| University, and I would try to use pygnubg training program. The
| students will use the environment to train different ml-methods and make
| a little competition between them.
It would be beautiful if someone could start up training again!
- -Øystein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCQf166kDTFPhwyqYRAmLJAJoDpTuVptJUYF2tcVCL4frcHW6rzgCdGm4F
sw+und8rBSgiPCA0FGZYoaE=
=X0Gy
-----END PGP SIGNATURE-----