Build 0.75 on mac os x


#1

Are you supporting building on mac os x?

Building version 0.75 results in the following errors:

In file included from ./scidb-0.7.5.1557/src/common/include/RWLock.h:40,
from ./scidb-0.7.5.1557/src/common/include/JobQueue.h:41,
from ./scidb-0.7.5.1557/src/common/src/JobQueue.cpp:32:
./scidb-0.7.5.1557/src/common/include/Event.h: In member function ‘void common::Event::wait(common::Mutex&, common::Atomic*, bool)’:
./scidb-0.7.5.1557/src/common/include/Event.h:68: error: ‘CLOCK_REALTIME’ was not declared in this scope
./scidb-0.7.5.1557/src/common/include/Event.h:68: error: ‘clock_gettime’ was not declared in this scope

and

./scidb-0.7.5.1557/src/common/src/Semaphore.cpp: In member function ‘void common::Semaphore::enter(common::Atomic*, bool)’:
./scidb-0.7.5.1557/src/common/src/Semaphore.cpp:89: error: ‘sem_timedwait’ was not declared in this scope

Thanks,

Adrian Partl


#2

No. 0.75 was not ported on Mac OS X so without hacking some places with platform-depended code and CMake files it can’t be built. Upcoming version can be built and working on Macs. But note our target platform is Linux so Mac port is fully volunteer/spare time work and has much less attention.