Quick noob question

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.

Quick noob question

Postby Lollerskates » Mon Sep 07, 2009 3:24 am

I was reading a forum debate about whose method to implement head bobbing into the camera movement was better, and each gave examples of code that I'd like to try out. But I don't know how to go about recompiling the source code for Irrlicht after editing it, and google's not turning up much. Can somebody point me in the right direction or give me a quick explanation?
Lollerskates
 
Posts: 4
Joined: Thu Sep 03, 2009 7:12 am

Postby FuzzYspo0N » Mon Sep 07, 2009 7:32 am

why would you need to rebuild the source for the head bobbing? You can make the camera move (even the FPS camera) without rebuilding it. Ie : setPosition() and updateAbsolutePosition() kinda stuff.

To rebuild the engine, open the project file in a good ide (there are a few supported) and click build. Thats all it should take (unless you have no dirextXSDK and it wants one, etc).

Look in irrlichtCompileConfig.h
User avatar
FuzzYspo0N
 
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa

Postby Lollerskates » Mon Sep 07, 2009 6:28 pm

I opened the project "Irrlicht 9.0" in Visual C++, tried rebuilding it, and got a bunch of errors about some headers like:

"Cannot open include file: 'd3dx9shader.h': No such file or directory"

Is this the directx problem you were talking about?

Oh, and I don't seem to have a file called irrlichtCompileConfig.h, where can i find it?
Lollerskates
 
Posts: 4
Joined: Thu Sep 03, 2009 7:12 am

Postby Sylence » Mon Sep 07, 2009 6:34 pm

The file is called IrrCompileConfig.h and is located in the include folder.

The DirectX errors are because you don't have the DirectX SDK installed. You can download it from the Microsoft Website.

Or, like FuzzYspo0N said, you can edit the IrrCompileConfig.h to disable support for DirectX. Then you don't need the SDK.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
User avatar
Sylence
 
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany


Return to Beginners Help

Who is online

Users browsing this forum: CuteAlien and 1 guest