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


Compiling OALwrapper in VS2008
Vasator Offline
Junior Member

Posts: 10
Threads: 1
Joined: Nov 2010
Reputation: 0
#3
RE: Compiling OALwrapper in VS2008

(09-23-2012, 10:29 PM)Urkle Wrote:
(09-23-2012, 07:00 PM)Vasator Wrote: What i've done to try and fix:
OAL_OggSample.h - added a define for OV_CALLBACKS_DEFAULT
OAL_OggStream.h - added a define for OV_CALLBACKS_DEFAULT

this resolved the issue with the defines but created another issue:
.\sources\OAL_OggSample.cpp(62) : error C2143: syntax error : missing ';' before '{
so line 61 now looks like:
if((lOpenResult = ov_open_callbacks(fileHandle, &ovFileHandle, NULL, 0, OV_CALLBACKS_DEFAULT))<0);
now issue is this:
.\sources\OAL_OggSample.cpp(61) : error C2059: syntax error : ')'
.\sources\OAL_OggStream.cpp(154) : error C2059: syntax error : ')'
looks like i have an additional ")" but there are the correct amount.

cannot seem to get past this point.

Alex
OV_CALLBACKS_DEFAULT is defined in vorbisfile.h in newer libvorbis headers. If you are still getting undeclared identifier I'd be checking to ensure that you don't have another older vorbisfile.h somewhere that VC++ is using instead.

Okay, got it to compile! That's what it was somehow I must have downloaded two versions of libvorbis and extracted the wrong one. i had 1.1.0 and 1.3.3 downloaded. I don't even remember downloading 1.1.0 but there it was. replaced the vorbisfile.h file and edited the other files back to their original state.

I am going to write up a compile guide of my own as soon as I complete the process complete with screenshots for those of us like me who don't have that much experience with programming. I hope to learn a lot from this process as I learn better by doing than from a book but I do use books for reference.

Thanks for the assistance Urkle,

Alex
09-23-2012, 11:03 PM
Find


Messages In This Thread
Compiling OALwrapper in VS2008 - by Vasator - 09-23-2012, 07:00 PM
RE: Compiling OALwrapper in VS2008 - by Urkle - 09-23-2012, 10:29 PM
RE: Compiling OALwrapper in VS2008 - by Vasator - 09-23-2012, 11:03 PM



Users browsing this thread: 1 Guest(s)