Game Development Community

Building for MAC.

by Simon Golding · in iTorque 2D · 02/16/2009 (2:25 pm) · 6 replies

Hey,

Before I start looking into it more I thought I would ask.

Building TGB / TGBGame for the MAC does not work, complains about not being able to find 'OpenAL', the headers exist but the pathing is wrong in the project. Weird how GG delivered it broken, as everything builds fine for Win32.



Simon

#1
02/16/2009 (2:42 pm)
Please check the iTGB 1.1 feedback thread, postings of dec 23th

you will find the answer there.

its related to file links that do not copy over and that cause this prob.
#2
02/16/2009 (3:21 pm)
I'm having trouble finding the postings.

Could you forward on the resolution please.
#4
02/17/2009 (2:11 pm)
Quote:
@Marc

There are softlinks for the OpenAL and other APIs for Mac that don't make it through the checkin and zip process. You'll need to either re-connect the softlinks or move the folders themselves to the top of their perspective directories. That is, the links are there as files instead of symlinks.

e.g.
"lib/openal/macosx/OpenAL.framework" copy from
"lib/openal/macosx/OpenAL.framework/Versions/A"

Versions and A point to frameworks

I am an xcode and mac noob in general, I've blown a few hours trying to do this and would really appreciate some simplistic instructions as to WHERE to correct this :)
#5
02/17/2009 (2:56 pm)
The explanations are there but perhaps not 100% easy to follow so:

You just go through the related folders. Whereever the xxx.framework folder contains no files but /Versions/A subfolder you copy the content of that subfolder into the xxx.framework folder.

the frameworks for which you have to do this are mentioned there. (basically openal and the vorbis related ones)

you do this within the finder
#6
02/23/2009 (6:38 am)
Thanks Marc! I was looking in xcode itself. I found the incorrect folders in the lib/openal/macosx etc folders :)