The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Compiling OALwrapper in VS2008

Hello, I have been trying to compile OALWrapper for about two weeks now without much success.
I've been going through the forums and trying out different fixes and trying to find a solution without success.




Compiling Overture
WindowsXP
Visual Studio 2008

Steps I took:

Created Directory structure:
c:\OvertureSource ..
Dependancies - unzipped from website
HPL1Engine - utilizing Github, copied files to this directory
OALWrapper - utilizing Github, copied files to this directory
Penumbra - utilizing Github, copied files to this directory
Redist - copied game files to this directory

Opened the sln file and VS08 did not prompt me to convert
changed to build from debug to release
went into project properties:
created the lib directory and set it to be the output directory
configuration type is already set to "lib"
set the additional include directories to:
C:\OvertureSource\dependancies\include
C:\OvertureSource\oalwrapper\include
in Preprocessor definitions set "WIN32, WITH_ALUT" (without the quotes obviously)
under librarian/general
set the following:
Additional Dependancies = alut.lib
Additional Library Directories = c:\OvertureSource\dependancies\lib\win32
Link Library Dependancies = Yes

Test Build 1 saved under c:\OvertureSource\OALWrapper\Buildlog\Buildlog1.html
errors:
.\sources\OAL_OggStream.cpp(154) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
.\sources\OAL_OggSample.cpp(61) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier

Found issue and possible solutions:
http://www.frictionalgames.com/forum/thread-16842.html

downloading libvorbis and libogg
c:\libvorbis
c:\libogg
copying the ogg and libvorbis directories from C:\libvorbis-1.1.0\include to C:\OvertureSource\dependancies\include

Test Build 2 saved under c:\OvertureSource\OALWrapper\Buildlog\Buildlog2.html
errors:
.\sources\OAL_OggStream.cpp(154) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier
.\sources\OAL_OggSample.cpp(61) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier

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
09-23-2012, 07:00 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)