Hello:
http://talkchess.com/forum/viewtopic.ph ... t=polyglot
A8A.
Polyglot 1.4w Released
Moderators: hgm, Rebel, chrisw
-
- Posts: 220
- Joined: Wed Mar 08, 2006 9:27 pm
- Location: Montréal, Canada
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Polyglot 1.4w Released -Maybe you should include this...
Yes,I'll put it on my site too soon. Or put up a link.
I'll leave my old version on the site too,just in case someone still needs it.
Best
Fonzy
-
- Posts: 220
- Joined: Wed Mar 08, 2006 9:27 pm
- Location: Montréal, Canada
Re: Polyglot 1.4w Released -Maybe you should include this...
Hello:F. Bluemers wrote:Yes,I'll put it on my site too soon. Or put up a link.
I'll leave my old version on the site too,just in case someone still needs it.
Best
Fonzy
Of course, you must be in the know of the options included by Jaap Weidemann. Anyway, I found his last release in the Winboard Forum. It includes interesting options to create books with elo filter:
http://www.open-aurec.com/wbforum/viewtopic.php?t=49659
Direct link from that thread http://www.mediafire.com/?mzytiyniyzj
Thank you for your useful work in improving polyglot....
Best wishes. A8A.
-
- Posts: 373
- Joined: Thu Aug 14, 2008 3:21 am
- Location: Albuquerque, NM
Re: Polyglot 1.4w10 Released
I did some testing with all the Microsoft compilers I have access to.F. Bluemers wrote:Hi Bob
Thanks for the bugreport.I'll fix 'adapter.ccp'
As for microsoft:
I compiled pg with vc c++ 2005 express.
No problems printing pv strings.
VS2005: appeared to work properly with or without the proposed fix
VS2003, VS2002, VC++ 6.0: proposed fix required to work properly
VC++ 4.x and lower: didn't compile either way. heh.
Thanks for the effort. But this problem should be evident immediately on the same OS it was compiled on. I'm sorry I didn't make that clear.F. Bluemers wrote:I tested the compiled exe under windows 98se with virtual pc and it seems to works well.
-
- Posts: 373
- Joined: Thu Aug 14, 2008 3:21 am
- Location: Albuquerque, NM
Re: Polyglot 1.4w10 Released
I tested some more compilers and found out that to make this build properly, you have to do two things:
1) re-enable S64_FORMAT in adapter.cpp as discussed previously.
2) force S64_FORMAT to "%I64d" for most compilers targeting windows.
For 2), this means replacing line 30 in util.h from:to:
That allowed me to produce a working EXE for all the Microsoft compilers, plus an older version of ming I had, and current ones used by dev-cpp. I assume you also want S64_FORMAT to be "%I64d" for intel compilers, but unfortunately, I can't test that as I have none.
1) re-enable S64_FORMAT in adapter.cpp as discussed previously.
2) force S64_FORMAT to "%I64d" for most compilers targeting windows.
For 2), this means replacing line 30 in util.h from:
Code: Select all
#ifdef _MSC_VER
Code: Select all
#if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) || defined(WINDOWS)
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Polyglot 1.4w10 Released
Hi Bob
So its true then,Microsoft needs one with a hammer on its head
Thanks for the good work
Best
Fonzy
No exceptions allowed eh?Code:
#if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) || defined(WINDOWS)
So its true then,Microsoft needs one with a hammer on its head
Thanks for the good work
Best
Fonzy
-
- Posts: 373
- Joined: Thu Aug 14, 2008 3:21 am
- Location: Albuquerque, NM
Re: Polyglot 1.4w10 Released
I suspect, and my first google search hit sorta confirmed this, that the common element here is linking with msvcrt, which apparently VS2005 doesn't do anymore by default. If that's what's really the case here, then of course to be correct, the preprocessor should test for exactly that, if possible. I don't know how though. But since the method VS2005 uses appears to work either way, using "%I64d" for any windows build seems an acceptable solution.F. Bluemers wrote:Hi BobNo exceptions allowed eh?Code:
#if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) || defined(WINDOWS)
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Polyglot 1.4w11 Released
Polyglot 1.4w11 Released
Main contributions are from Eric Mullins.
Fixing pv output when compiled with older ms compilers
added EngineNice option
added ScoreWhite
added PostDelay
Best
Fonzy
Main contributions are from Eric Mullins.
Fixing pv output when compiled with older ms compilers
added EngineNice option
added ScoreWhite
added PostDelay
Best
Fonzy
-
- Posts: 27808
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Polyglot 1.4w11 Released
Is this now the same version as 1.4w10UCIb13, or a direct successor of it, or are we forking?
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Polyglot 1.4w11 Released
This is a successor to 1.4w10,the changes are relative small.hgm wrote:Is this now the same version as 1.4w10UCIb13, or a direct successor of it, or are we forking?
It should be easy to merge with 1.4w10UCIbxx
Best
Fonzy