Help please :/

My error is

D:\Pictures\Customtory(RPG)\main.cpp|20|undefined reference to `_imp___ZN8irrklang20createIrrKlangDeviceENS_21E_SOUND_OUTPUT_DRIVEREiPKcS2_'|

Did I setup irrklang wrong? What is wrong, how do I fix this?

Heres my code :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#include <windows.h>
#include <iostream>
#include <string>
#include <math.h>
#include "REDXWin.h"
#include <fstream>
#include <irrKlang.h>
std::string BeginCom;
std::string name;
float age;

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)
     engine->play2D("../../media/getout.ogg", true);
      return 0; // error starting up the engine

}



anyone?
I believe the irrlitch forum would be best to ask this problem.
Topic archived. No new replies allowed.