Page 1 of 2

IrrlichtMac released

Posted: Mon Feb 06, 2006 4:08 am
by MikeR
Check out the front page. :)

Anyone know what a ..DS Store file is?
Also, can someone using windows and dev-cpp compile apps for mac?

Posted: Mon Feb 06, 2006 7:37 am
by fretnoize
Cool, thanks Etienne Petitjean!
Don't know the answer to your question, gonna go play with this now and see.

Posted: Mon Feb 06, 2006 3:42 pm
by Joe_Oliveri
This should help out the community a bunch! Thank you Etienne Petitijean!

Posted: Tue Feb 07, 2006 11:27 am
by Guest
What a great piece of news. I knew it was coming but didn't expect it today!!

Thanks to the guy who ported it, well done!

irrlicht finally becomes truly x-platform and is now up there with the best! :)

Posted: Tue Feb 07, 2006 12:42 pm
by Guest
.ds store files tell macs what the folder preferences are, like how the files are aranged and stuff

Posted: Tue Feb 07, 2006 6:36 pm
by garrittg
does Mac use a libirrlicht.a file to link with? if so, do we need to build one from the Mac source or am i just missing it in the Mac distro? i dont see one in the normal lib directory.

thx.

Posted: Wed Feb 08, 2006 12:20 am
by MikeR
It looks like the dll will have to be rebuilt to get the lib file to link to.
-->This site explains what a ds_store file is<--
The file has nothing to do with using the files.

Posted: Wed Feb 08, 2006 12:44 am
by garrittg
thank you for the reply MikeR. the announcment said it was included and i was wondering why i couldnt find it :)

since my Mac is about 6 days away still, i was wondering if anyone would be willing to compile for me? it would be much appreciated. i know it doesnt make much sense for me to want the lib/dll before i get the actual Mac, but it would help out my goal if i could get it early :) it would cut out one task and i could potentially get it up and running for BlitzMax several days quicker.

thank you.

Posted: Wed Feb 08, 2006 12:55 am
by MikeR
There is a lib file included in the package, but I don't know if it's the one for mac or not. It's in the win32-gcc folder.

If you get it would you share? I don't own a mac. I'm making a game that I want to be cross platform. The mac dll and lib are all I have left to get.
Oh, the dll needs a different name than irrlicht.dll as well. Needs to be irrlichtMac.dll so that we all know the difference.
I may attempt to compile it with dev-cpp and see if I can get it to work for now.

Posted: Wed Feb 08, 2006 1:11 am
by garrittg
the libs in the distro are all from november so im thinking they are what the appear to be. if i get ahold of the Mac build i would be more than happy to host. from what i understand, i think the lib will be static like the linux version (ie all is included in the .a file). im not positive on that though. i will post here if i can get a build.

Posted: Wed Feb 08, 2006 11:02 am
by bitplane
hey guys, i'm too cheap to buy a mac.. so, does anyone know a way to emulate one legally or otherwise? preferably one of these new intel macs, so it goes at a reasonably fast speed.

Posted: Wed Feb 08, 2006 11:35 am
by hybrid
Dynamic libraries for MacOS X are named *.dylib, so there's no danger of a name clash. The static library should be an *.a file. But if only dynmiac linkage is needed there is no static library to link against, but only the dynamic one. Just like with other Unix like systems you link against the dynamic library.

Posted: Wed Feb 08, 2006 12:32 pm
by garrittg
thx for the info hybrid. much appreciated :) looks like the distro comes without the .dylib or the .a. in order to work with BlitzMax i will need a .a type file. so, if anyone is interested in giving it a whirl please do :) if not, i will see what i can get going when my Mac arrives.

@bitplane - since all im looking to do is compile, that was the first route i explored. there is a PPC Mac emulator called PearPC, but you will need an OS to install on it. i did get OSX running on PearPC but the performance is nowhere near workable for what i wanted. as for inexpensive, i know it will only run in software render mode since the vid card is less than 16MB, but all im looking to do is compile so i picked up a 400mhz G3 iMac with 192MB ram, 10GB HD, OSX, keyboard, mouse for $120US including shipping off ebay.

Posted: Wed Feb 08, 2006 2:31 pm
by hybrid
MikeR wrote:I don't own a mac. I'm making a game that I want to be cross platform. The mac dll and lib are all I have left to get.
Oh, the dll needs a different name than irrlicht.dll as well. Needs to be irrlichtMac.dll so that we all know the difference.
I may attempt to compile it with dev-cpp and see if I can get it to work for now.
:shock:
You don't want to crosscompile for MacOS from Windows, don't you :?:
If you want to deploy a game working under MacOS you'll have to compile your sources under MacOS as well as Irrlicht. And as soon as you can compile your program under MacOS you'll be able to built Irrlicht for Macs. Is there a thing of your post I did not get?!

Posted: Thu Feb 09, 2006 7:28 pm
by MikeR
What I want to do is to make one app that can be used on eather mac or windows. One app, 2 platforms. Isn't there a way to set the linker to check the op sys to decide which dll to use? (I think I read that somewhere.)
Something like:
#IFNDEF WIN_32
#DEFINE WIN_32
#pragma comment(lib, "Irrlicht.lib")
endif
else
#pragma comment(lib, Irrmac.lib)

or something like that, where the device chooses which lib to use.