gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Wallyplus: a simple Go playing engine with GTP version


From: bump
Subject: Re: [gnugo-devel] Wallyplus: a simple Go playing engine with GTP version 2 interface
Date: Sat, 28 Sep 2002 04:59:45 -0700

> I have been working on a C++ rewrite of the original wally.c Go playing
> program by Bill Newman. I have called it Wallyplus. The project has reached
> the point where wallyplus can play a game against gnugo, using a
> slightly modified version of the twogtp.py script, which is included in the
> tarball.

I added a link to this at http://www.gnu.org/software/gnugo/gnugo.html.

You might want to try and older GCC. I got compiler errors with gcc 2.96:

engine.cpp: In function `void printgame ()':
engine.cpp:187: `printf' undeclared (first use this function)
engine.cpp:187: (Each undeclared identifier is reported only once for
each function it appears in.)
engine.cpp: In function `int getnb ()':
engine.cpp:427: `getchar' undeclared (first use this function)
engine.cpp: In function `int scanfcoo (int *, int *)':
engine.cpp:457: `stdin' undeclared (first use this function)
engine.cpp:457: `ungetc' undeclared (first use this function)
engine.cpp:467: `scanf' undeclared (first use this function)
engine.cpp: In function `int attack (group *, int *, int *, int)':
engine.cpp:1070: `stderr' undeclared (first use this function)
engine.cpp:1071: `fprintf' undeclared (first use this function)

These stopped when I added #include <stdio.h> in engine.cpp. But
then I got:

gtp.cpp: In function `int gtp_known_command (char *)':
gtp.cpp:164: `boolalpha' undeclared (first use this function)
gtp.cpp:164: (Each undeclared identifier is reported only once for each
function it appears in.)
gtp.cpp: In function `int gtp_estimate_score (char *)':
gtp.cpp:334: `fabs' undeclared (first use this function)

Dan




reply via email to

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