 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Marek Site Admin

Joined: 11 Feb 2007 Posts: 515 Location: Ontario Canada  |
Posted: Sat Jul 24, 2010 7:31 am Post subject: OpenAL VMK 6 - Ogg Vorbis Setup |
 |
|
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/ |
|
| |
|
|
|
 |
 |
 |
 |
 |
skilz80

Joined: 16 Aug 2008 Posts: 58
 |
Posted: Sun Jul 25, 2010 10:27 pm Post subject: about libvorbis |
 |
|
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? |
|
| |
|
|
|
 |
 |
 |
 |
 |
Marek Site Admin

Joined: 11 Feb 2007 Posts: 515 Location: Ontario Canada  |
Posted: Mon Jul 26, 2010 5:23 am Post subject: |
 |
|
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. |
|
| |
|
|
|
 |
 |
 |
 |
 |
skilz80

Joined: 16 Aug 2008 Posts: 58
 |
Posted: Tue Jul 27, 2010 4:06 pm Post subject: LibVorbis static build |
 |
|
| 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 |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |