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>Main.obj : warning LNK4248: unresolved typeref token (01000019) for 'ALCcontext_struct'; image may not run<br>1>Main.obj : warning LNK4248: unresolved typeref token (0100001B) for 'ALCdevice_struct'; image may not run<br>
1>Main.obj : error LNK2028: unresolved token (0A000264) "extern "C" char __cdecl alureShutdownDevice(void)" (?alureShutdownDevice@@$$J0YADXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)<br>
1>Main.obj : error LNK2028: unresolved token (0A000285) "extern "C" unsigned int __cdecl alureCreateBufferFromFile(char const *)" (?alureCreateBufferFromFile@@$$J0YAIPBD@Z) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)<br>
1>Main.obj : error LNK2019: unresolved external symbol "extern "C" char __cdecl alureShutdownDevice(void)" (?alureShutdownDevice@@$$J0YADXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)<br>
1>Main.obj : error LNK2019: unresolved external symbol "extern "C" unsigned int __cdecl alureCreateBufferFromFile(char const *)" (?alureCreateBufferFromFile@@$$J0YAIPBD@Z) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)<br>
1>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>