How to get Direct X 8 in Dev-CPP
ok, here's the dll's (compiled using mingw/gcc-3.3.1)
http://www.8ung.at/splugs/dxirr.zip
and
http://www.8ung.at/splugs/dxirr-athlonxp.zip
the second one is athlon-xp optimized using the following compiler options:
-march=athlon-xp
-pipe
-fomit-frame-pointer
-mfpmath=sse,387
both are compiled with DirectX8 and DirectX9 suppport.
sorry that the server is so slow.
http://www.8ung.at/splugs/dxirr.zip
and
http://www.8ung.at/splugs/dxirr-athlonxp.zip
the second one is athlon-xp optimized using the following compiler options:
-march=athlon-xp
-pipe
-fomit-frame-pointer
-mfpmath=sse,387
both are compiled with DirectX8 and DirectX9 suppport.
sorry that the server is so slow.
Raw data for raw nerves
My main PC: Athlon XP 2800+, 512MB RAM, ATI Radeon 9700 Pro 128MB, Win2k SP4
My secondary PC: Pentium III 500 Mhz, 256MB RAM, TNT2 64, Gentoo Linux
My main PC: Athlon XP 2800+, 512MB RAM, ATI Radeon 9700 Pro 128MB, Win2k SP4
My secondary PC: Pentium III 500 Mhz, 256MB RAM, TNT2 64, Gentoo Linux
Well, after I installed WinXP DevCpp creates the dll !!!
But, if I run a compiled irrlicht project, I get an error because zlib.dll (or libz.dll ?) could not be found !?!?!
I folowed the tutorial exactly...
libjpeg seems to be includet to the irrlicht.dll - why not libz ???
(the parameter -lz is includet, also -ljpeg)
CU, Acki
But, if I run a compiled irrlicht project, I get an error because zlib.dll (or libz.dll ?) could not be found !?!?!
I folowed the tutorial exactly...
libjpeg seems to be includet to the irrlicht.dll - why not libz ???
(the parameter -lz is includet, also -ljpeg)
CU, Acki
Hello everybody. I don't know if this helps but I post it anyway.
My name is ZoE and my team and me developed the DirectX90.devpak for use of the DirectX 9.0 SDK (current version 9.0c) with the Dev-Cpp environment (MinGW compiler).
Since I noticed that there is still a wrong link here I would like to update.
Here is our new location:
http://www.g-productions.net
There is the home of the DirectX90.DevPak. Why to use our devpak instead of the one provided with the udpate function of Dev-Cpp?
Because we have (hopefully) the currently most complete DevPak for use of all DirectX components with MinGW.
Thought it might help some of you.
Greets ZoE
My name is ZoE and my team and me developed the DirectX90.devpak for use of the DirectX 9.0 SDK (current version 9.0c) with the Dev-Cpp environment (MinGW compiler).
Since I noticed that there is still a wrong link here I would like to update.
Here is our new location:
http://www.g-productions.net
There is the home of the DirectX90.DevPak. Why to use our devpak instead of the one provided with the udpate function of Dev-Cpp?
Because we have (hopefully) the currently most complete DevPak for use of all DirectX components with MinGW.
Thought it might help some of you.
Greets ZoE
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?
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?
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?
Sorry that was me I forgot to log in....
And I just looked in my progect and glext.h was there. Even though Dev gave me an error message.
When I compile I get a red line in CVideoDirectX8.cpp, at the line:
" SphereMapMatrixD3D8._11 = 0.5f; SphereMapMatrixD3D8._12 = 0.0f;"
The compile log is :
~Nikata
And I just looked in my progect and glext.h was there. Even though Dev gave me an error message.
When I compile I get a red line in CVideoDirectX8.cpp, at the line:
" SphereMapMatrixD3D8._11 = 0.5f; SphereMapMatrixD3D8._12 = 0.0f;"
The compile log is :
Any Ideas?Compiler: Default compiler
Building Makefile: "D:\Downloads\IRRLICHT_0_7\irrlicht-0.7\source\source\Irrlicht\Makefile.win"
Executing make...
make.exe -f "D:\Downloads\IRRLICHT_0_7\irrlicht-0.7\source\source\Irrlicht\Makefile.win" all
g++.exe -c CVideoDirectX8.cpp -o CVideoDirectX8.o -I"D:/Dev-Cpp/include/c++/3.3.1" -I"D:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"D:/Dev-Cpp/include/c++/3.3.1/backward" -I"D:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"D:/Dev-Cpp/include" -I"include" -DIRRLICHT_EXPORTS=1 -D_IRR_COMPILE_WITH_DIRECTX_8_=1 -fexpensive-optimizations -O3
CVideoDirectX8.cpp: In constructor `
irr::video::CVideoDirectX8::CVideoDirectX8(const
irr::core::dimension2d<s32>&, HWND__*, bool, bool, irr::io::IFileSystem*,
bool, bool)':
CVideoDirectX8.cpp:43: error: `SphereMapMatrixD3D8' undeclared (first use this
function)
CVideoDirectX8.cpp:43: error: (Each undeclared identifier is reported only once
for each function it appears in.)
CVideoDirectX8.cpp:53: error: `UnitMatrixD3D8' undeclared (first use this
function)
CVideoDirectX8.cpp: In member function `void
irr::video::CVideoDirectX8::createMaterialRenderers()':
CVideoDirectX8.cpp:88: error: syntax error before `(' token
CVideoDirectX8.cpp:89: error: syntax error before `(' token
CVideoDirectX8.cpp:92: error: `CD3D8MaterialRenderer_LIGHTMAP' undeclared
(first use this function)
CVideoDirectX8.cpp:92: error: `lmr' undeclared (first use this function)
CVideoDirectX8.cpp:92: error: syntax error before `(' token
CVideoDirectX8.cpp:103: error: syntax error before `(' token
CVideoDirectX8.cpp:104: error: syntax error before `(' token
CVideoDirectX8.cpp:105: error: syntax error before `(' token
CVideoDirectX8.cpp:106: error: syntax error before `(' token
CVideoDirectX8.cpp:107: error: syntax error before `(' token
CVideoDirectX8.cpp:108: error: syntax error before `(' token
make.exe: *** [CVideoDirectX8.o] Error 1
Execution terminated
~Nikata