does the demos testwm.c(and others) need semaphore??
when running it, this error will be generated.
it seem that semget is failed.
For expample:
Couldn’t initialize SDL: Couldn’t create semaphore
regards,
Andy
does the demos testwm.c(and others) need semaphore??
when running it, this error will be generated.
it seem that semget is failed.
For expample:
Couldn’t initialize SDL: Couldn’t create semaphore
regards,
Andy
does the demos testwm.c(and others) need semaphore??
when running it, this error will be generated.
it seem that semget is failed.
For expample:
Couldn’t initialize SDL: Couldn’t create semaphore
SDL has multi-threading support for most platforms. You can build it
with threading disabled, and that’s probably what you want for your
cross-compile environment.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
thanks a lot.
Now I have can run it.
yeah,I disable the pthreads when cross compiling sdl.
but I am not sure whether disable pthreads have any effect on running games
of SDL.
Regards,
Andy