Getting started , Newb

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
slicknet
Posts: 1
Joined: Mon Feb 09, 2004 5:47 pm

Getting started , Newb

Post by slicknet »

I get the error 'cannot link Irrlicht.h' etc when i try and compile some of the samples. I realise that you have to link the compiler to this header manually through the compiler but i dont know how to do this and the tut in the source files doesnt explain it for VC++ 6 which is what i have. I tried #include <C:\unzipped\irrlicht-0.4\include\Irrlicht.h> which did link it but then returned 40 more errors becuase it couldnt access the Irrlicht.lib so obvioulsy i cant link it this way. Any help would be great. I am new to VC++ though i have used devc++ a lot.

Also what code would i need to add so that 'escape' exits you from the game ?

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

Post by saigumi »

In Visual C++ you need to specify your include and lib directories in the properties.

For VC++ 6.0, I believe it is in Project->Options->C++ Directories. Include locations for the Irrlicht Libraries in the lib set and the Include in the include set.

There is escape code in the TechDemo, look in the Event Handler for the ESC key catching and the game loop for how it stops.
Crud, how do I do this again?
Post Reply