Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


I need help compiling the OALWrapper
anonreclaimer Offline
Junior Member

Posts: 6
Threads: 3
Joined: Jul 2012
Reputation: 0
#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
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#2
RE: I need help compiling the OALWrapper

make sure you have an updated libvorbis too.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
07-08-2012, 10:13 PM
Website Find
anonreclaimer Offline
Junior Member

Posts: 6
Threads: 3
Joined: Jul 2012
Reputation: 0
#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
anonreclaimer Offline
Junior Member

Posts: 6
Threads: 3
Joined: Jul 2012
Reputation: 0
#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
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#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
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#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
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#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
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
09-21-2012, 03:20 AM
Website Find
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#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
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#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
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
09-23-2012, 09:59 PM
Website Find




Users browsing this thread: 1 Guest(s)