bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Re: compiling gnubg for windows (fwd)


From: kvandoel
Subject: Re: [Bug-gnubg] Re: compiling gnubg for windows (fwd)
Date: Sun, 21 Jul 2002 09:42:47 +0200 (CEST)

Hi,

I succeeded in compiling just now. You might be interested in how, as I
actually have found my own way.

For future reference here is a self-contained recipe that worked for me
on windoze-me:

=============================================================
I am using cygwin and run everything in tcsh shell.

download (except makefile) what is suggested on

http://mole.dnsalias.org/~acepoint/GnuBG/faq.html#SEC17

and also libintl pkg-config from the same place as glib.

Install gcc in c:/gcc and everything else in c:/gtk
Add C:/gcc/bin and c:/gtk/bin to path (in autoexec.bat)

Get gnubg from CVS.

Copy .dlls into gnubg directory:

$ cp c:/gtk/lib/libglib-2.0-0.dll .
$ cp c:/gtk/lib/libint-1.dll .
$ cp c:/gtk/lib/iconv.dll .

Run configure as follows:

$ sh configure --disable-nls --with-gtk --disable-gtktest 
--with-gtk-prefix="c:/gtk"

Manually edit generated Makefile:

Add to INCLUDE:

-IC:/gtk/include/glib-2.0/ -IC:/gtk/include/gtk -IC:/gtk/include/ 
-IC:/gtk/lib/glib-2.0/include/ -IC:/gtk/lib/gtk+/include/

Add to COMMON_LIBS: -Lc:/gtk/lib -lgtk -lgdk  -lglib-2.0

Add to CFLAGS:

-fnative-struct

$ make

Then copy new gnubg.exe into my old gnubg directory and it runs fine.
=============================================================

Only anomaly is when  it starts it reports  that there is no support for
reading match equity tables.

You mentioned there is 1/2 finished code for dumping equity loss at every
decision for plotting. I wouldn't mind having a look and see if I can hack
something. CAn you give me some hints where this code is?

Best,
Kees




reply via email to

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