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.
Post Reply
Lollerskates
Posts: 4
Joined: Thu Sep 03, 2009 7:12 am

Quick noob question

Post by Lollerskates »

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?
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

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
Lollerskates
Posts: 4
Joined: Thu Sep 03, 2009 7:12 am

Post by Lollerskates »

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?
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

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.
Post Reply