i have exaclty do wath the tutorial wrote
nothing works
i be not a newbee in c++, i want just help for the community
How to get Direct X 8 in Dev-CPP
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
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
Well, i compile the dll without errors, and the Dx8 mode works well, but the Dx9 not "The Dx9 dont its included in the dll". I put the corrects compiler comands to make it work, but nothing
(-D_IRR_COMPILE_WITH_DIRECTX_8_=1
-D_IRR_COMPILE_WITH_DIRECTX_9_=1 )
Im wishing see the latest example of the v.0.8, and its necesary the dx9 to see it, isnt ?
Why ? I must compile with an special dx9 devpack???
Thanks you.
(-D_IRR_COMPILE_WITH_DIRECTX_8_=1
-D_IRR_COMPILE_WITH_DIRECTX_9_=1 )
Im wishing see the latest example of the v.0.8, and its necesary the dx9 to see it, isnt ?
Why ? I must compile with an special dx9 devpack???
Thanks you.
Bye!
to everybody who gets linker error with "D3DXAssembleSh
Bsdlite wrote:This is the same error that I get whenever I try to recompile the dll; just 100% linker errors to a library that I though (:)) I was pointing to.Ok, I'm sure a newbie to Irrlicht...
The problem with the dx function were solved ( _IRR_COMPILE_WITH_DIRECTX_8_ were not being set...). But even fixing this, I still get errors while trying to build the dll:
[Linker error] undefined reference to `jpeg_std_error'
[Linker error] undefined reference to `jpeg_CreateDecompress'
[Linker error] undefined reference to `jpeg_resync_to_restart'
[Linker error] undefined reference to `jpeg_read_header'
[Linker error] undefined reference to `jpeg_start_decompress'
[Linker error] undefined reference to `jpeg_read_scanlines'
[Linker error] undefined reference to `jpeg_finish_decompress'
[Linker error] undefined reference to `jpeg_destroy_decompress'
[Linker error] undefined reference to `D3DXAssembleShader@28'
[Linker error] undefined reference to `D3DXAssembleShader@28'
C:\Dev-Cpp\irrlicht7custom\Irrlicht\Makefile.win [Build Error] [Irrlicht.dll] Error 1
I double checked the path to jpeg library files and everything seems to be OK. How can I solve this?
Hello.try this.
compile with the debug version of the dx dlls.this worked fine and exactly that error was gone.
in devc++ under project-options linker add:
-ld3dx9d
-ld3dx8d
in devc++ under project-options compiler add:
-DIRR_COMPILE_WITH_DX9_DEV_PACK
in devc++ under project-options C++compiler add:
-DIRR_COMPILE_WITH_DX9_DEV_PACK
modify the lines in IrrCompileConfig.h like this(searchfor them..you will find):
----------1.block:----------------
#define _IRR_COMPILE_WITH_DX9_DEV_PACK_ //<---so i defined it
//! Define _IRR_COMPILE_WITH_DIRECTX_8_ and _IRR_COMPILE_WITH_DIRECTX_9_ to compile
//! the Irrlicht engine with DirectX8 and/or DirectX9.
/** If you only want to use the software device or opengl this can be useful.
This switch is mostly disabled because people do not get the g++ compiler compile
directX header files, and directX is only available on windows platforms. If you
are using Dev-Cpp, and want to compile this using a DX dev pack, you can define
_IRR_COMPILE_WITH_DX9_DEV_PACK_. So you simply need to add something like this
to the compiler settings: -DIRR_COMPILE_WITH_DX9_DEV_PACK
and this to the linker settings: -ld3dx9 -ld3dx8 **/
#if (defined(_WIN32) || defined(_XBOX)) && \
(!defined(__GNUC__) || defined(IRR_COMPILE_WITH_DX9_DEV_PACK))
#define _IRR_COMPILE_WITH_DIRECTX_8_
#define _IRR_COMPILE_WITH_DIRECTX_9_
#endif
---------1.block end----------------------
now search for ....................
----------2.block:---i comented it out but maybe it woks for you untouched
// We need to disable DirectX9 support for Visual Studio 6.0 because
// those $%&$!! disabled support for it since Dec. 2004 and users are complaining
// about linker errors. Comment this out only if you are knowing what you are
// doing. (Which means you have an old DX9 SDK and VisualStudio6).
//#if (_MSC_VER < 1300 && !defined(__GNUC__))
//#undef _IRR_COMPILE_WITH_DIRECTX_9_
//#pragma message("Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.")
//#endif
---------2.block end----------------------
thats it ....basically what nico wants you to do allready.....
no more modifications in IrrCompileConfig.h
now use dlls with the names:
d3d8d.dll
d3d9d.dll
and put it in your project folder.
worked fine for me but the non-debug version still give linker errors.....
compiling with the debug versions is a little bit slower but at least it works
bye(i hope i didn´t forgot something to)
Re: How to get Direct X 8 in Dev-CPP
I've downloaded the directx9 devpack.
But I cann't find the Irrlicht.dev file
Please Anyone help me quickly
But I cann't find the Irrlicht.dev file
Please Anyone help me quickly
Cyan_3d
Re: How to get Direct X 8 in Dev-CPP
I got some linker problem
That Shows:
[Linker Error] undifined reference to 'irr::scene::COctreeSceneNode::octreeSceneNode.............
Please Anyone Help Me
That Shows:
[Linker Error] undifined reference to 'irr::scene::COctreeSceneNode::octreeSceneNode.............
Please Anyone Help Me
Cyan_3d
@Cyan 3D: Dev C++ hasn't been in development for a while and is no longer officially supported by us. We recommend to take a look at Code::Blocks or Visual Studio Express if you need a free IDE on Windows.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm