Does SDL run on Mac OSX at all?
I vaugely recall someone was doing some work in that direction…
Ben.–
Ben Campbell
Programmer, Creature Labs
ben.campbell at creaturelabs.com
http://www.creaturelabs.com
Does SDL run on Mac OSX at all?
I vaugely recall someone was doing some work in that direction…
Ben.–
Ben Campbell
Programmer, Creature Labs
ben.campbell at creaturelabs.com
http://www.creaturelabs.com
Ben Campbell wrote:
Does SDL run on Mac OSX at all?
Yeah, I got a minimal port working last summer. Lots of functionality
is missing because of things that are not in Carbon yet, most notably
sound. You can get the sordid story (and how to build for OS X) by
looking at README.MacOSX in 1.1.6.
I’m hoping to revisit this in the near future, check out things are
working with the latest builds of OS X.
Stan
Stan Shebs wrote:
Yeah, I got a minimal port working last summer. Lots of functionality
is missing because of things that are not in Carbon yet, most notably
sound. You can get the sordid story (and how to build for OS X) by
looking at README.MacOSX in 1.1.6.I’m hoping to revisit this in the near future, check out things are
working with the latest builds of OS X.
Cool - I’ll give it a go!
Thanks,
Ben.–
Ben Campbell
Programmer, Creature Labs
ben.campbell at creaturelabs.com
http://www.creaturelabs.com
Does SDL run on Mac OSX at all?
SDL works in the Carbon environment in MacOSX. I wrote the sound code for
Carbon compliance a while ago, and it works great in GLTron. (you can check
out a Carbonized version here: http:/icdweb.cc.purdue.edu/
I have built the library and examples in ProjectBuilder. So it seems that
things are running for both CFM and Mach Carbon programs. One thing though,
sound seems to be broken in Mach programs, but works fine in CFM programs.
The other things besides sound are still broken/unsupported
As far as an OSX native port:
-I have prototyped a new video driver that uses CoreGraphics Direct-Displays
API. It has just about all the calls we need, except for events.
-The CoreAudio library seems to be easy to write a SDL driver with.
-Threads can be implemented with existing pthreads code with no work at all.
-Events might be tricky, requiring us to write some objective-c Cooca code.
-Joysticks will need to be implemented with the HID library. I don’t know
how difficult this will be.
Anyway, it looks like all the tools are in place to write a nice clean port
to OS X.
-Darrell
I’ve just tried configure/make under OSX with the SDL-1.1.6 snapshot:
Making all in src
Making all in main
make[2]: *** No rule to make target SDL_main.c', needed by
SDL_main.o’. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
This is with the OSX public beta and the developer tools package
downloaded from Apple.
I don’t really know enough about autoconf to even know where to begin
looking
Does anyone have any hints?
Darrell Walisser wrote:
Does SDL run on Mac OSX at all?
SDL works in the Carbon environment in MacOSX. I wrote the sound code for
Carbon compliance a while ago, and it works great in GLTron. (you can check
out a Carbonized version here: http:/icdweb.cc.purdue.edu/I have built the library and examples in ProjectBuilder. So it seems that
things are running for both CFM and Mach Carbon programs. One thing though,
sound seems to be broken in Mach programs, but works fine in CFM programs.
Hmm… is there a ProjectBuilder project file (or whatever equivalent it
uses) kicking around?
The other things besides sound are still broken/unsupported
As far as an OSX native port:
-I have prototyped a new video driver that uses CoreGraphics Direct-Displays
API. It has just about all the calls we need, except for events.-The CoreAudio library seems to be easy to write a SDL driver with.
-Threads can be implemented with existing pthreads code with no work at all.
-Events might be tricky, requiring us to write some objective-c Cooca code.
-Joysticks will need to be implemented with the HID library. I don’t know
how difficult this will be.Anyway, it looks like all the tools are in place to write a nice clean port
to OS X.
I’d prefer a native OSX port - I’m not planning on supporting pre OSX
Macs - so I’d probably be keen to have a go at some SDL hacking in this
area (albeit with limited time to work on it)…
Sheesh. I’m a newbie all over again
Ben.–
Ben Campbell
Programmer, Creature Labs
ben.campbell at creaturelabs.com
http://www.creaturelabs.com
I’ve just tried configure/make under OSX with the SDL-1.1.6 snapshot:
Making all in src
Making all in main
make[2]: *** No rule to make targetSDL_main.c', needed by
SDL_main.o’. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Try using my ProjectBuilder projects:
http://icdweb.cc.purdue.edu/~walisser/sdl/devel/PBprojects.sit.hqx
I’d prefer a native OSX port - I’m not planning on supporting pre OSX
Macs - so I’d probably be keen to have a go at some SDL hacking in this
area (albeit with limited time to work on it)…
I’ll be working on this too. I’m anxious to get all my ports running on the
new OS
Sheesh. I’m a newbie all over again
That’s how I felt when I tried to write a Cocoa program for the first time
;-)> From: Ben Campbell <ben.campbell at creaturelabs.com>
I’ve just tried configure/make under OSX with the SDL-1.1.6 snapshot:
Making all in src
Making all in main
make[2]: *** No rule to make targetSDL_main.c', needed by
SDL_main.o’. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
This is fixed with the latest CVS snapshot. However, Darrell’s PB
projects may work better, I haven’t tried them yet.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Hi,
Darrell Walisser wrote;
Try using my ProjectBuilder projects:
http://icdweb.cc.purdue.edu/~walisser/sdl/devel/PBprojects.sit.hqx
I’ve tried this file — but failed.
( I’ll post what the error was … I don’t remember now .)
I’m going to give it another try… but is there any know issue, or any
news
for SDL on MacOS X ( aside from README )?
Thanks in advance.
Masahiro Minami-----------------------------
MacOS 9.0.4
MacOS X Public Beta
LinuxPPC
@Masahiro_Minami
(except at www2.age.ne.jp)
Hi,
Trying to buidl SDL on MacOS X with Darrell’s project file,
ProjectBuilder gives an error, in SDL_thread.c.h;
…
/* This is the system-independent thread info structure */
struct SDL_Thread {
Uint32 threadid;
SYS_ThreadHandle handle;
int status;
SDL_error errbuf;
void *data;
};
…
where SYS_ThreadHandle is undefined.
What should I do with this ?
Thanks in advance.
Masahiro Minami<@Masahiro_Minami>
I’m going to give it another try… but is there any know issue, or any
news
for SDL on MacOS X ( aside from README )?
Try the UNIX method of configuration and installation.
From a terminal window in the SDL toplevel directory:
./configure; make; make install
cd test; ./configure; make
Make sure you’re using the latest CVS snapshot as it fixes a bunch of
issues with MacOS X: http://www.libsdl.org/
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Hi,
Try the UNIX method of configuration and installation.
Thanks, I could build the library !
Masahiro Minami-----------------------------
MacOS 9.0.4
MacOS X Public Beta
LinuxPPC
@Masahiro_Minami
(except at www2.age.ne.jp)
In some, not all SDL programs(ie. programs that use the SDL lib 1.2.0), I
get the following error when executing the programs:
kCGSErrorNoneAvailable : CGSOrderFrontConditionally: Process not found
kCGSErrorNoneAvailable : CGSOrderFrontConditionally: Process not found
Has anyone else come across these errors? Any ideas on what might be
causing them or how to fix them? Thanks much.
–Matthew Kaufman
“masahiro minami” wrote in message
news:B676BF8C-11DF7 at 192.168.1.5…> Hi,
Try the UNIX method of configuration and installation.
Thanks, I could build the library !
Masahiro Minami
MacOS 9.0.4
MacOS X Public Beta
LinuxPPCelsur at aaa.letter.co.jp
(except at www2.age.ne.jp)