Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
I need help compiling the OALWrapper
Author Message
anonreclaimer Offline
Junior Member

Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #1
I need help compiling the OALWrapper
Hello there I was wondering if anyone can help me out.See I have this problem yesterday I was compile the hpl 1 engine I got everything from the github website I was to compile the hpl 1 enigne but it wouldn't compile becuase of the header in the AL folder in the dependencies so I found jack1 on Build errors and build fail so it looked like he had the same problem as me but Urkle told him You are compiling against an old and outdated openal headers in the OALWrapper/include/AL are updated versions of efx.h and alext.h either add OALWrapper/include to the include path, or (if you are using the hpl1 dependencies.zip) replace these two files (and remove the efx-creative.h, EFX-Util.h and xram.h files) so i did what he said and it work and I compile it.
So I try to compile OALwrapper this is what I got If anyone know how to fix it please tell me.

build

1>sources\OAL_OggSample.cpp(61): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
1>  OAL_OggStream.cpp

1>sources\OAL_OggStream.cpp(154): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier

1>sources\OAL_WAVSample.cpp(56): warning C4996: 'alutLoadWAVFile': was declared deprecated

1>          C:\Users\Gogo12\Desktop\OvertureSource\dependencies\include\AL/alut.h(113) : see declaration of 'alutLoadWAVFile'

1>sources\OAL_WAVSample.cpp(73): warning C4996: 'alutUnloadWAV': was declared deprecated

1>          C:\Users\Gogo12\Desktop\OvertureSource\dependencies\include\AL/alut.h(116) : see declaration of 'alutUnloadWAV'

1>sources\OAL_WAVSample.cpp(87): warning C4996: 'alutUnloadWAV': was declared deprecated

1>          C:\Users\Gogo12\Desktop\OvertureSource\dependencies\include\AL/alut.h(116) : see declaration of 'alutUnloadWAV'
07-08-2012 08:41 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,104
Joined: Jul 2006
Reputation: 14
Post: #2
RE: I need help compiling the OALWrapper
make sure you have an updated libvorbis too.

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
07-08-2012 10:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
anonreclaimer Offline
Junior Member

Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #3
RE: I need help compiling the OALWrapper
(07-08-2012 10:13 PM)Urkle Wrote:  make sure you have an updated libvorbis too.
What do you mean I'm getting a error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier how can I solve this.
07-08-2012 10:19 PM
Find all posts by this user Quote this message in a reply
anonreclaimer Offline
Junior Member

Posts: 6
Joined: Jul 2012
Reputation: 0
Post: #4
RE: I need help compiling the OALWrapper
(07-08-2012 10:13 PM)Urkle Wrote:  make sure you have an updated libvorbis too.
Hey I updated libvorbis and I was able to compile it.I just want to say sorry for doubting you and thank you for helping me.
07-08-2012 11:40 PM
Find all posts by this user Quote this message in a reply
Vasator Offline
Junior Member

Posts: 10
Joined: Nov 2010
Reputation: 0
Post: #5
RE: I need help compiling the OALWrapper
(07-08-2012 11:40 PM)anonreclaimer Wrote:  
(07-08-2012 10:13 PM)Urkle Wrote:  make sure you have an updated libvorbis too.
Hey I updated libvorbis and I was able to compile it.I just want to say sorry for doubting you and thank you for helping me.
How exactly do you update libvorbis?
09-11-2012 11:02 PM
Find all posts by this user Quote this message in a reply
Vasator Offline
Junior Member

Posts: 10
Joined: Nov 2010
Reputation: 0
Post: #6
RE: I need help compiling the OALWrapper
(09-11-2012 11:02 PM)Vasator Wrote:  
(07-08-2012 11:40 PM)anonreclaimer Wrote:  
(07-08-2012 10:13 PM)Urkle Wrote:  make sure you have an updated libvorbis too.
Hey I updated libvorbis and I was able to compile it.I just want to say sorry for doubting you and thank you for helping me.
How exactly do you update libvorbis?
okay i have compiled libogg and libvorbis but i still receive this error.
09-21-2012 12:04 AM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,104
Joined: Jul 2006
Reputation: 14
Post: #7
RE: I need help compiling the OALWrapper
The way the VC++ project is setup it looks for libogg and libvorbis in the dependencies folder along side the OALWrapper folder. So you need to download updated libraries from xiph.org and update the libs and headers in that folder so the project uses them.

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
09-21-2012 03:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Vasator Offline
Junior Member

Posts: 10
Joined: Nov 2010
Reputation: 0
Post: #8
RE: I need help compiling the OALWrapper
(09-21-2012 03:20 AM)Urkle Wrote:  The way the VC++ project is setup it looks for libogg and libvorbis in the dependencies folder along side the OALWrapper folder. So you need to download updated libraries from xiph.org and update the libs and headers in that folder so the project uses them.
Did that and the issue persists. Looking through all of the code I can not find this declared anywhere in the code. I wish I knew what I was missing. Might just delete everything i have and restart.
09-23-2012 03:40 AM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,104
Joined: Jul 2006
Reputation: 14
Post: #9
RE: I need help compiling the OALWrapper
The location of where it searches for the ogg and vorbis headers wouldn't be defined in the code, but in the project settings

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
09-23-2012 09:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 5 Guest(s)