[personal profile] fardell24

Digital and Interactive Games 2015, Week 5, Session 1
Sound Files – link to Irrklang site: http://www.ambiera.com/irrklang/

TestSetup

Insert basic code here:


#include
#include "irrKlang.h"
#pragma comment(lib, "irrKlang.lib")

using namespace irrklang;

int main() {
ISoundEngine* engine = createIrrKlangDevice();
if (!engine) {
std::cout << "Cannot start engine";
return 0;
}

engine->drop();

return 0;
}


.exe will look for irrklang.dll



“../media/getout.ogg”, true
, true – play in a loop.

irrklang setup – Visual Studio.

Properties
. Configuration Properties
. . C/C++
. . . General
. . . . Additional Include Directories
. . . . . Add include directory
. . Linker
. . . General
. . . . Additional Library directories
. . . . . Add lib\win32-visualstudio directory





Error: warning MSBB012: Targetpath() doesn't match the Linkers outputFile property value.
・ fixed.


June 2025

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 2nd, 2025 11:43 pm
Powered by Dreamwidth Studios