Hello Macibtosh-users,
run Macintosh-compatible chess engines normally on the actual Arena-GUI
or exist problems with some engines? I have installed only Windows XP SP3
on my PC, so I cannot try it out. What´s about Mac Crafty see URL
http://crafty.darwinports.com ?
Best wishes,
Norbert
Arena-GUI for Macintosh?!
Moderators: hgm, Rebel, chrisw
-
- Posts: 1643
- Joined: Tue May 20, 2008 4:57 pm
- Location: Augsburg - Germany
-
- Posts: 169
- Joined: Sun May 11, 2008 10:31 pm
- Location: Switzerland
Re: Arena-GUI for Macintosh?!
Never heard that this should be possible. For example, it is however possibleNorbert Raimund Leisner wrote:Hello Macibtosh-users,
run Macintosh-compatible chess engines normally on the actual Arena-GUI
Best wishes,
Norbert
to install Arena under Linux allowing all UCI-engines to run (see also the
NewsTicker at http://www.playwitharena.com/ ) I have however
no idea if this can also be done under the Mac-OS.
Best wishes
Kurt
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Arena-GUI for Macintosh?!
I'm not sure I understand what is being asked, but I can say that Arena 2.01 runs quite well on my MacBook (OS X 10.5.6) using wine.
And Crafty compiles easily and runs just fine under xboard, which also works quite well.
And Crafty compiles easily and runs just fine under xboard, which also works quite well.
-
- Posts: 169
- Joined: Sun May 11, 2008 10:31 pm
- Location: Switzerland
Re: Arena-GUI for Macintosh?!
Many thanks for this clarification. This means that Arena runs fine underzullil wrote:I'm not sure I understand what is being asked, but I can say
that Arena 2.01 runs quite well on my MacBook (OS X 10.5.6) using
wine.
And Crafty compiles easily and runs just fine under xboard, which also
works quite well.
Linux and Mac OS with wine. But a further question: in that case all
UCI-engines also run in the Arena-GUI under Mac OS?
Kurt
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Arena-GUI for Macintosh?!
Well, I can't test all of them.
But all those I have tried seem to work correctly. Meaning that I have lost games to GreKo, SOS and Clarabit, at least.
Wine is very helpful. So many engines are releases only as Windows .exe files, and Wine and Arena allow me to try them. Anything released as source typically compiles easily on a Mac.
Louis
But all those I have tried seem to work correctly. Meaning that I have lost games to GreKo, SOS and Clarabit, at least.
Wine is very helpful. So many engines are releases only as Windows .exe files, and Wine and Arena allow me to try them. Anything released as source typically compiles easily on a Mac.
Louis
Re: Arena-GUI for Macintosh?!
GreKo will run natively on a Mac.
you just have to change the
#include <malloc.h>
to
#include <malloc/malloc.h>
in search.c and utils.c
and replace win32.c with unix.c in the Makefile, and it compiles cleanly.
you just have to change the
#include <malloc.h>
to
#include <malloc/malloc.h>
in search.c and utils.c
and replace win32.c with unix.c in the Makefile, and it compiles cleanly.
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Arena-GUI for Macintosh?!
Yes, that's actually how I run it. But the GreKo package contains an .exe file, so I used it to test Arena.
I've always replaced <malloc.h> with <stdlib.h>, but as you say, GreKo compiles easily.
I've always replaced <malloc.h> with <stdlib.h>, but as you say, GreKo compiles easily.
-
- Posts: 267
- Joined: Fri Mar 17, 2006 8:01 am
- Location: Russia
- Full name: Vladimir Medvedev
Re: Arena-GUI for Macintosh?!
Could you please give an advice, what macro could help compiler to detect build on Mac? Knowing this macro I can just change Mac-dependent places in the source code with proper #ifdef's, to make porting even more easy.
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: Arena-GUI for Macintosh?!
Hi Vladimir,WinPooh wrote:Could you please give an advice, what macro could help compiler to detect build on Mac? Knowing this macro I can just change Mac-dependent places in the source code with proper #ifdef's, to make porting even more easy.
I modified search.cpp
Code: Select all
#include <assert.h>
#ifndef __APPLE__
#include <malloc.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <time.h>
Code: Select all
#include <assert.h>
#ifndef __APPLE__
#include <malloc.h>
#else
#include <stdlib.h>
#endif
and the code compiled cleanly using both g++ and icc on my MacBook. So using __APPLE__ seems to work.
The Makefile also needs to be modified to replace Win32 with unix.
Re: Arena-GUI for Macintosh?!
I think stdlib.h can be used instead of malloc.h on all/most current *nix platforms?