Page 9 of 11

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 11:10 am
by Jeremy Bernstein
v008 is here. Fixes the Persistent Hash bug in v007. Thanks, Dann!

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 1:13 pm
by ik4u
Thanks Jeremy for this update...
Can you post a guide on how to do the compile from the SRC,

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 1:14 pm
by Vael Jean-Paul
Thanks Jemery !!

I just try to compile myself..but i think i need something more then this command line i use:
make profile-build ARCH=x86-64-modern COMP=mingw

Can you tell me what to add please!
Is this the last Stockfish source you have used?!
And is it possible for example to add GTB to a earlier source!!

Kind regards,
Jean-Paul.

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 1:30 pm
by Jeremy Bernstein
Vael Jean-Paul wrote:Thanks Jemery !!

I just try to compile myself..but i think i need something more then this command line i use:
make profile-build ARCH=x86-64-modern COMP=mingw

Can you tell me what to add please!
Is this the last Stockfish source you have used?!
The included source reflects the released binaries. In order to build (with the command line you used), you need to build the kyotocabinet, qdbm and egtb libraries first:
pushd kyotocabinet; make clean; make; popd; pushd qdbm; make clean; make; popd; pushd egtb; make clean; make -f makefile.mingw; popd;
And is it possible for example to add GTB to a earlier source!!
It's possible of course, but I'm not going to do it! :-)

Jeremy

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 3:08 pm
by Vael Jean-Paul
Thank you!

But i get this now..when i copy your line in command:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\jpqy>cd Stockfish\src

C:\Users\jpqy\Stockfish\src>pushd kyotocabinet; make clean; make; popd; pushd qd
bm; make clean; make; popd; pushd egtb; make clean; make -f makefile.mingw; popd
;
The system cannot find the path specified.

C:\Users\jpqy\Stockfish\src>

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 3:12 pm
by Jeremy Bernstein
You need to do that from the mingw Bash Shell, not from Cmd.

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 4:08 pm
by Vael Jean-Paul
Hi Jeremy,

I have PM'ed the logs!
Now i tried 3 times..he makes a lot files with your line..but when i want to make at last the compile with the line
i use from Stockfish..it just fails at the end.
So i think i'am amost there!

Maybe you can check what i'am missing right now..

Thanks in advance :!:

JP.

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 4:17 pm
by Jeremy Bernstein
OK, go to the kyotocabinet directory and type "./configure" to generate a new makefile. I guess that my makefile might not be compatible with your system. You may need to do the same with qdbm (maybe not, though). libgtb seems to have built properly.

I had to make some changes to the generated makefile before kyotocabinet would actually build (which is why I included the makefile in the distro), so you might have to experiment a little bit, too.

Jeremy

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 4:30 pm
by Vael Jean-Paul
Thanks for your very fast replying!

I start up Git Bash

i go to the directory kyotocabinet..type: ./configure (enter)

he do checkings..files with Yes & No's ..and last line i get this:

configue: error: pthread.h is requied

Thanks for your help :!:

Re: Stockfish 3 PA_GTB

Posted: Tue Aug 13, 2013 4:37 pm
by Jeremy Bernstein
Vael Jean-Paul wrote:Thanks for your very fast replying!

I start up Git Bash

i go to the directory kyotocabinet..type: ./configure (enter)

he do checkings..files with Yes & No's ..and last line i get this:

configue: error: pthread.h is requied

Thanks for your help :!:
Alright, a couple of things. First check out the MINGW_COMPILE.txt file in the kyotocabinet directory, where I documented what I had to do in order to get kyotocabinet to build due to a missing regex library. Second, it sounds like your mingw64 might not have a pthreads implementation. I am using the version here: http://sourceforge.net/projects/mingw-w ... 7-release/

jb