[Vorbis-dev] Re: SIGTRAP in Xcode

zmorris at mac.com zmorris at mac.com
Mon Nov 19 15:12:51 PST 2007


On Nov 19, 2007, at 12:45 PM, zmorris at mac.com wrote:

> I downloaded and built the Ogg and Vorbis projects and added the  
> frameworks to my project.  It just SIGTRAPs before reaching main,  
> in dylib loading code.  I then built libvorbis.a, libvorbisenc.a,  
> libvorbisfile.a and added them to my project.  Still SIGTRAPs.  I  
> built a libogg.a target from scratch in the Ogg project, and added  
> libogg.a, still SIGTRAPs.
>
> So I have tried everything I know to do, and I can only come to the  
> conclusion that the current Ogg Vorbis downloads don't work on the  
> Mac.  Does anyone have a sample project for the Mac that runs?

Not sure if my first message made it, but I tracked it down.  The  
frameworks are corrupted somehow, not sure why.  If I add libogg.a  
and libvorbis.a to my project, and then include the headers from the  
framework manually, it works.  Just FYI I changed the architecture to  
ppc + x86 in libogg, that could possibly have something to do with  
it, but I don't have time to track it down.

I realized it had to be working because encoder_example was working  
from console, that's where I got the idea that the frameworks were  
corrupted.

--Zack


More information about the Vorbis-dev mailing list