Tinapa 1.01

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Re: Tinapa 1.01

Post by Prima » Wed Jan 26, 2011 7:20 pm

Peter C wrote:What problems are you having with SF 2.0.1 GTB?

Peter
I kept getting errors and warnings. This was from the Intel Output:

Code: Select all

1>------ Build started: Project: Stockfish-201GTB-x64, Configuration: Release x64 ------
1>  benchmark.cpp
1>  bitbase.cpp
1>  bitboard.cpp
1>..\..\bitboard.cpp(312): warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>..\..\bitboard.cpp(318): warning C4146: unary minus operator applied to unsigned type, result still unsigned
1>  book.cpp
1>  egtb.cpp
1>  endgame.cpp
1>  evaluate.cpp
1>  history.cpp
1>  main.cpp
1>  material.cpp
1>  misc.cpp
1>  move.cpp
1>  movegen.cpp
1>  movepick.cpp
1>  pawns.cpp
1>  position.cpp
1>  san.cpp
1>  search.cpp
1>  timeman.cpp
1>  tt.cpp
1>  Compiling...
1>  uci.cpp
1>  ucioption.cpp
1>  gtb-att.c
1>c:\users\prima\desktop\sf201gtb-src\egtb\gtb-att.h(32): fatal error C1083: Cannot open include file: 'sysport.h': No such file or directory
1>  gtb-dec.c
1>..\..\egtb\gtb-dec.c(38): fatal error C1083: Cannot open include file: 'hzip.h': No such file or directory
1>  gtb-probe.c
1>..\..\egtb\gtb-probe.c(58): fatal error C1083: Cannot open include file: 'sysport.h': No such file or directory
1>  tbprobe.c
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
and this is from the Intel Error List:

Code: Select all

Error	4	error C1083: Cannot open include file: 'hzip.h': No such file or directory	C:\Users\PRIMA\Desktop\SF201GTB-SRC\egtb\gtb-dec.c	38	1	Stockfish-201GTB-x64

Error	3	error C1083: Cannot open include file: 'sysport.h': No such file or directory	c:\users\prima\desktop\sf201gtb-src\egtb\gtb-att.h	32	1	Stockfish-201GTB-x64

Error	5	error C1083: Cannot open include file: 'sysport.h': No such file or directory	C:\Users\PRIMA\Desktop\SF201GTB-SRC\egtb\gtb-probe.c	58	1	Stockfish-201GTB-x64

Warning	1	warning C4146: unary minus operator applied to unsigned type, result still unsigned	C:\Users\PRIMA\Desktop\SF201GTB-SRC\bitboard.cpp	312	1	Stockfish-201GTB-x64

Warning	2	warning C4146: unary minus operator applied to unsigned type, result still unsigned	C:\Users\PRIMA\Desktop\SF201GTB-SRC\bitboard.cpp	318	1	Stockfish-201GTB-x64
This was just from using Stockfish 2.0.1 source and the files from "egtb" folder.
I still get errors even when I add the files from the "compression" folder and the "system support" folder.

By the way, when you compiled the 32-bit of Stockfish 2.0.1GTB, did you put all files into one folder, then used the Add/Existing items ONCE and then compiled it, or did you have to keep using the "Add/Existing items" to add files from different folders and then finally compile it?

BB+
Posts: 1484
Joined: Thu Jun 10, 2010 4:26 am

Re: Tinapa 1.01

Post by BB+ » Wed Jan 26, 2011 10:11 pm

Error 3 error C1083: Cannot open include file: 'sysport.h': No such file or directory c:\users\prima\desktop\sf201gtb-src\egtb\gtb-att.h 32 1 Stockfish-201GTB-x64
My guess is that the compiler does not know where to look for sysport.h. In the Makefile, this is handled via "-Isysport" (that is, look in the sysport directory when Including files). Off the top of my head, I don't know how to do this in Windows.

Peter C
Posts: 154
Joined: Thu Jun 10, 2010 3:12 am
Real Name: Peter C

Re: Tinapa 1.01

Post by Peter C » Thu Jan 27, 2011 5:11 am

Prima wrote:
Peter C wrote:What problems are you having with SF 2.0.1 GTB?

Peter
I kept getting errors and warnings. This was from the Intel Output:

...

