noob question
noob question
Im just starting i have a very basic programming knowledge that doesnt include c++ but ill learn eventually so bare with me, ive followed the first tut and tried to build it and it failed, i think the problem had to do with the include and dll directories which i cant seem to figure out because the tut only tells you how to do that with an older version of vc++ which i have the newest one so if someone can please explain how to do this it would be awsome
-
- Posts: 17
- Joined: Thu Aug 28, 2008 10:42 am
Re: noob question
Which one do you have Visual C++ 2008 by Microsoft?spiff88 wrote:older version of vc++ which i have the newest one so if
-
- Posts: 17
- Joined: Thu Aug 28, 2008 10:42 am
look here it says vc 6 but they are the samespiff88 wrote:im using 2008
look at "Setting up the IDE" the second bullet point down!
Read it carefully and the pics give a good clue.
http://irrlicht.sourceforge.net/tut001.html
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
And you expect us to simply guess what errors you're getting?
If you want meaningful help, provide enough details for us to diagnose the problem. It's your own time you're wasting.
If you want meaningful help, provide enough details for us to diagnose the problem. It's your own time you're wasting.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
I too am having a similar problem. I don't think this is an Irrlicht problem per se, but more of a problem pertaining to working with libraries. I just have no experience with it!
I am using Eclipse (with C++) on Linux and I have tried just about everything I can think of to get this library working. I have:
1) Put the irrlicht-1.4.1 folder in /usr/lib/ and run a 'make' in the source folder to create libirrlicht.a successfully.
2) Added the entire folder to my project (it took about 20 minutes on my comp to build the engine with about 1000 errors).
3) Added paths in Eclipse to the library while the irrlicht folder was on my desktop.
4) Put the libirrlicht.a file into /usr/lib/ and referenced irrlicht.h in /usr/include/ successfully.
5) More that I can't remember...
I am simply confused on how exactly to use a library to supplement my code.
In all of these tries I have gotten it to recognize irrlicht.h and the majority of the tutorial will come through error free. However, on the line
it gives me the error
Please help!
I am using Eclipse (with C++) on Linux and I have tried just about everything I can think of to get this library working. I have:
1) Put the irrlicht-1.4.1 folder in /usr/lib/ and run a 'make' in the source folder to create libirrlicht.a successfully.
2) Added the entire folder to my project (it took about 20 minutes on my comp to build the engine with about 1000 errors).
3) Added paths in Eclipse to the library while the irrlicht folder was on my desktop.
4) Put the libirrlicht.a file into /usr/lib/ and referenced irrlicht.h in /usr/include/ successfully.
5) More that I can't remember...
I am simply confused on how exactly to use a library to supplement my code.
In all of these tries I have gotten it to recognize irrlicht.h and the majority of the tutorial will come through error free. However, on the line
Code: Select all
IrrlichtDevice *device = createDevice(video::EDT_OPENGL, dimension2d<s32>(512, 384), 16, false, false, false, 0, IRRLICHT_SDK_VERSION);
Code: Select all
undefined reference to `irr::createDevice(irr::video::E_DRIVER_TYPE, irr::core::dimension2d<int> const&, unsigned int, bool, bool, bool, irr::IEventReceiver*, char const*)'