Scorpio 2.4 & MacOsX

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

Scorpio 2.4 & MacOsX

Postby nepossiver » 12 Jan 2010, 04:57

hi,

I am trying to compile Scorpio 2.4 on a macbook pro with snow leopard and I get the following error:

g++ -Wall -pedantic -O3 -c attack.cpp
In file included from scorpio.h:730,
from attack.cpp:1:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/nmmintrin.h:35:3: error: #error "SSE4.2 instruction set not enabled"
make: *** [attack.o] Error 1

Scorpio 1.91 compiles fine, and 2.3 compiles after changing a couple of "static const enum" to just enum. My skills are google-based, and for this one google let me down.

thanks,
nepossiver
 
Posts: 31
Joined: 21 Sep 2008, 17:00

Re: Scorpio 2.4 & MacOsX

Postby nepossiver » 12 Jan 2010, 05:29

ok, I think I got it, adding -msse4 to the compiler flags.
nepossiver
 
Posts: 31
Joined: 21 Sep 2008, 17:00

Re: Scorpio 2.4 & MacOsX

Postby Volker Pittlik » 12 Jan 2010, 07:51

nepossiver wrote:ok, I think I got it, adding -msse4 to the compiler flags.


That does not help here for Linux. Still the nmmintrin.h is missing.


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

Re: Scorpio 2.4 & MacOsX

Postby Daniel Shawul » 12 Jan 2010, 18:30

Comment out #define HAS_POPCNT in scorpio.h.
It will default to the software implementaion of popcnt in that case.

regards
Daniel
User avatar
Daniel Shawul
 
Posts: 366
Joined: 28 Sep 2004, 09:33
Location: Ethiopia

Re: Scorpio 2.4 & MacOsX

Postby nepossiver » 13 Jan 2010, 17:18

Volker Pittlik wrote:
nepossiver wrote:ok, I think I got it, adding -msse4 to the compiler flags.


That does not help here for Linux. Still the nmmintrin.h is missing.


vp


humm, it compiled here on my Ubuntu 9.10, but then it crashed when it had to move - I guess because my cpu is old (Pentium M) and doesn't have SSE4 instructions. What version of gcc did you use? Commenting out #define HAS_POPCNT gives me a working exe, though. :D
nepossiver
 
Posts: 31
Joined: 21 Sep 2008, 17:00

Re: Scorpio 2.4 & MacOsX

Postby Volker Pittlik » 13 Jan 2010, 20:32

nepossiver wrote:
Volker Pittlik wrote:
nepossiver wrote:ok, I think I got it, adding -msse4 to the compiler flags.


That does not help here for Linux. Still the nmmintrin.h is missing.


vp


humm, it compiled here on my Ubuntu 9.10, but then it crashed when it had to move - I guess because my cpu is old (Pentium M) and doesn't have SSE4 instructions. What version of gcc did you use? Commenting out #define HAS_POPCNT gives me a working exe, though. :D


I use gcc 4.2.4. Unfortunately commenting HAS_POPCNT out only leads to other errors.
Unfortunately I don't have so much time for bug hunting these days.

vp
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: No registered users and 35 guests