This was just from using Stockfish 2.0.1 source and the files from "egtb" folder.
I still get errors even when I add the files from the "compression" folder and the "system support" folder.

By the way, when you compiled the 32-bit of Stockfish 2.0.1GTB, did you put all files into one folder, then used the Add/Existing items ONCE and then compiled it, or did you have to keep using the "Add/Existing items" to add files from different folders and then finally compile it?
I used MSYS and simply typed "make profile-build ARCH=x86-32" at a bash prompt. :P

Hmmm, you'd have to ask someone who actually knows about Visual Studio for help with that, sorry. :P

Peter

Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Re: Tinapa 1.01

Post by Prima » Wed Feb 02, 2011 10:21 pm

Prima wrote:Okay, here's an Intel C++ compile of Tinapa 1.01 x64. 'Hope you all like it.

Due to it's size with source code included, it exceeded the maximum bandwidth allowed by the forum. Therefor, the attachment is just the Tinapa 1.01 64-bit executive file only. The source code is the same as my initial compile, else, I hope I'm not breaking any license issues here.
Just a minor update; a successful PGO MsVS2010 build of Tinapa 1.01 x64.
Attachments
Tinapa-1.01PGO-MsVS2010-x64.7z
Tinapa 1.01 PGO MsVS2010 64-bit build
(180.04 KiB) Downloaded 271 times

Damir Desevac
Posts: 57
Joined: Thu Jun 10, 2010 2:58 pm
Real Name: Damir Desevac

Re: Tinapa 1.01

Post by Damir Desevac » Thu Feb 03, 2011 7:50 pm

Anyone here that can compile this damn SF GTB thing to 64-bits ? And no I am not talking about amateurs like Peter C

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: Tinapa 1.01

Post by Jeremy Bernstein » Thu Feb 03, 2011 7:54 pm

Damir Desevac wrote:Anyone here that can compile this damn SF GTB thing to 64-bits ? And no I am not talking about amateurs like Peter C
The project I posted in this thread should compile to 64-bits. I'm installing a 64-bit OS right now to make sure, though...

Jeremy

ernest
Posts: 247
Joined: Thu Sep 02, 2010 10:33 am

Re: Tinapa 1.01

Post by ernest » Thu Feb 03, 2011 8:04 pm

Damir Desevac wrote:Anyone here that can compile this damn SF GTB thing to 64-bits ? And no I am not talking about amateurs like Peter C
Why being rude with Peter C? :shock:

Damir Desevac
Posts: 57
Joined: Thu Jun 10, 2010 2:58 pm
Real Name: Damir Desevac

Re: Tinapa 1.01

Post by Damir Desevac » Thu Feb 03, 2011 8:48 pm

Because he is posting here corrupt none working files, that's why. If he does not know how to make them work, better not post them.
Got your question answered ??

Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Re: Tinapa 1.01

Post by Prima » Fri Feb 04, 2011 8:55 am

Damir Desevac wrote:Anyone here that can compile this damn SF GTB thing to 64-bits ? And no I am not talking about amateurs like Peter C
Damir,

Jeremy's compile of Stockfish 2.0.1PA-G GTB (32 & 64-bit) is here: http://www.open-chess.org/viewtopic.php ... 2&start=70

My compile of Stockfish 2.0.1PA-G GTB (32 & 64-bit) is here: http://www.open-chess.org/viewtopic.php ... 2&start=80

Peter C
Posts: 154
Joined: Thu Jun 10, 2010 3:12 am
Real Name: Peter C

Re: Tinapa 1.01

Post by Peter C » Fri Feb 04, 2011 8:32 pm

Damir Desevac wrote:Because he is posting here corrupt none working files, that's why. If he does not know how to make them work, better not post them.
Got your question answered ??
Maybe they work but you can't figure it out. Ever thought of that?

And I only don't know how to make them work with Visual Studio. Real men use the command prompt. I can tell you exactly how to make it work on Linux or with MinGW (and probably Cygwin):
Simply type "make profile-build ARCH=x86-32" at a terminal.

BTW, I did this as a project in my spare time for me to be able to use tablebases with Stockfish. I'm a 14-year-old who barely knows C++. Hence, I didn't spend time making it friendly to non-GCC compilers. I figured it was useful, so I shared it. If you don't like it, don't use it, but no need to get aggressive about it.

Peter

Post Reply