[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.


May 2025

S M T W T F S
     1 23
45 6 78910
11 12 13 141516 17
1819 2021 22 23 24
2526 27 28293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 30th, 2025 12:19 pm
Powered by Dreamwidth Studios