Well, I've "fixed" two problems so far with getting things built on OS X. If whoever did the OS X work is reading this, feel free to tell me where/how I've screwed up =) The first problem is that it couldn't find MacTypes.h in the path. MacTypes.h is simply a one line file that includes <CoreServices/CoreServices.h>, so I just replaced the MacTypes.h with that. In addition, sys_types.h was attempting to include <alloca.h>, which doesn't seem to exist. Is that only included with MetroWerks? I'm using PB/GCC. Brian Hook, President Pyrogon, Inc. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Spoke too soon. I have a feeling these are related to PB/GCC (is the OS X build assuming CodeWarrior?) Anyway, sys_types.h is doing a typedef on int16_t, etc. If you include MacTypes.h (or CoreServices.h), these are already defined for you (and incompatible with the existing definitions). I commented out this section and it now compiles. Brian <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 4:06 PM -0800 1/6/02, Brian Hook wrote:>The first problem is that it couldn't find MacTypes.h in the path. >MacTypes.h is simply a one line file that includes ><CoreServices/CoreServices.h>, so I just replaced the MacTypes.h with >that.Is CoreServices added to your project as a Framework (or as a subframework of a framework in your project)? If not, you probably want that.>In addition, sys_types.h was attempting to include <alloca.h>, which >doesn't seem to exist. Is that only included with MetroWerks? I'm >using PB/GCC.I think it might be a Metrowerks thing (though gcc definitely includes alloca() itself). It sounds like you might be trying to build the CFM for Mac OS 9 stuff rather than the Mach-O for Mac OS X stuff. I'm not sure how to build Ogg Vorbis for Mac OS X, I only did the initial port to CFM for Mac OS 9... I imagine it's more like traditional Unix. -- Chris -- Chris Hanson | Email: cmh@bDistributed.com bDistributed.com, Inc. | Phone: +1-847-372-3955 Making Business Distributed | Fax: +1-847-589-3738 http://bdistributed.com/ | Personal Email: cmh@mac.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.