Problem: undefined reference to `import stub for irr...

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
Jevi

Problem: undefined reference to `import stub for irr...

Post by Jevi »

Hi all,

I try to compile the example http://irrlicht.sourceforge.net/tut001.html. I have Dev-Cpp 4.9.8.0 in Windows2000 in a Pentium 4.

I added the libs libIrrlicht.a, libjpeg.a, DevCpp/libz.a to parameters of Linker and added the include directory also.

This is the error message: [Linker error] undefined reference to `import stub for irr::createDevice(irr::video::EDriverType, irr::core::dimension2d<int> const &, unsigned int, bool, bool, irr::IEventReceiver *)'

Can you help me? :lol: Thank you.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

I know I have seen that error before, and I swear it was when I tried to compile with the 0.4.0 headers and link with the 0.4.1 lib by accident or was it because I didn't do a clean build and the pre-compiled parts were done in a different version.

Sorry, I can't remember more than that, but if I trip over it again I'll let you know. I would start with verifying versions and making sure to use the Dev CPP com lib and dll instead of the Visual Studio one.
Crud, how do I do this again?
JEvi

Post by JEvi »

Thanks saigumi,

I have Dev-cpp 4.9.8.0 and I downloaded Irrlicht SDK 0.4 from http://prdownloads.sourceforge.net/irrl ... p?download

In the computer of my house I have the same, but there the compilation of the program is ok. The unique difference is the machine. Here I have a Pentium 4 with W2000, and in my house I have a Pentium MMX with W98.

Have you any more idea?

Thanks and greetings.
Post Reply