Comiling the demos using Dev-C++ on a Windows-System

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
Guest

Comiling the demos using Dev-C++ on a Windows-System

Post by Guest »

Hi,

Being the newbie that i am, i tried to compile the demos included in the Irrlicht-bundle on my WindowsNT-System using Dev-C++. This is what i did:

- double-clicked the "example.dev"-file, which starts up Dev-C++
- compiled the code and got the following errormesage: "
[Linker error] undefined reference to `import stub for irr::createDevice(irr::video::EDriverType, irr::core::dimension2d<int> const &, unsigned int, bool, bool, irr::IEventReceiver *)'
"

- tried to set up the linker-paths in the project-option, with no better results. Did this rather long, but mostly on a try-and-error-pattern.

Since the directories for include-files,libs etc. are already correctly set the way the examles come (as far as i can see), i don't really know what to do else. Any suggestions?.

Thanks in advance,

Lomaxx
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Just to be sure, did you follow the steps from the Dev-CPP tutorial?

http://irrlicht.sourceforge.net/tut001b.html
Crud, how do I do this again?
Lomaxx

Post by Lomaxx »

No, i didn't. I read it now and tried to do exactly what it says. But i am getting exactly the same error, which i got before. This is probably because the .dev-file in each example-folders already has the linker-related configurations done. Actually i can't think of anything else i am doing wrong, but that is probably exactly the problem. ;)

Lomaxx
Lomaxx

Post by Lomaxx »

oh i exactly wrote three times 'exactly' :D
Saalen
Posts: 51
Joined: Thu Sep 04, 2003 7:49 am
Location: Germany
Contact:

Post by Saalen »

:shock:
Lomaxx

Post by Lomaxx »

Ok, i finaly managed to solve the problem........somehow.

I really wish i could tell you the way i solved it in detail, in order to help others, but unfortunately i tried so many things so many times, that i'm not sure where to start.

All i can say is, that the last few things i did, was copying bin,lib and include-files to diffrent location in my Dev-Cpp-folder and changed the #include-paths to them. I don't understand why it didn't work before, but at least it does now.

Be aware, i guess i'll be back with another question soon! :twisted:

Good Luck,

Lomaxx
Post Reply