Obtaining (or compiling) Octochess 5190 or r5506HK

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

fncll
Posts: 2
Joined: Thu Nov 14, 2019 6:47 pm
Full name: Chris Lott

Obtaining (or compiling) Octochess 5190 or r5506HK

Post by fncll »

I am looking for either an OSX compilation of Octochess 5190, or instructions on how to successfully compile it on OSX.

I see a version called r5506HK that indicates binaries for OSX on this engine downloads page: http://www.computer-chess.org/doku.php? ... nload_list

But there is no OSX version in the download, and attempting to compile on OSX gives me the following error with make config (or just make):

```
clott@dinklage~/D/!/O/o/chess> make config
g++ -O3 -msse3 -mpopcnt -pipe -Wall -DREVISION=\"5506\" -Wextra -m64 -fwhole-program -flto -std=gnu++0x -c -o config.o config.cpp
clang: warning: optimization flag '-fwhole-program' is not supported [-Wignored-optimization-argument]
gcc config.o -o config
ld: entry point (_main) undefined. for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [config] Error 1
```

Any leads?
tmokonen
Posts: 1296
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: Obtaining (or compiling) Octochess 5190 or r5506HK

Post by tmokonen »

I don't see a target for config in the Makefile. Maybe try:

make octochess

Sorry, no Mac to test here, but it does work for me under msys2 in Windows.
tmokonen
Posts: 1296
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: Obtaining (or compiling) Octochess 5190 or r5506HK

Post by tmokonen »

Actually, there is a premade Mac binary, although it is the slightly older version r5178. There's lot of other Mac engines as well at this site:

http://julien.marcel.free.fr/macchess/C ... gines.html