irrkland Question


D:\Pictures\CustomStory\main.cpp|26|error: 'createIrrkLangDevice' was not declared in this scope|

#include <irrklang.h>
#include <windows.h>

using namespace std;

using namespace irrklang;

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

int main(int argc, const char** argv)
// start the sound engine with default parameters
ISoundEngine* engine = createIrrkLangDevice();

if (!engine)
return 0; // error starting up the engine

engine->play2D("D:\\Libraries\\Documents\\Downloads\\Papa Roach - Hollywood Whore.mp3", true);

I would guess that createIrrkLangDevice() is a typo
Topic archived. No new replies allowed.