How Do I Compile a T2D Mac Binary from a Windows PC?
by Bryan Edds · in Torque Game Builder · 03/09/2005 (10:59 pm) · 36 replies
Hey guys, sorry for the newb question, but I've just never looked into it before. I'm doubting it's even possible... I've heard of cross-compilers, but I'm not familiar with them either. Would I use GCC? Does that work with T2D?
Thanks for any help!
Thanks for any help!
#22
The problem, though, is that T2D does not compile in debug or release mode. :( I'm going to bang around some and try to figure out why. It's something to do with openal dependencies or some such, looks like.
There's a lot of info to dig through learning OS X, but overall I really like it!
Edit: Here's the error output, if anyone has any tips for me.
04/09/2005 (12:05 am)
Well, I'm happy to say that I bought a Mac Mini. It's great. I use a KVM switch to share monitor, keyboard, and mouse. And I have a router to share my cable modem. So far works without a hitch.The problem, though, is that T2D does not compile in debug or release mode. :( I'm going to bang around some and try to figure out why. It's something to do with openal dependencies or some such, looks like.
There's a lot of info to dig through learning OS X, but overall I really like it!
Edit: Here's the error output, if anyone has any tips for me.
Quote:ld: table of contents for archive: ../lib/vorbis/macosx/libogg.a is out of date; rerun ranlib(1) (can't load from it)
ld: table of contents for archive: ../lib/vorbis/macosx/libvorbis.a is out of date; rerun ranlib(1) (can't load from it)
ld: warning prebinding disabled because dependent library: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices can't be searched
#23
www.garagegames.com/mg/forums/result.thread.php?qt=28590 perhapse this might help
04/09/2005 (12:24 am)
There's something with openAL on Mac... something about running ranlib on it...www.garagegames.com/mg/forums/result.thread.php?qt=28590 perhapse this might help
#24
@Bryan: My apologies. I hijacked your thread and completely didn't mean to. I'll be more careful in the future.
04/09/2005 (12:36 am)
@Harold: Ah, thank you!!!@Bryan: My apologies. I hijacked your thread and completely didn't mean to. I'll be more careful in the future.
#25
04/09/2005 (1:20 am)
Huh? It don't bother me! Hijack away if it makes the thread even more useful :)
#26
04/09/2005 (1:32 am)
In short, Mac libraries are a bit more picky than standard Linux ones. They have their path encoded into the library, so they can be located upon load time. If you've moved the library around (which happens when you compile for the first time on a Mac, as your project directory is undoubtably different than GG's build environment) it is necessary to run ranlib.
#27
04/09/2005 (10:41 pm)
Oh man I am temped to buy a Mac now. I have not used one in a few years since the pre- OSX days. I had a flashback to 1993 when we had a bunch of Mac IIci's and si's working on Air Force projects like "Combat Edge" (high G crew systems). There was no other system that I could run 3 21 inch color monitors at the same time back in the day.
#28
A $150-200 iMac sounds nice for build creation, but I'd have to dedicate a desk or a large amount of desk space to it. And I don't want it cluttering the floor. The tininess and beauty of the Mac Mini makes the extra $300 worth it... maybe.
04/09/2005 (11:58 pm)
I'm very tempted to get the Mac Mini myself. I may get the 512MB RAM version though, so it can at least be used as a computer (as opposed to just a build-making machine) :).A $150-200 iMac sounds nice for build creation, but I'd have to dedicate a desk or a large amount of desk space to it. And I don't want it cluttering the floor. The tininess and beauty of the Mac Mini makes the extra $300 worth it... maybe.
#29
04/10/2005 (2:50 am)
Yeah, I think I'll end up getting a Mac Mini for cross platform development as well, well at least I'll start saving/planning for it :)
#30
04/10/2005 (6:12 am)
Is there anything in the PC world that's as tiny and around the same price? I'd really rather not get a PC, but it'd be nice to offer PC builds...
#31
04/10/2005 (6:51 am)
You can build them with specialized hardware. I haven't built one in ages though so not sure what it'd cost off the top of my head.
#32
Check out www.shuttle.com/ and www.cappuccinopc.com/
04/10/2005 (6:54 am)
@Chris: Oh yeah, there's the "bare bones" or "small form factor" systems out there, which usually aren't quite as small as the Mac Mini, but they're plenty small still.Check out www.shuttle.com/ and www.cappuccinopc.com/
#33
04/10/2005 (7:03 am)
Hey, thanks :) I honestly had no idea that there were PC's like this out there. They might be exactly what I need.
#34
BTW, I got the 512meg ram upgrade, has yet to chug and I run a lot of apps simultaneously. I had to buy a USB keyboard and mouse to use with both machines, so all told I spent around $800 for the Mac. But so far it's been well worth it and a pleasant experience.
Got T2D built and running.
04/10/2005 (8:15 am)
I am still shocked at the size and silence of the Mini. It even has a CD burner/DVD combo drive. :) The tiny Mac makes my PC look like a huge, clumsy ogre. It's also nice to use another OS to see different ideas about how an interface should work.BTW, I got the 512meg ram upgrade, has yet to chug and I run a lot of apps simultaneously. I had to buy a USB keyboard and mouse to use with both machines, so all told I spent around $800 for the Mac. But so far it's been well worth it and a pleasant experience.
Got T2D built and running.
#35
Same goes for Mac laptops.
04/10/2005 (2:18 pm)
@Chris or a laptop. Just connect external monitor, KB and rat to it.Same goes for Mac laptops.
#36
The only thing to watch is that the cheap ones don't often like passing high res/refresh rates, so if you run 1600x1200 @ 85Hz you might want to get a decent switch rather than whichever one happens to be cheapest.
04/10/2005 (3:14 pm)
If deskspace is an issue, go with a KVM switch and use your existing keyboard, monitor and mouse.The only thing to watch is that the cheap ones don't often like passing high res/refresh rates, so if you run 1600x1200 @ 85Hz you might want to get a decent switch rather than whichever one happens to be cheapest.
Torque Owner Corey Martin
Thanks for the advice! I agree about the Mac Mini being targeted at the 'mac curious'. It was a wise move on Apple's part, too.
ps:
EXCELLENT job with Cloudburst. I'm looking forward to your future work ;}