How Can I build TogaII 1.3x4 ?

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

How Can I build TogaII 1.3x4 ?

Postby Wojciech Dziuba » 17 Mar 2007, 23:49

Hello !
In older versions of Toga II was Makefile.How can I build (what command and parameters?)toga for linux based system?

Thanks in Advance!
Regards Wojciech!
Wojciech Dziuba
 
Posts: 10
Joined: 09 Aug 2005, 17:25
Location: Poland

Re: How Can I build TogaII 1.3x4 ?

Postby Volker Pittlik » 18 Mar 2007, 08:30

Wojciech Dziuba wrote:Hello !
In older versions of Toga II was Makefile.How can I build (what command and parameters?)toga for linux based system?

Thanks in Advance!
Regards Wojciech!


It seems there is missing somethng. Using the old Makefile generates some errors:

Code: Select all
eval.o: In function `eval(board_t*, int, int, bool)':
eval.cpp:(.text+0x14a4): undefined reference to `egbb_is_loaded'
eval.cpp:(.text+0x1a40): undefined reference to `probe_bitbases(board_t*, int&)'
main.o: In function `main':
main.cpp:(.text+0x85): undefined reference to `LoadEgbbLibrary(char*, unsigned int)'
main.cpp:(.text+0x91): undefined reference to `egbb_is_loaded'
protocol.o: In function `loop_step()':
protocol.cpp:(.text+0xd88): undefined reference to `LoadEgbbLibrary(char*, unsigned int)'
protocol.cpp:(.text+0xd94): undefined reference to `egbb_is_loaded'
search_full.o: In function `full_quiescence(board_t*, int, int, int, int, unsigned short*, bool)':
search_full.cpp:(.text+0x2e1): undefined reference to `egbb_is_loaded'
search_full.cpp:(.text+0x339): undefined reference to `probe_bitbases(board_t*, int&)'
search_full.o: In function `full_search(board_t*, int, int, int, int, unsigned short*, int)':
search_full.cpp:(.text+0x910): undefined reference to `egbb_is_loaded'
search_full.cpp:(.text+0x9fd): undefined reference to `probe_bitbases(board_t*, int&)'


Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: How Can I build TogaII 1.3x4 ?

Postby Jim Ablett » 18 Mar 2007, 09:25

A new file 'probe.cpp' has been added since the last version which defines
all the functions for Daniel Shawul's bitbase support. You will need to add this
to the makefile in the 'OBJS' as 'probe.o'

Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: How Can I build TogaII 1.3x4 ?

Postby Volker Pittlik » 18 Mar 2007, 11:17

Jim Ablett wrote:A new file 'probe.cpp' has been added since the last version which defines
all the functions for Daniel Shawul's bitbase support. You will need to add this
to the makefile in the 'OBJS' as 'probe.o'

Jim.


Almost.

In addition windows.h should be replaced by unistd.h IMO.

However, there are still errors:

Code: Select all
probe.cpp: In function »int LoadEgbbLibrary(char*, uint32)«:
probe.cpp:48: Fehler: »strcpy« wurde in diesem Gültigkeitsbereich nicht definiert
probe.cpp:49: Fehler: »strcat« wurde in diesem Gültigkeitsbereich nicht definiert
probe.cpp:51: Fehler: »FreeLibrary« wurde in diesem Gültigkeitsbereich nicht definiert
probe.cpp:52: Fehler: »RTLD_LAZY« wurde in diesem Gültigkeitsbereich nicht definiert
probe.cpp:52: Fehler: »dlopen« wurde in diesem Gültigkeitsbereich nicht definiert
probe.cpp:53: Fehler: »dlsym« wurde in diesem Gültigkeitsbereich nicht definiert
make: *** [probe.o] Fehler 1


The German error message say that "...." wasn't defined.

It's also questionable if this version of Toga is improved. Maybe one of the authors can take a look.

Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland


Return to Winboard and related Topics

Who is online

Users browsing this forum: Google [Bot] and 30 guests