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


Compiling OALwrapper in VS2008
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#2
RE: Compiling OALwrapper in VS2008

(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.

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, 10:29 PM
Website 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)