[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Some small steps of MSVC compiling
From: |
Øystein O Johansen |
Subject: |
[Bug-gnubg] Some small steps of MSVC compiling |
Date: |
Thu, 5 Dec 2002 13:04:39 +0100 |
Hi,
I can now compile nearly all files in GNU Backgammon with MSVC. I only have
to make some small adjustments to some files, and I'm able to compile the
important parts of the code. (I'll write furter about the changes, later)
I'm now doing some simple testing. One of the problems I'm having is
reading of binary weights. I will look further into that. I'm therefore
reading all weights for the ascii file. The strange thing is that I don't
get exactly the same results as the gcc build. So -- can anyone compile and
run this simple attached program? Test with both the gnubg.wd file and the
gnubg.weights file and report back to me the results.
In the linking you will need these objects:
libtest.o eval.o drawboard.o positionid.o pub_eval.o bearoff.o
bearoffgammon.o matchequity.o matchid.o erf.o i18n.o path.o br1.o
lib/list.o lib/neuralnet.o lib/hash.o lib/isaac.o lib/md5.o
This is my output:
C:\gnubg-msvc\gnubg>libtest
GNU Backgammon Position ID: 4HPwATDgc/ABMA
+12-11-10--9--8--7-------6--5--4--3--2--1-+
| X O | | O X |
| X O | | O X |
| X O | | O |
| X | | O |
| X | | O |
^| |BAR| |
| O | | X |
| O | | X |
| O X | | X |
| O X | | X O |
| O X | | X O |
+13-14-15-16-17-18------19-20-21-22-23-24-+
0.5205
0.1441
0.0060
0.1228
0.0046
Thanks
-Øystein
(See attached file: libtest.c)
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
libtest.c
Description: Binary data
- [Bug-gnubg] Some small steps of MSVC compiling,
Øystein O Johansen <=