<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Frictional Games Forum (read-only) - OALWrapper]]></title>
		<link>https://www.frictionalgames.com/forum/</link>
		<description><![CDATA[Frictional Games Forum (read-only) - https://www.frictionalgames.com/forum]]></description>
		<pubDate>Wed, 25 Nov 2026 07:17:07 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[OALWrapper goes sigsegv when trying to load boat_level/boat_horn1.ogg]]></title>
			<link>https://www.frictionalgames.com/forum/thread-56775.html</link>
			<pubDate>Fri, 22 May 2020 13:44:03 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-56775.html</guid>
			<description><![CDATA[Hello there.<br />
<br />
Yesterday I tried to compile Penumbra Overture on my machine (Arch Linux) and had to fight against some compiling errors. Eventually I managed to get it to compile and run (on either modern GCC and Clang), and maybe I'll make another post explaining in detail what my changes are so that they can be integrated.<br />
<br />
But coming to OALWrapper, so far I found three bugs with the current state of art:<br />
<br />
- the OALWrapper I recently compiled ended up getting segmentation faults with some of the libraries provided (libvorbis.so, libvorbisfile.so, libogg.so), so I LD_PRELOAD'd the ones in my system.<br />
- When queried what my audio card preference is, the HPL1 configuration manager returned a "NULL" as card name. Yes, a string "NULL" rather than a NULL value, causing OpenAL to reject all my sink devices (I have PulseAudio). Patched <img src="https://www.frictionalgames.com/forum/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
Now we come to the big deal: when entering the first level (the boat map) OALWrapper gets a segmentation fault when trying to open sounds/boat_level/boat_horn1.ogg . In particular, if I replace that file with *anything* (let it be a tone impulse generated with Audacity or anything else) it still crashes. It never crashes earlier, only exactly when it tries to load an OGG at that file.<br />
<br />
After some debugging it turns out the problem is not even in OpenAL or OALWrapper but in libogg. Basically the file header parsing causes a stack overflow, and I still have no clue why this happens.<br />
<br />
I tried playing around and compiled my versions of libogg and libvorbis to have libraries with debug symbols to work on and... they have the same issue, and I was not able to find out why.<br />
<br />
Ok I could just remove that file, but I don't want to break the "Penumbra" experience.<br />
<br />
I am attaching this dump (<a href="https://drive.google.com/open?id=1KNoJ07kkBH8UNZ5vAvuR4vTEiGZhYfts" target="_blank" rel="noopener" class="mycode_url">https://drive.google.com/open?id=1KNoJ07...TEiGZhYfts</a> , be wary of its size!), so that you can inspect it with gdb. It does only contain the debug symbols for the game, not libvorbis or libogg.]]></description>
			<content:encoded><![CDATA[Hello there.<br />
<br />
Yesterday I tried to compile Penumbra Overture on my machine (Arch Linux) and had to fight against some compiling errors. Eventually I managed to get it to compile and run (on either modern GCC and Clang), and maybe I'll make another post explaining in detail what my changes are so that they can be integrated.<br />
<br />
But coming to OALWrapper, so far I found three bugs with the current state of art:<br />
<br />
- the OALWrapper I recently compiled ended up getting segmentation faults with some of the libraries provided (libvorbis.so, libvorbisfile.so, libogg.so), so I LD_PRELOAD'd the ones in my system.<br />
- When queried what my audio card preference is, the HPL1 configuration manager returned a "NULL" as card name. Yes, a string "NULL" rather than a NULL value, causing OpenAL to reject all my sink devices (I have PulseAudio). Patched <img src="https://www.frictionalgames.com/forum/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
<br />
Now we come to the big deal: when entering the first level (the boat map) OALWrapper gets a segmentation fault when trying to open sounds/boat_level/boat_horn1.ogg . In particular, if I replace that file with *anything* (let it be a tone impulse generated with Audacity or anything else) it still crashes. It never crashes earlier, only exactly when it tries to load an OGG at that file.<br />
<br />
After some debugging it turns out the problem is not even in OpenAL or OALWrapper but in libogg. Basically the file header parsing causes a stack overflow, and I still have no clue why this happens.<br />
<br />
I tried playing around and compiled my versions of libogg and libvorbis to have libraries with debug symbols to work on and... they have the same issue, and I was not able to find out why.<br />
<br />
Ok I could just remove that file, but I don't want to break the "Penumbra" experience.<br />
<br />
I am attaching this dump (<a href="https://drive.google.com/open?id=1KNoJ07kkBH8UNZ5vAvuR4vTEiGZhYfts" target="_blank" rel="noopener" class="mycode_url">https://drive.google.com/open?id=1KNoJ07...TEiGZhYfts</a> , be wary of its size!), so that you can inspect it with gdb. It does only contain the debug symbols for the game, not libvorbis or libogg.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Frameworks not found compiling in Mountain Lion]]></title>
			<link>https://www.frictionalgames.com/forum/thread-24311.html</link>
			<pubDate>Tue, 07 Jan 2014 09:58:57 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-24311.html</guid>
			<description><![CDATA[Hello,<br />
<br />
It's my first time coding in Mac with XCode, and I'm having some silly problems, even compiling the OALWrapper. <br />
<br />
Main one is XCode 5 can't find the SDL framework, even when it's here (at /Library/Frameworks/SDL.framework). I've tried by manually deleting it and adding it again. But still getting the same 2 errors:<br />
<ul class="mycode_list">
</li>
<li>OAL_Effect.cpp: SDL_mutex.h file not found<br />
</li>
<li>OAL_EffectSlot.cpp: SDL_mutex.h file not found<br />
</li></ul>
<br />
The file is there. It appears in Framewors, SDL.frameworks, Headers, in the project navigator. The same happens if I first include another SDL related header (it can't be found). So, it's not a problem with SDL_mutex.h itself<br />
<br />
What am I doing wrong?<br />
<br />
Many thanks in advance<br />
<hr class="mycode_hr" />
Sorry, just realized this post should be in the OALWrapper forum. I added it here because I first had problems compiling the game itself. But I reduced the error to this library. Still have more errors to solve after this :-(]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
It's my first time coding in Mac with XCode, and I'm having some silly problems, even compiling the OALWrapper. <br />
<br />
Main one is XCode 5 can't find the SDL framework, even when it's here (at /Library/Frameworks/SDL.framework). I've tried by manually deleting it and adding it again. But still getting the same 2 errors:<br />
<ul class="mycode_list">
</li>
<li>OAL_Effect.cpp: SDL_mutex.h file not found<br />
</li>
<li>OAL_EffectSlot.cpp: SDL_mutex.h file not found<br />
</li></ul>
<br />
The file is there. It appears in Framewors, SDL.frameworks, Headers, in the project navigator. The same happens if I first include another SDL related header (it can't be found). So, it's not a problem with SDL_mutex.h itself<br />
<br />
What am I doing wrong?<br />
<br />
Many thanks in advance<br />
<hr class="mycode_hr" />
Sorry, just realized this post should be in the OALWrapper forum. I added it here because I first had problems compiling the game itself. But I reduced the error to this library. Still have more errors to solve after this :-(]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Compiling OALwrapper in VS2008]]></title>
			<link>https://www.frictionalgames.com/forum/thread-18469.html</link>
			<pubDate>Sun, 23 Sep 2012 18:00:38 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-18469.html</guid>
			<description><![CDATA[Hello, I have been trying to compile OALWrapper for about two weeks now without much success.<br />
I've been going through the forums and trying out different fixes and trying to find a solution without success.<br />
<br />
<br />
<br />
<br />
Compiling Overture<br />
WindowsXP<br />
Visual Studio 2008<br />
<br />
Steps I took:<br />
<br />
Created Directory structure:<br />
c:\OvertureSource ..<br />
	Dependancies - unzipped from website<br />
	HPL1Engine - utilizing Github, copied files to this directory	<br />
	OALWrapper	- utilizing Github, copied files to this directory<br />
	Penumbra - utilizing Github, copied files to this directory<br />
	Redist - copied game files to this directory<br />
<br />
Opened the sln file and VS08 did not prompt me to convert<br />
changed to build from debug to release<br />
went into project properties:<br />
created the lib directory and set it to be the output directory<br />
configuration type is already set to "lib"<br />
set the additional include directories to:<br />
C:\OvertureSource\dependancies\include<br />
C:\OvertureSource\oalwrapper\include<br />
in Preprocessor definitions set "WIN32, WITH_ALUT" (without the quotes obviously)<br />
under librarian/general<br />
set the following:<br />
Additional Dependancies = alut.lib<br />
Additional Library Directories = c:\OvertureSource\dependancies\lib\win32<br />
Link Library Dependancies = Yes<br />
<br />
Test Build 1 saved under c:\OvertureSource\OALWrapper\Buildlog\Buildlog1.html<br />
errors:<br />
.\sources\OAL_OggStream.cpp(154) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
.\sources\OAL_OggSample.cpp(61) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
<br />
Found issue and possible solutions:<br />
<a href="http://www.frictionalgames.com/forum/thread-16842.html" target="_blank" rel="noopener" class="mycode_url">http://www.frictionalgames.com/forum/thread-16842.html</a><br />
<br />
downloading libvorbis and libogg<br />
c:\libvorbis<br />
c:\libogg<br />
copying the ogg and libvorbis directories from C:\libvorbis-1.1.0\include to C:\OvertureSource\dependancies\include<br />
<br />
Test Build 2 saved under c:\OvertureSource\OALWrapper\Buildlog\Buildlog2.html<br />
errors:<br />
.\sources\OAL_OggStream.cpp(154) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
.\sources\OAL_OggSample.cpp(61) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier <br />
<br />
What i've done to try and fix:<br />
OAL_OggSample.h - added a define for OV_CALLBACKS_DEFAULT<br />
OAL_OggStream.h - added a define for OV_CALLBACKS_DEFAULT<br />
<br />
this resolved the issue with the defines but created another issue:<br />
.\sources\OAL_OggSample.cpp(62) : error C2143: syntax error : missing ';' before '{<br />
so line 61 now looks like:<br />
if((lOpenResult = ov_open_callbacks(fileHandle, &amp;ovFileHandle, NULL, 0, OV_CALLBACKS_DEFAULT))&lt;0);<br />
now issue is this:<br />
.\sources\OAL_OggSample.cpp(61) : error C2059: syntax error : ')'<br />
.\sources\OAL_OggStream.cpp(154) : error C2059: syntax error : ')'<br />
looks like i have an additional ")" but there are the correct amount.<br />
<br />
cannot seem to get past this point.<br />
<br />
Alex]]></description>
			<content:encoded><![CDATA[Hello, I have been trying to compile OALWrapper for about two weeks now without much success.<br />
I've been going through the forums and trying out different fixes and trying to find a solution without success.<br />
<br />
<br />
<br />
<br />
Compiling Overture<br />
WindowsXP<br />
Visual Studio 2008<br />
<br />
Steps I took:<br />
<br />
Created Directory structure:<br />
c:\OvertureSource ..<br />
	Dependancies - unzipped from website<br />
	HPL1Engine - utilizing Github, copied files to this directory	<br />
	OALWrapper	- utilizing Github, copied files to this directory<br />
	Penumbra - utilizing Github, copied files to this directory<br />
	Redist - copied game files to this directory<br />
<br />
Opened the sln file and VS08 did not prompt me to convert<br />
changed to build from debug to release<br />
went into project properties:<br />
created the lib directory and set it to be the output directory<br />
configuration type is already set to "lib"<br />
set the additional include directories to:<br />
C:\OvertureSource\dependancies\include<br />
C:\OvertureSource\oalwrapper\include<br />
in Preprocessor definitions set "WIN32, WITH_ALUT" (without the quotes obviously)<br />
under librarian/general<br />
set the following:<br />
Additional Dependancies = alut.lib<br />
Additional Library Directories = c:\OvertureSource\dependancies\lib\win32<br />
Link Library Dependancies = Yes<br />
<br />
Test Build 1 saved under c:\OvertureSource\OALWrapper\Buildlog\Buildlog1.html<br />
errors:<br />
.\sources\OAL_OggStream.cpp(154) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
.\sources\OAL_OggSample.cpp(61) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
<br />
Found issue and possible solutions:<br />
<a href="http://www.frictionalgames.com/forum/thread-16842.html" target="_blank" rel="noopener" class="mycode_url">http://www.frictionalgames.com/forum/thread-16842.html</a><br />
<br />
downloading libvorbis and libogg<br />
c:\libvorbis<br />
c:\libogg<br />
copying the ogg and libvorbis directories from C:\libvorbis-1.1.0\include to C:\OvertureSource\dependancies\include<br />
<br />
Test Build 2 saved under c:\OvertureSource\OALWrapper\Buildlog\Buildlog2.html<br />
errors:<br />
.\sources\OAL_OggStream.cpp(154) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
.\sources\OAL_OggSample.cpp(61) : error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier <br />
<br />
What i've done to try and fix:<br />
OAL_OggSample.h - added a define for OV_CALLBACKS_DEFAULT<br />
OAL_OggStream.h - added a define for OV_CALLBACKS_DEFAULT<br />
<br />
this resolved the issue with the defines but created another issue:<br />
.\sources\OAL_OggSample.cpp(62) : error C2143: syntax error : missing ';' before '{<br />
so line 61 now looks like:<br />
if((lOpenResult = ov_open_callbacks(fileHandle, &amp;ovFileHandle, NULL, 0, OV_CALLBACKS_DEFAULT))&lt;0);<br />
now issue is this:<br />
.\sources\OAL_OggSample.cpp(61) : error C2059: syntax error : ')'<br />
.\sources\OAL_OggStream.cpp(154) : error C2059: syntax error : ')'<br />
looks like i have an additional ")" but there are the correct amount.<br />
<br />
cannot seem to get past this point.<br />
<br />
Alex]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[I need help compiling the OALWrapper]]></title>
			<link>https://www.frictionalgames.com/forum/thread-16842.html</link>
			<pubDate>Sun, 08 Jul 2012 19:41:24 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-16842.html</guid>
			<description><![CDATA[<div style="text-align: left;" class="mycode_align">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.<br />
So I try to compile OALwrapper this is what I got If anyone know how to fix it please tell me.<br />
<br />
<span style="color: #ffffff;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">build </span></span></div>
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>1&gt;sources&#92;OAL_OggSample.cpp(61): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
1&gt;&nbsp;&nbsp;OAL_OggStream.cpp<br />
<br />
1&gt;sources&#92;OAL_OggStream.cpp(154): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
<br />
1&gt;sources&#92;OAL_WAVSample.cpp(56): warning C4996: 'alutLoadWAVFile': was declared deprecated<br />
<br />
1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;Gogo12&#92;Desktop&#92;OvertureSource&#92;dependencies&#92;include&#92;AL/alut.h(113) : see declaration of 'alutLoadWAVFile'<br />
<br />
1&gt;sources&#92;OAL_WAVSample.cpp(73): warning C4996: 'alutUnloadWAV': was declared deprecated<br />
<br />
1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;Gogo12&#92;Desktop&#92;OvertureSource&#92;dependencies&#92;include&#92;AL/alut.h(116) : see declaration of 'alutUnloadWAV'<br />
<br />
1&gt;sources&#92;OAL_WAVSample.cpp(87): warning C4996: 'alutUnloadWAV': was declared deprecated<br />
<br />
1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;Gogo12&#92;Desktop&#92;OvertureSource&#92;dependencies&#92;include&#92;AL/alut.h(116) : see declaration of 'alutUnloadWAV'</code></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: left;" class="mycode_align">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.<br />
So I try to compile OALwrapper this is what I got If anyone know how to fix it please tell me.<br />
<br />
<span style="color: #ffffff;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">build </span></span></div>
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>1&gt;sources&#92;OAL_OggSample.cpp(61): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
1&gt;&nbsp;&nbsp;OAL_OggStream.cpp<br />
<br />
1&gt;sources&#92;OAL_OggStream.cpp(154): error C2065: 'OV_CALLBACKS_DEFAULT' : undeclared identifier<br />
<br />
1&gt;sources&#92;OAL_WAVSample.cpp(56): warning C4996: 'alutLoadWAVFile': was declared deprecated<br />
<br />
1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;Gogo12&#92;Desktop&#92;OvertureSource&#92;dependencies&#92;include&#92;AL/alut.h(113) : see declaration of 'alutLoadWAVFile'<br />
<br />
1&gt;sources&#92;OAL_WAVSample.cpp(73): warning C4996: 'alutUnloadWAV': was declared deprecated<br />
<br />
1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;Gogo12&#92;Desktop&#92;OvertureSource&#92;dependencies&#92;include&#92;AL/alut.h(116) : see declaration of 'alutUnloadWAV'<br />
<br />
1&gt;sources&#92;OAL_WAVSample.cpp(87): warning C4996: 'alutUnloadWAV': was declared deprecated<br />
<br />
1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;Gogo12&#92;Desktop&#92;OvertureSource&#92;dependencies&#92;include&#92;AL/alut.h(116) : see declaration of 'alutUnloadWAV'</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Declaration of swprintf for MinGW users.]]></title>
			<link>https://www.frictionalgames.com/forum/thread-15372.html</link>
			<pubDate>Fri, 11 May 2012 01:09:58 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-15372.html</guid>
			<description><![CDATA[In case anyone decides to use MinGW to compile HPL1/OALWrapper, you may have found that the version of swprintf provided with MinGW takes three arguments, omitting the size of the buffer. The four argument function exists in MinGW, but it is under a different name. To remedy this I created the following header:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifndef&nbsp;MINGW_FUNCTION_DECL_H<br />#define&nbsp;MINGW_FUNCTION_DECL_H<br /><br />#ifdef&nbsp;__MINGW32__<br />#include&nbsp;&lt;cstring&gt;<br />#include&nbsp;&lt;cstdarg&gt;<br />#include&nbsp;&lt;cwchar&gt;<br /><br /></span><span style="color: #0000BB">inline&nbsp;int&nbsp;swprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">buf</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">size_t&nbsp;length</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,&nbsp;...)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">va_list&nbsp;args</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">int&nbsp;i</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">va_start</span><span style="color: #007700">(</span><span style="color: #0000BB">args</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fmt</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">=</span><span style="color: #0000BB">_vsnwprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">buf</span><span style="color: #007700">,</span><span style="color: #0000BB">length</span><span style="color: #007700">,</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,</span><span style="color: #0000BB">args</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">va_end</span><span style="color: #007700">(</span><span style="color: #0000BB">args</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">;<br />};<br /><br /></span><span style="color: #0000BB">inline&nbsp;int&nbsp;vswprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">buf</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">size_t&nbsp;length</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">va_list&nbsp;args</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">_vsnwprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">buf</span><span style="color: #007700">,</span><span style="color: #0000BB">length</span><span style="color: #007700">,</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,</span><span style="color: #0000BB">args</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">#endif&nbsp;//__MINGW32__<br />#endif&nbsp;//MINGW_FUNCTION_DECL_H&nbsp;<br /></span></code></div></div></div>Then anywhere that the functions are used, I add the following to the header file:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifdef&nbsp;__MINGW32__<br />&nbsp;&nbsp;&nbsp;&nbsp;#include&nbsp;"../MinGW_function_declarations.hpp"&nbsp;//May&nbsp;be&nbsp;a&nbsp;different&nbsp;path&nbsp;depending&nbsp;on&nbsp;project.<br />#endif&nbsp;<br /></span></code></div></div></div><br />
Feel free to provide feedback or criticisms of my method. Hopefully this will be of use to anyone using MinGW.]]></description>
			<content:encoded><![CDATA[In case anyone decides to use MinGW to compile HPL1/OALWrapper, you may have found that the version of swprintf provided with MinGW takes three arguments, omitting the size of the buffer. The four argument function exists in MinGW, but it is under a different name. To remedy this I created the following header:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifndef&nbsp;MINGW_FUNCTION_DECL_H<br />#define&nbsp;MINGW_FUNCTION_DECL_H<br /><br />#ifdef&nbsp;__MINGW32__<br />#include&nbsp;&lt;cstring&gt;<br />#include&nbsp;&lt;cstdarg&gt;<br />#include&nbsp;&lt;cwchar&gt;<br /><br /></span><span style="color: #0000BB">inline&nbsp;int&nbsp;swprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">buf</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">size_t&nbsp;length</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,&nbsp;...)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">va_list&nbsp;args</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">int&nbsp;i</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">va_start</span><span style="color: #007700">(</span><span style="color: #0000BB">args</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fmt</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">=</span><span style="color: #0000BB">_vsnwprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">buf</span><span style="color: #007700">,</span><span style="color: #0000BB">length</span><span style="color: #007700">,</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,</span><span style="color: #0000BB">args</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">va_end</span><span style="color: #007700">(</span><span style="color: #0000BB">args</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">;<br />};<br /><br /></span><span style="color: #0000BB">inline&nbsp;int&nbsp;vswprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">buf</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">size_t&nbsp;length</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">wchar_t&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">va_list&nbsp;args</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">_vsnwprintf</span><span style="color: #007700">(</span><span style="color: #0000BB">buf</span><span style="color: #007700">,</span><span style="color: #0000BB">length</span><span style="color: #007700">,</span><span style="color: #0000BB">fmt</span><span style="color: #007700">,</span><span style="color: #0000BB">args</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">#endif&nbsp;//__MINGW32__<br />#endif&nbsp;//MINGW_FUNCTION_DECL_H&nbsp;<br /></span></code></div></div></div>Then anywhere that the functions are used, I add the following to the header file:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifdef&nbsp;__MINGW32__<br />&nbsp;&nbsp;&nbsp;&nbsp;#include&nbsp;"../MinGW_function_declarations.hpp"&nbsp;//May&nbsp;be&nbsp;a&nbsp;different&nbsp;path&nbsp;depending&nbsp;on&nbsp;project.<br />#endif&nbsp;<br /></span></code></div></div></div><br />
Feel free to provide feedback or criticisms of my method. Hopefully this will be of use to anyone using MinGW.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Patch] Code update for new versions of ALUT]]></title>
			<link>https://www.frictionalgames.com/forum/thread-15350.html</link>
			<pubDate>Thu, 10 May 2012 03:25:35 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-15350.html</guid>
			<description><![CDATA[The following is the code that needs to be changed/added in order for the new version of ALUT to be used with OALWrapper. This is confirmed to work with ALUT 1.1.0.<br />
<br />
In OAL_WAVSample.cpp line 54:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#if&nbsp;defined(__APPLE__)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alutLoadWAVFile&nbsp;</span><span style="color: #007700">(&nbsp;(</span><span style="color: #0000BB">ALbyte</span><span style="color: #007700">*)&nbsp;</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">pPCMBuffer</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#else<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alutLoadWAVFile&nbsp;</span><span style="color: #007700">(&nbsp;(</span><span style="color: #0000BB">ALbyte</span><span style="color: #007700">*)&nbsp;</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">pPCMBuffer</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AL_FALSE</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div>Changes to:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#if&nbsp;defined(__APPLE__)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pPCMBuffer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">alutLoadMemoryFromFile</span><span style="color: #007700">(</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#else<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pPCMBuffer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">alutLoadMemoryFromFile</span><span style="color: #007700">(</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div><br />
In order for alutLoadMemoryFromFile to work in the new API, ALUT must be initialized first. Therefore some code must be added to OAL_Device.cpp.<br />
<br />
At the end of cOAL_Device::Init:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifdef&nbsp;WITH_ALUT<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">alutInitWithoutContext</span><span style="color: #007700">(</span><span style="color: #0000BB">NULL</span><span style="color: #007700">,</span><span style="color: #0000BB">NULL</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LogMsg</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,</span><span style="color: #0000BB">eOAL_LogVerbose_None</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">eOAL_LogMsg_Error</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Error&nbsp;initializing&nbsp;ALUT&#092;n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div>And just before the end in cOAL_Device::Close:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifdef&nbsp;WITH_ALUT<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LogMsg</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,</span><span style="color: #0000BB">eOAL_LogVerbose_Low</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">eOAL_LogMsg_Info</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Exiting&nbsp;ALUT...&#092;n"&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">alutExit</span><span style="color: #007700">())<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LogMsg</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,</span><span style="color: #0000BB">eOAL_LogVerbose_None</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">eOAL_LogMsg_Error</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Error&nbsp;exiting&nbsp;ALUT!&#092;n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div>]]></description>
			<content:encoded><![CDATA[The following is the code that needs to be changed/added in order for the new version of ALUT to be used with OALWrapper. This is confirmed to work with ALUT 1.1.0.<br />
<br />
In OAL_WAVSample.cpp line 54:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#if&nbsp;defined(__APPLE__)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alutLoadWAVFile&nbsp;</span><span style="color: #007700">(&nbsp;(</span><span style="color: #0000BB">ALbyte</span><span style="color: #007700">*)&nbsp;</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">pPCMBuffer</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#else<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">alutLoadWAVFile&nbsp;</span><span style="color: #007700">(&nbsp;(</span><span style="color: #0000BB">ALbyte</span><span style="color: #007700">*)&nbsp;</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">pPCMBuffer</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AL_FALSE</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div>Changes to:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#if&nbsp;defined(__APPLE__)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pPCMBuffer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">alutLoadMemoryFromFile</span><span style="color: #007700">(</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#else<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pPCMBuffer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">alutLoadMemoryFromFile</span><span style="color: #007700">(</span><span style="color: #0000BB">sFilename</span><span style="color: #007700">.</span><span style="color: #0000BB">c_str</span><span style="color: #007700">(),&nbsp;&amp;</span><span style="color: #0000BB">mFormat</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">lSize</span><span style="color: #007700">,&nbsp;&amp;</span><span style="color: #0000BB">mlFrequency</span><span style="color: #007700">);<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div><br />
In order for alutLoadMemoryFromFile to work in the new API, ALUT must be initialized first. Therefore some code must be added to OAL_Device.cpp.<br />
<br />
At the end of cOAL_Device::Init:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifdef&nbsp;WITH_ALUT<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">alutInitWithoutContext</span><span style="color: #007700">(</span><span style="color: #0000BB">NULL</span><span style="color: #007700">,</span><span style="color: #0000BB">NULL</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LogMsg</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,</span><span style="color: #0000BB">eOAL_LogVerbose_None</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">eOAL_LogMsg_Error</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Error&nbsp;initializing&nbsp;ALUT&#092;n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div>And just before the end in cOAL_Device::Close:<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #FF8000">#ifdef&nbsp;WITH_ALUT<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LogMsg</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,</span><span style="color: #0000BB">eOAL_LogVerbose_Low</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">eOAL_LogMsg_Info</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Exiting&nbsp;ALUT...&#092;n"&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">alutExit</span><span style="color: #007700">())<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LogMsg</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">,</span><span style="color: #0000BB">eOAL_LogVerbose_None</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">eOAL_LogMsg_Error</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Error&nbsp;exiting&nbsp;ALUT!&#092;n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /></span><span style="color: #FF8000">#endif&nbsp;<br /></span></code></div></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Build errors and build fail]]></title>
			<link>https://www.frictionalgames.com/forum/thread-13173.html</link>
			<pubDate>Wed, 08 Feb 2012 19:39:21 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-13173.html</guid>
			<description><![CDATA[When i try to build the OALWrapper for Penumbra Overture, i get errors and it wont build. My build log for OALWrapper is here:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Build started 8.2.2012 21:39:16.<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;Project "C:&#92;OvertureSource&#92;OALWrapper&#92;OALWrapper.vcxproj" on node 2 (build target(s)).<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;C:&#92;Program Files (x86)&#92;MSBuild&#92;Microsoft.Cpp&#92;v4.0&#92;Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash.&nbsp;&nbsp;This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;InitializeBuildStatus:<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;Creating "Release&#92;OALWrapper.unsuccessfulbuild" because "AlwaysCreate" was specified.<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;ClCompile:<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;bin&#92;CL.exe /c /I..&#92;OALWrapper&#92;include /I..&#92;dependencies&#92;include /Zi /nologo /W3 /WX- /O2 /Oi /Oy- /GL /D _MBCS /D WIN32 /D _MBCS /D _AFXDLL /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Release&#92;&#92;" /Fd"Release&#92;vc100.pdb" /Gd /TP /analyze- /errorReport:prompt sources&#92;OAL_AudioData.cpp sources&#92;OAL_Buffer.cpp sources&#92;OAL_Device.cpp sources&#92;OAL_Effect.cpp sources&#92;OAL_Effect_Reverb.cpp sources&#92;OAL_EffectSlot.cpp sources&#92;OAL_EFX.cpp sources&#92;OAL_EFXManager.cpp sources&#92;OAL_Filter.cpp sources&#92;OAL_Helper.cpp sources&#92;OAL_Init.cpp sources&#92;OAL_Loaders.cpp sources&#92;OAL_LoggerObject.cpp sources&#92;OAL_OggHelper.cpp sources&#92;OAL_OggSample.cpp sources&#92;OAL_OggStream.cpp sources&#92;OAL_Playback.cpp sources&#92;OAL_Sample.cpp sources&#92;OAL_Source.cpp sources&#92;OAL_SourceManager.cpp sources&#92;OAL_Stream.cpp sources&#92;OAL_Types.cpp sources&#92;OAL_WAVSample.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_AudioData.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Buffer.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Device.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Effect.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Effect_Reverb.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_EffectSlot.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_EFX.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_EFXManager.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Filter.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Helper.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(53): warning C4996: 'wcstombs': This function or variable may be unsafe. Consider using wcstombs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(533) : see declaration of 'wcstombs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(55): warning C4996: 'wcstombs': This function or variable may be unsafe. Consider using wcstombs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(533) : see declaration of 'wcstombs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(62): warning C4996: 'mbstowcs': This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(498) : see declaration of 'mbstowcs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(64): warning C4996: 'mbstowcs': This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(498) : see declaration of 'mbstowcs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(76): warning C4996: '_wfopen': This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(601) : see declaration of '_wfopen'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(88): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(234) : see declaration of 'fopen'<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Init.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Init.cpp(237): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(371) : see declaration of 'vsprintf'<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Loaders.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_LoggerObject.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_LoggerObject.cpp(54): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(371) : see declaration of 'vsprintf'<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_OggHelper.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_OggSample.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_OggStream.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Playback.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Sample.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Source.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Source.cpp(677): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_SourceManager.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;Compiling...<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Stream.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Types.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_WAVSample.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(56): error C3861: 'alutLoadWAVFile': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(58): error C3861: 'alutGetError': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(61): error C2065: 'ALUT_ERROR_NO_ERROR' : undeclared identifier<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(61): error C2051: case expression not constant<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(66): warning C4065: switch statement contains 'default' but no 'case' labels<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(73): error C3861: 'alutUnloadWAV': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(74): error C3861: 'alutGetError': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(87): error C3861: 'alutUnloadWAV': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(88): error C3861: 'alutGetError': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;Done Building Project "C:&#92;OvertureSource&#92;OALWrapper&#92;OALWrapper.vcxproj" (build target(s)) -- FAILED.<br />
<br />
Build FAILED.<br />
<br />
Time Elapsed 00:00:05.97<br />
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</code></div></div>]]></description>
			<content:encoded><![CDATA[When i try to build the OALWrapper for Penumbra Overture, i get errors and it wont build. My build log for OALWrapper is here:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Build started 8.2.2012 21:39:16.<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;Project "C:&#92;OvertureSource&#92;OALWrapper&#92;OALWrapper.vcxproj" on node 2 (build target(s)).<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;C:&#92;Program Files (x86)&#92;MSBuild&#92;Microsoft.Cpp&#92;v4.0&#92;Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash.&nbsp;&nbsp;This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;InitializeBuildStatus:<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;Creating "Release&#92;OALWrapper.unsuccessfulbuild" because "AlwaysCreate" was specified.<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;ClCompile:<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;bin&#92;CL.exe /c /I..&#92;OALWrapper&#92;include /I..&#92;dependencies&#92;include /Zi /nologo /W3 /WX- /O2 /Oi /Oy- /GL /D _MBCS /D WIN32 /D _MBCS /D _AFXDLL /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Release&#92;&#92;" /Fd"Release&#92;vc100.pdb" /Gd /TP /analyze- /errorReport:prompt sources&#92;OAL_AudioData.cpp sources&#92;OAL_Buffer.cpp sources&#92;OAL_Device.cpp sources&#92;OAL_Effect.cpp sources&#92;OAL_Effect_Reverb.cpp sources&#92;OAL_EffectSlot.cpp sources&#92;OAL_EFX.cpp sources&#92;OAL_EFXManager.cpp sources&#92;OAL_Filter.cpp sources&#92;OAL_Helper.cpp sources&#92;OAL_Init.cpp sources&#92;OAL_Loaders.cpp sources&#92;OAL_LoggerObject.cpp sources&#92;OAL_OggHelper.cpp sources&#92;OAL_OggSample.cpp sources&#92;OAL_OggStream.cpp sources&#92;OAL_Playback.cpp sources&#92;OAL_Sample.cpp sources&#92;OAL_Source.cpp sources&#92;OAL_SourceManager.cpp sources&#92;OAL_Stream.cpp sources&#92;OAL_Types.cpp sources&#92;OAL_WAVSample.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_AudioData.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Buffer.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Device.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Effect.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Effect_Reverb.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_EffectSlot.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_EFX.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_EFXManager.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Filter.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Helper.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(53): warning C4996: 'wcstombs': This function or variable may be unsafe. Consider using wcstombs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(533) : see declaration of 'wcstombs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(55): warning C4996: 'wcstombs': This function or variable may be unsafe. Consider using wcstombs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(533) : see declaration of 'wcstombs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(62): warning C4996: 'mbstowcs': This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(498) : see declaration of 'mbstowcs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(64): warning C4996: 'mbstowcs': This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdlib.h(498) : see declaration of 'mbstowcs'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(76): warning C4996: '_wfopen': This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(601) : see declaration of '_wfopen'<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Helper.cpp(88): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(234) : see declaration of 'fopen'<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Init.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Init.cpp(237): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(371) : see declaration of 'vsprintf'<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Loaders.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_LoggerObject.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_LoggerObject.cpp(54): warning C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Program Files (x86)&#92;Microsoft Visual Studio 10.0&#92;VC&#92;include&#92;stdio.h(371) : see declaration of 'vsprintf'<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_OggHelper.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_OggSample.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_OggStream.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Playback.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Sample.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Source.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_Source.cpp(677): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_SourceManager.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;Compiling...<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Stream.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_Types.cpp<br />
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;OAL_WAVSample.cpp<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(56): error C3861: 'alutLoadWAVFile': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(58): error C3861: 'alutGetError': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(61): error C2065: 'ALUT_ERROR_NO_ERROR' : undeclared identifier<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(61): error C2051: case expression not constant<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(66): warning C4065: switch statement contains 'default' but no 'case' labels<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(73): error C3861: 'alutUnloadWAV': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(74): error C3861: 'alutGetError': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(87): error C3861: 'alutUnloadWAV': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;sources&#92;OAL_WAVSample.cpp(88): error C3861: 'alutGetError': identifier not found<br />
 &nbsp;&nbsp;&nbsp;&nbsp;1&gt;Done Building Project "C:&#92;OvertureSource&#92;OALWrapper&#92;OALWrapper.vcxproj" (build target(s)) -- FAILED.<br />
<br />
Build FAILED.<br />
<br />
Time Elapsed 00:00:05.97<br />
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Coding Style]]></title>
			<link>https://www.frictionalgames.com/forum/thread-3529.html</link>
			<pubDate>Fri, 25 Jun 2010 13:48:51 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-3529.html</guid>
			<description><![CDATA[I received a request for "Style Guidelines" for contributions to OALWrapper  on the #penumbra IRC channel on freenode.  <br />
<br />
Right now there isn't any official guidelines.  For right now just keep with the same style of the existing code, and make any suggestions of "clean" style guides.    There are some commonalities that go through the code.. ie.. prefixing argument parameters with "a", class member variables with "m" and using a second letter to denote data type.   <br />
<br />
But really, any contributions that are clean and follow similarly with the existing coding style are perfectly fine.  <br />
<br />
When I have some time I may put up more proper guidelines, especially if we have a lot of contributers.]]></description>
			<content:encoded><![CDATA[I received a request for "Style Guidelines" for contributions to OALWrapper  on the #penumbra IRC channel on freenode.  <br />
<br />
Right now there isn't any official guidelines.  For right now just keep with the same style of the existing code, and make any suggestions of "clean" style guides.    There are some commonalities that go through the code.. ie.. prefixing argument parameters with "a", class member variables with "m" and using a second letter to denote data type.   <br />
<br />
But really, any contributions that are clean and follow similarly with the existing coding style are perfectly fine.  <br />
<br />
When I have some time I may put up more proper guidelines, especially if we have a lot of contributers.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Visual Studio 2010]]></title>
			<link>https://www.frictionalgames.com/forum/thread-3379.html</link>
			<pubDate>Sun, 16 May 2010 11:53:21 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-3379.html</guid>
			<description><![CDATA[Hi guys,<br />
I currently have <span style="color: #FF1493;" class="mycode_color">Visual Studio 2010</span> and need help using/importing the OALWrapper in. If someone has a working 2010 build so I could look though the code and start tweeking that would be great.<br />
<br />
Cheers<br />
<br />
P.S. I'm also asking after the HPL1 engine build.]]></description>
			<content:encoded><![CDATA[Hi guys,<br />
I currently have <span style="color: #FF1493;" class="mycode_color">Visual Studio 2010</span> and need help using/importing the OALWrapper in. If someone has a working 2010 build so I could look though the code and start tweeking that would be great.<br />
<br />
Cheers<br />
<br />
P.S. I'm also asking after the HPL1 engine build.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Visual C++ Express 2010]]></title>
			<link>https://www.frictionalgames.com/forum/thread-3370.html</link>
			<pubDate>Sat, 15 May 2010 21:14:11 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-3370.html</guid>
			<description><![CDATA[I`m trying to compile wrapper with VC++ 2010 express but I get this linker error:<br />
1&gt;  Generating Code...<br />
1&gt;LINK : fatal error LNK1561: entry point must be defined<br />
<br />
anyone got idea , I`m using visual studio solution from git<hr class="mycode_hr" />
Update :<br />
Release version works fine<br />
<blockquote class="mycode_quote"><cite><span> (05-15-2010, 10:14 PM)</span>draxd Wrote:  <a href="https://www.frictionalgames.com/forum/post-27889.html#pid27889" class="quick_jump"></a></cite>I`m trying to compile wrapper with VC++ 2010 express but I get this linker error:<br />
1&gt;  Generating Code...<br />
1&gt;LINK : fatal error LNK1561: entry point must be defined<br />
<br />
anyone got idea , I`m using visual studio solution from git</blockquote>]]></description>
			<content:encoded><![CDATA[I`m trying to compile wrapper with VC++ 2010 express but I get this linker error:<br />
1&gt;  Generating Code...<br />
1&gt;LINK : fatal error LNK1561: entry point must be defined<br />
<br />
anyone got idea , I`m using visual studio solution from git<hr class="mycode_hr" />
Update :<br />
Release version works fine<br />
<blockquote class="mycode_quote"><cite><span> (05-15-2010, 10:14 PM)</span>draxd Wrote:  <a href="https://www.frictionalgames.com/forum/post-27889.html#pid27889" class="quick_jump"></a></cite>I`m trying to compile wrapper with VC++ 2010 express but I get this linker error:<br />
1&gt;  Generating Code...<br />
1&gt;LINK : fatal error LNK1561: entry point must be defined<br />
<br />
anyone got idea , I`m using visual studio solution from git</blockquote>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Anyone made a VS solution for OALWrapper yet?]]></title>
			<link>https://www.frictionalgames.com/forum/thread-3359.html</link>
			<pubDate>Fri, 14 May 2010 17:27:53 +0000</pubDate>
			<guid isPermaLink="false">https://www.frictionalgames.com/forum/thread-3359.html</guid>
			<description><![CDATA[Anyone made a VS solution for OALWrapper yet?<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Edit:</span> nvm, I made one myself.]]></description>
			<content:encoded><![CDATA[Anyone made a VS solution for OALWrapper yet?<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Edit:</span> nvm, I made one myself.]]></content:encoded>
		</item>
	</channel>
</rss>