mac osx support

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
cryingraven

mac osx support

Post by cryingraven »

when will this engine become available onthe mac platform?
schnarr
Posts: 5
Joined: Thu Jun 24, 2004 4:22 pm
Location: Minnesota
Contact:

now...ish

Post by schnarr »

it already is, sorta. I've got SDL and native ports of it, though fullscreen is currently broken(ish). I also think my kludge to work around the built in font is pretty ugly, but I haven't been motivated enough to fix it.

source is here: http://66.93.17.228/Irrlicht/irrlichtnx.tar.bz2

if you want OS X.2 compatable frameworks (meaning no swprintf support)

Embeddable (put in ~/Library/Frameworks, then copy the framework into your application using a copy files build phase)
http://66.93.17.228/Irrlicht/nxframework.tar.bz2
http://66.93.17.228/Irrlicht/nxSDLframework.tar.bz2

the Tech Demo compiled for X.2 is here (FPS stuff I think I had to comment out because it used swprintf):
http://66.93.17.228/Irrlicht/TechDemo.tar.bz2
http://66.93.17.228/Irrlicht/TechDemoSDL.tar.bz2


when you get the file, extract it with stuffit expander or the command
tar xvfj irrlichtnx.tar.bz2

The native version is a bit flaky because I need to rewrite a chunk of the cursor and event stuff. It also has some "unmaclike" stuff, like finding the media directory in ../../media (relative to where the .app is at). Honestly, I think the whole device driver should be rewritten in objective C and therefore get supported unified device code. I wrote the window code in AGL, but because that isn't a supported API, wrote the fullscreen code in Core Graphics. That makes the driver a bit more bloated than other OS drivers.

If you use my project builder project, keep in mind that the last three loaders won't have media because they were tests for other people and have media they probably don't want me to distribute. As soon as Tiger is released, I'm killing OS X.2 support and upgrading my mac. Irrlicht really has a lot of problems with X.2, even in its current incarnation, and I had to hack out portions of the example because of the wchar stuff - which is all included in X.3. A problem that exists in OS X.2 and may or may not exist in X.3 or later is the command line requiring examples (all non-GUI using ones) need an fflush(stdout) after printing the command line options (e.g. the driver to use).
Jedive
Posts: 146
Joined: Wed Apr 28, 2004 5:51 pm

Post by Jedive »

Awesome man. I would love to see Windows & Linux versions of IrrLicht on pair with the Windows one.
DrAnonymous
Posts: 34
Joined: Thu Aug 04, 2005 9:37 pm

Post by DrAnonymous »

Have you done any more work on the OSX version?

I'm certainly interested.

Cheers,
Dr. A>
Post Reply