HELP ME PLEASE !!

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
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

HELP ME PLEASE !!

Post by AmigaIrr »

have anyone a complied irrlicht.dll version 0.7.1 included DX8 et DX 9 ?

i can't copile with devc++, copil ok, but no prgramms from tut works...
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Post by AmigaIrr »

compiler errors :

Irrlicht.dll

CZipReader.o(.text+0x1052):CZipReader.cpp: undefined reference to `inflateInit2_'
CZipReader.o(.text+0x10e6):CZipReader.cpp: undefined reference to `inflate'

CZipReader.o(.text+0x10f0):CZipReader.cpp: undefined reference to `inflateEnd'

CZipReader.o(.text+0x10fb):CZipReader.cpp: undefined reference to `inflateEnd'

CImageLoaderJPG.o(.text+0x23f):CImageLoaderJPG.cpp: undefined reference to `jpeg_std_error'
CImageLoaderJPG.o(.text+0x263):CImageLoaderJPG.cpp: undefined reference to `jpeg_CreateDecompress'
CImageLoaderJPG.o(.text+0x2b1):CImageLoaderJPG.cpp: undefined reference to `jpeg_resync_to_restart'
CImageLoaderJPG.o(.text+0x2d9):CImageLoaderJPG.cpp: undefined reference to `jpeg_read_header'
CImageLoaderJPG.o(.text+0x2e1):CImageLoaderJPG.cpp: undefined reference to `jpeg_start_decompress'
CImageLoaderJPG.o(.text+0x3d4):CImageLoaderJPG.cpp: undefined reference to `jpeg_read_scanlines'
CImageLoaderJPG.o(.text+0x425):CImageLoaderJPG.cpp: undefined reference to `jpeg_finish_decompress'

CImageLoaderJPG.o(.text+0x432):CImageLoaderJPG.cpp: undefined reference to `jpeg_destroy_decompress'

dllwrap.exe: no export definition file provided.
Creating one, but that may not be what you want
dllwrap.exe: c++ exited with status 1

make.exe: *** [Irrlicht.dll] Error 1

Execution terminated
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Post by AmigaIrr »

NO, NO, NO

i above read this

my pb is that the DLL NOT compile !!!!!
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

hmmm

Post by Munku »

It looks like this is haveing a problem with zip code and jpg code. Does Illricht use libJPG and zlib? If so, do you have the .a files in your library commands (like -lzlib -llibjpg)?
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
mispunt
Posts: 15
Joined: Fri Jan 07, 2005 6:01 pm

Post by mispunt »

AmigaIrr wrote:NO, NO, NO

i above read this

my pb is that the DLL NOT compile !!!!!
The first link is about the compiling of the dll, please try it. I think it doesn't harm you :)
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Post by AmigaIrr »

yes, the .a lib is in lib directory and source directory

nothing works...

:x
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Post by AmigaIrr »

I tried to recompile Irrlicht.dll (version 0.7.1) with DevC++ and found out that I can't. Problem seems to be that source libraries jpeglib and zlib included in source.zip are not the right ones.

To solve problem afther you unzipiing sources overwrite jpeglib/libjepeg.a and zlib/libz.a in your source directory with one in lib/DevCpp directory. Than dll should be compiled.



THIS DONT RESOLVE MY PB

:cry:
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

OpenGL

Post by Munku »

Why not use openGL for the moment and tinker with different versions of zlib and libjpg at a later date? That is what I am doing.
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Post by AmigaIrr »

i have exemples that works only with direct x...
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

if the examples use the irrlicht engine, they will run the same (mostly) in both openGL and direct x, change the CreateDevice line to make it EDT_OPENGL or whatever instead of EDT_DIRECTX9
The Robomaniac
Project Head / Lead Programmer
Centaur Force
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Post by AmigaIrr »

my pb is :

I CANT RECOMPILE IRRLICHT.DLL !!!
Munku
Posts: 66
Joined: Tue Nov 30, 2004 4:04 pm

...

Post by Munku »

I would Redownload the source, use it as is and tinker with the old source. Again, I would use OpenGL for the time being, get the main project done and THEN revert to directX and see if you can fix the problem with compiling irrlicht for directX.

We are well aware of your problem in compiling the DLL, many of us have not come to that problem so your help might be a bit limited.
Umm, don't look at me that way. I'M not the dead one here.

--The One True Marshmellow
Post Reply