Return back to marek-knows.com Member Community
Game Development, 3D Modeling, Art, Sound Effects and more


OpenAL VMK 6 - Ogg Vorbis Setup

 
Post new topic   Reply to topic    Member Community Forum Index -> 3D Audio Engine (OpenAL)
View previous topic :: View next topic  
Marek
Site Admin


Joined: 11 Feb 2007
Posts: 515
Location: Ontario Canada

 PostPosted: Sat Jul 24, 2010 7:31 am    Post subject: OpenAL VMK 6 - Ogg Vorbis Setup Reply with quote Back to top

The audio engine will be able to load and playback ogg vorbis files when we are done with it. For us to use ogg vorbis we first need to download and install the necessary SDK files. That is what I do in this VMK.

http://www.vorbis.com/
 
View user's profile Send private message
skilz80



Joined: 16 Aug 2008
Posts: 58

 PostPosted: Sun Jul 25, 2010 10:27 pm    Post subject: about libvorbis Reply with quote Back to top

I followed everything you have done to the "T" twice and when I build the OGG static library it works fine. When I do the VORBIS static library. I get this message from VS:

2>c:\program files\ogg vorbis\libvorbis-1.3.1\include\vorbis\codec.h(26) : fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory

I set up the environment variables for both the OGG_SDK and VORBIS_SDK properly, and I set up the properties to use the environment variables. I am stumped on why VS is saying it can not find the file or path. The only difference that I am doing is that I am using the VS2008 version not the VS2005, but I don't think that should make a big difference. Any thoughts?
 
View user's profile Send private message
Marek
Site Admin


Joined: 11 Feb 2007
Posts: 515
Location: Ontario Canada

 PostPosted: Mon Jul 26, 2010 5:23 am    Post subject: Reply with quote Back to top

A few things to check:
* Check the spelling of the environment variable
* Check the path you set in the environment variable for spelling errors
* Close and reopen Visual Studio
* Set the configuration to Release
* Open project properties. Make sure you have the Release configuration selected
* Check 'Additional include directories' for spelling mistakes
* Check all projects in the solution by clicking through the project name when the project properties dialog is open.

Let me know what you discover.
 
View user's profile Send private message
skilz80



Joined: 16 Aug 2008
Posts: 58

 PostPosted: Tue Jul 27, 2010 4:06 pm    Post subject: LibVorbis static build Reply with quote Back to top

Ok I retried everything, I made sure there where no spelling errors. I got the same error with opening the files. I keep getting this when I use build entire sulotion from the build drop down menu. So, I tried this instead. I did a clean solution. Then I selected the libvorbis_static project and built that seperately, then I did the libvorbisfile project and built that serperately, and both built fine (Release Version). I am hoping this will suffice for the next few VMKs. I also checked the directory on my computer and looked inside the Win32/Release folder and found both .lib files
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Member Community Forum Index -> 3D Audio Engine (OpenAL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum