Jump to content
  • Advertisement
Sign in to follow this  
Palidor

Mac OS X - Ogg Vorbis Setup Difficulty

This topic is 3437 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Due to my recent problems creating a loading function for a simple .wav file, i've decided to take a more efficient route by implementing the ogg vorbis library in my solution. I'm working under the Mac OS. The following are the steps I have completed: 1) I visited www.vorbis.com, at which i then visited the downloads section, checked out the SVN information, and downloaded the ogg and vorbis directories. 2) I opened up the xcode proj's inside each folder's macosx folders, and compiled each which resulted in a released version of the framework. 3) I then placed these frameworks at /Library/Frameworks. 4) I then added these frameworks to my existing solution, and used #include <Ogg/ogg.h>, which i assumed would include the ogg.h header file. Unfortunately, this is not working. Did i miss a step somewhere in here? I've spent 3 hours on this alone, and I've been programming for a few years now lol It's things like this that make me feel stupid... Thanks in advance! - Sean

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Unfortunately, this is not working.
How is it not working? If you're getting an error message of some sort, perhaps you could post it.

Share this post


Link to post
Share on other sites
The error i'm getting is:

/Users/trptultima/Desktop/First Game/iPhone Base Project/Classes/Sound/CSoundManager.h:16:21: error: Ogg/ogg.h: No such file or directory


I am simply using

#include <Ogg/ogg.h>

I have no clue why it isn't working...

Share this post


Link to post
Share on other sites
I did this a long time ago and I remember I had a lot of problems getting ogg setup as well. IIRC, I ended up having to download ogg and vorbis from source and compile it myself. Then I had to set my xcode project to manually point to the appropriate headers.

I hope that helps :/

[Edited by - scarypajamas on July 21, 2009 7:08:37 PM]

Share this post


Link to post
Share on other sites
Wooooo! Thank you so much! I just did a search on manually setting up xcode to do that, and it's compiling perfectly now! You've made me a very happy person. Thanks!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!