I AM USEING Code::blocks and devcpp.. DIRECTX IS GIVING THE MISTAKE...OPENGL ISN'T WORKING...IS THERE THIS SOLUTION ?
OR
FROM WHERE CAN I FIND THE OPENGL and DIRECTX LIBRARY?
code::blocks DIRECTX and OPENGL
DirectgX is not implemented in to Irrlicht.dll for Mingw compiler which is used in DevC++ and CB. OpenGl however is so you must have make some mistake while compiling. Did you set up your project file properly? Are you using right dll? Is dll in the PATH?
There is tutorial at Irrlicht main page for DevC++ check it out.
Also check out FAQs, Tutorials, Howtos, and external tool lists forum, there are few threads about howe to compile DirectX in to dll. There is even compiled one there. Just download and use it.
There is tutorial at Irrlicht main page for DevC++ check it out.
Also check out FAQs, Tutorials, Howtos, and external tool lists forum, there are few threads about howe to compile DirectX in to dll. There is even compiled one there. Just download and use it.
Why don't implement it?DirectX is not implemented in to Irrlicht.dll for Mingw compiler which is used in DevC++ and CB.
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
For DirectX9 you can also generate mingw compatible .lib files via reimp. This does, however, not work for unknown reasons for the DirectX8 libs. I'm not sure if garritg still supports both versions (he might even have solved this dx8 problem somehow...). Anyway, using mingw with directX needs some efforts
thats simply not true! u only have to donwload the dxSDK from microsoft and i don't think that that is illegalSpintz wrote: DevC++ ONLY works on Windows with MinGW compiler, which only has support for DX through an illegal version of DX DLLs.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
The DX SDK DLLs are not compatible with MinGW compiled code. The license agreement for the DX SDK forbids modifying the DLL and then re-releasing it.Sudi wrote:thats simply not true! u only have to donwload the dxSDK from microsoft and i don't think that that is illegalSpintz wrote: DevC++ ONLY works on Windows with MinGW compiler, which only has support for DX through an illegal version of DX DLLs.
So you could redo the DLLs yourself, with every SDK release, and then use them yourself, but legally, you cannot re-distribute those DLLs.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
You only create .lib files via reimp. This simply greps the exported names from the dll and does some name demangling. Since some compilers do this automatically for you (I think garritg also told me something about this with mingw...) there is no legal problem with it. You use the original dx dlls which you thus do not have to distribute.