gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] I built version 3.0.0 OK, but ...


From: Daniel Bump
Subject: Re: [gnugo-devel] I built version 3.0.0 OK, but ...
Date: Mon, 11 Feb 2002 07:25:33 -0800

> I followed the instructions and managed to build GnuGu 3.0.0 (and it seems 
> to run OK with Jago) but there were a couple of glitches along the way. So 
> I have a couple of questions.
> 
> I built GnuGu 3.0.0 in my mingw32 environment with gcc-2.95.2. The first 
> question is what does the message from "configure":

The person that knows the most about Mingw32 is Teun Burgers and
he's incommunicado. As far as I know he's travelling by boat
across the Atlantic. He's also probably the person that
added the glib references to configure.in though I'm not
sure about that. See the mail archive from October 2000.
(http://match.stanford.edu/gnugo/)

I think glib is used as an alternative source for functions
such as vsnprintf which is used in debugboard. You won't
need that and generally if you aren't having print problems
I wouldn't worry about this.

> Now "make" complains that:
>       GRID_OPT should be defined as 0, 1 or 2
>       `DEFAULT_LEVEL' undeclared
>       `DEFAULT_MEMORY' undeclared
>       `CHINESE_RULES' undeclared
> 
> I fixed all the problems with appropriate defines, but I wonder why I got 
> the errors. Is there something wrong with my environment perhaps ??

For these I recommend the settings

GRID_OPT 1
DEFAULT_LEVEL 10    [Unless GNU Go is too slow]
DEFAULT_MEMORY 16   [Unless you have lots of RAM and check there's no swapping]
CHINESE_RULES 0     [Unless you prefer Chinese rules]

We have some instructions for compiling with Mingw32 in a
file called WINDOWS. Presumably you found this but if not,
that file says:

   The Cygwin environment also comes with MINGW32. This generates an
executable that relies only on Microsoft DLLs. This executable is thus
completely comparable to a Visual C executable and easier to distribute
than the Cygwin executable. To build on cygwin an executable suitable
for the win32 platform type the following at your cygwin prompt:

        tar zxvf gnugo-3.0.tar.gz
        cd gnugo-3.0
        env CC='gcc -mno-cygwin' ./configure
        make

Since your problems are configure related, did you try this?

Dan










reply via email to

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