Whenever I run ANY SDL executing binary, including the demo binaries
I get the error
SDL: Couldn’t create semaphore. This confuses me, as I don’t know what
a semaphore
is.
Can anyone help me out with this? It started happening since
I reinstalled Linux, and now
the game I was writing has come to a standstill.
Whenever I run ANY SDL executing binary, including the demo binaries
I get the error
SDL: Couldn’t create semaphore. This confuses me, as I don’t know what
a semaphore
is.
Can anyone help me out with this? It started happening since
I reinstalled Linux, and now
the game I was writing has come to a standstill.
Do you have IPC enabled in the kernel? What kernel version are you
running? If you build SDL yourself, and break in SDL_CreateMutex(),
what is the value of errno after the mutex creation function fails?
Whenever I run ANY SDL executing binary, including the demo binaries
I get the error
SDL: Couldn’t create semaphore. This confuses me, as I don’t know what
a semaphore is.
Can anyone help me out with this? It started happening since
I reinstalled Linux, and now
the game I was writing has come to a standstill.
Semaphores are a kind of mutex used in multithreaded applications, and
libraries ;), (usually “real-time” ones), and IPC. Did you download SDL
in binary form? It sounds to me like your reinstalled system is missing
the pthreads library which SDL is linked against. If you downloaded a
binary version of SDL you will definitely get threads related errors if
pthreads are not installed. Recheck your installation to make sure
pthreads is installed. In short try: