Problem compiling Irrlicht 0.4.2

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
Epsilon
Posts: 38
Joined: Fri Jan 09, 2004 1:46 pm
Location: Argentina

Problem compiling Irrlicht 0.4.2

Post by Epsilon »

Hi.

I just trying to compile Irrlicht to have my own compiled irrlicht and try to make that found with DirectX8+DevCpp.

In other Topics there are some bague instructions on how to do this, so following this instruction and some of my personal modifications, i am trying to get it work, but i have some little errors.

the step y follow are:

1) UnZip the Source of irrlicht.

2) Open with DevCpp the file called Irrlicht.dev

3) In Project Options select the tab folder or something like this (i have this in spanish).

4) There are 3 SubTabs. Here there are some configuration of the developer and it dont work for own PC, so we need change this.

In "Library folder", First remove the 2 entries clicking in "remove", and clic in "..." at right of the EditBox, find the source folder and on it there are 3 other folders, select jpeglib and press OK.

We will see the path in the EditBox, now press Add.
Repeat the step with the folder zlib.

5) Now in the SubTab "Include Folders", remove the solitary entry and repeat the last step with the folder "Include".

6) Now select the Tab "Parameters" and in "link" we will see an string, just add "-ld3d8 -ld3dx8d" in the end of it string.

7) Accept this changes.

8) Open the file IrrCompileConfig.h

9) comment the lines 23 to 25

10) Add after this :

#if defined(_WIN32)
#define _IRR_COMPILE_WITH_DIRECTX_8_
#endif

11) Open The file dxfile.h and in the end of it remove the symbol

12) Save all changes and try to compile.


I only have the next errors but i dont know what i have to do.

\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe D:\JuegosDevel\irr042\source\source\d
cannot find -ljpeg

D:\JuegosDevel\irr042\source\source\Makefile.win
[Build Error] [Irrlicht.dll] Error 1

If somebody can help me there will be appreciated.

Sorry for my english.

Thanks.
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

the IrrLicht engine uses some external libraries, such as LibJPEG for .jpeg support.

you need to build these into IrrLicht, so you'll have to make sure you have their header and .lib files and have included them into your project.
a screen cap is worth 0x100000 DWORDS
Epsilon
Posts: 38
Joined: Fri Jan 09, 2004 1:46 pm
Location: Argentina

Post by Epsilon »

you say, i must add all files of jpeglib and zlib in the irrlicht project? i have tryed this but get a LOT of errors.

thanks

PD: When Irrlicht 0.5 will be released?
Post Reply