After reading lots of Openal documents and searching the web i tough i had it down and went and write a little code to just play a normal .wav file.<br>But aparently my code has some bugs i dont see.At first i used Openal with the combination of Alure, so at first i added the OpenAL32.lib and EFX-Util.lib then i added all the includes.<br>
The next step i took is to write the code, the code is located here <a href="http://pastebin.com/m2400889c">http://pastebin.com/m2400889c</a><br><br><br><br>and the error i am getting is this :<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
1&gt;Main.obj : warning LNK4248: unresolved typeref token (01000019) for &#39;ALCcontext_struct&#39;; image may not run<br>1&gt;Main.obj : warning LNK4248: unresolved typeref token (0100001B) for &#39;ALCdevice_struct&#39;; image may not run<br>
1&gt;Main.obj : error LNK2028: unresolved token (0A000264) &quot;extern &quot;C&quot; char __cdecl alureShutdownDevice(void)&quot; (?alureShutdownDevice@@$$J0YADXZ) referenced in function &quot;int __cdecl main(void)&quot; (?main@@$$HYAHXZ)<br>
1&gt;Main.obj : error LNK2028: unresolved token (0A000285) &quot;extern &quot;C&quot; unsigned int __cdecl alureCreateBufferFromFile(char const *)&quot; (?alureCreateBufferFromFile@@$$J0YAIPBD@Z) referenced in function &quot;int __cdecl main(void)&quot; (?main@@$$HYAHXZ)<br>
1&gt;Main.obj : error LNK2019: unresolved external symbol &quot;extern &quot;C&quot; char __cdecl alureShutdownDevice(void)&quot; (?alureShutdownDevice@@$$J0YADXZ) referenced in function &quot;int __cdecl main(void)&quot; (?main@@$$HYAHXZ)<br>
1&gt;Main.obj : error LNK2019: unresolved external symbol &quot;extern &quot;C&quot; unsigned int __cdecl alureCreateBufferFromFile(char const *)&quot; (?alureCreateBufferFromFile@@$$J0YAIPBD@Z) referenced in function &quot;int __cdecl main(void)&quot; (?main@@$$HYAHXZ)<br>
1&gt;C:\Work\Engines\Complete_OpenAL(WIN_32)\Complete OpenAL(WIN 32)_sample\Debug\Complete OpenAL(WIN 32)_sample.exe : fatal error LNK1120: 4 unresolved externals</blockquote><div><br><br><br>I dont understand whats the problem because i made the device,the context and all the other openal basic requirements but i still get errors.<br>
Thanks in advance. <br></div>