Search found 34 matches

by jhaglund2
Mon Oct 15, 2018 7:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 2489

Re: Crafty v25.3 compile

By some miracle :shock: , I managed to (Microsoft VS 2017) compile with /DSYZYGY. It took a lot of changes. I'm not sure it even works as intended.

If someone could test it for me, that would be nice. :?:

https://www.mediafire.com/file/p0vfoawy ... b.zip/file
by jhaglund2
Mon Oct 15, 2018 1:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Winboard nodes display
Replies: 3
Views: 978

Re: Winboard nodes display

I figured it was something like that. I thought Xboard / Winboard was American at it's roots. :P
by jhaglund2
Sun Oct 14, 2018 9:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Winboard nodes display
Replies: 3
Views: 978

Winboard nodes display

There is a small evaluation "flaw" in Winboard 4.8. The evaluation nodes displayed show a 'G', instead of 'B'.

Code: Select all

1.2G
804M
500M
120M
by jhaglund2
Sat Oct 13, 2018 10:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 2489

Re: Crafty v25.3 compile

Found the syntax error:

Code: Select all

qsort((char *) buffer, number, sizeof(BB_POSITION), BookupCompare);
to

Code: Select all

qsort((char *) buffer, number, sizeof(BB_POSITION), BookUpCompare);
Updated the file at the previous URL.
by jhaglund2
Sat Oct 13, 2018 8:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 2489

Re: Crafty v25.3 compile

After looking deeper into the problem, and many trials and changes, I managed to get Crafty v25.3 compiled, with Microsoft VS 2017. :lol: However, I couldn't get /DSYZYGY to work, so it is without tablebase support for now. crafty.obj : error LNK2019: unresolved external symbol _tb_init_impl referen...
by jhaglund2
Wed Oct 10, 2018 12:13 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 2489

Re: Crafty v25.3 compile

https://en.wikipedia.org/wiki/Sleep_(system_call)

Code: Select all

C examples
In Windows OS:
Sleep(2*1000);  // Sleep for 2 seconds

In Unix:
sleep(2);       // Sleep for 2 seconds
by jhaglund2
Tue Oct 09, 2018 3:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 2489

Re: Crafty v25.3 compile

Also:

error LNK2019: unresolved external symbol _sleep referenced in function _Iterate

iterate: line 182

Code: Select all

if (elo_sleep) sleep (time_limit/167);
Windows:

Code: Select all

if (elo_sleep) Sleep (time_limit/167);
by jhaglund2
Mon Oct 08, 2018 6:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty v25.3 compile
Replies: 8
Views: 2489

Crafty v25.3 compile

I'm back again trying to compile Crafty v25.3, with Microsoft VS 2017. Warnings: thread.c(455): warning C4028: formal parameter 1 different from declaration int ThreadSplit(TREE * tree, int ply, int depth, int alpha, int o_alpha, int done) thread.c(888): warning C4028: formal parameter 1 different f...