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
Comiling the demos using Dev-C++ on a Windows-System
Just to be sure, did you follow the steps from the Dev-CPP tutorial?
http://irrlicht.sourceforge.net/tut001b.html
http://irrlicht.sourceforge.net/tut001b.html
Crud, how do I do this again?
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
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!
Good Luck,
Lomaxx
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!
Good Luck,
Lomaxx