Linker error

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
gustav05
Posts: 10
Joined: Tue Mar 21, 2006 3:19 pm
Location: Germany

Linker error

Post by gustav05 »

Hello!

I get a simple error message when I compile this:

Code: Select all

#include <irrlicht.h>
#pragma comment(lib, "Irrlicht.lib")

using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;

int main()
{
  IrrlichtDevice *device;
  device = createDevice(EDT_SOFTWARE, dimension2d<s32>(512, 384), 16, false, false, false, 0);
}

The error message is:
[Linker error] undefined reference to `_imp__createDevice'
I work with DevC++ 4.9.9.2. I hope you can help me.

Thank you.
gustav05
Posts: 10
Joined: Tue Mar 21, 2006 3:19 pm
Location: Germany

Post by gustav05 »

I had solved the problem!
Guest

Post by Guest »

How??
guest937856

Post by guest937856 »

How??
guest9376

Post by guest9376 »

How?? :?:
Post Reply