I use DEV-C++ to compile the default examples like "Hello World" aso.
My system is running under W2K with an MSI nVidia grafics card and the newest (W2K compatible) directx 9c drivers installed.
I compile simple example projects of different (directx 3d engines) too.
All these other compiled executables are runing fine on my system with nice rendering results.
Irrlicht executables allways crash if i choose direct 8.1 or direct 9.0c
There are lots of posts that show how can this problem be solved. The best way to do this is to download dx devpack and in project options define: -DIRR_COMPILE_WITH_DX9_DEV_PACK
In the linker options: -ld3dx9 -ld3dx8
You'll have to have the dx dlls on your hard drive to run anything in dx
cheers
The dll is simply compiled with directX disabled, you have to recompile the library. The DirectX devpak works if that is what you meant. Otherwise Irrlicht's directX suppor will also work with newer versions of Irrlicht, but only if you recompile the lib.
I think the DirectX DevPak for DevC++ is getting rather old. I'm noticing DX applications are very slow with DevC++ as well as some advanced shaders actually crash the process.
This 'not-including-directx-support' problem is just for Dev-Cpp or are there another compilers that have this problem too?...if there aren't, which compilers has directx support explicitly in them?....I think that Visual Studio is one of them....name others...
I was just wondering why bother going throught all the problem of configuring dev-cpp to support directx if one can use another compiler that has this feature already?....dont you agree?
Or is there some kind of secret reason to use dev-cpp and not moving to another compiler?
Cold_Dog wrote:This 'not-including-directx-support' problem is just for Dev-Cpp or are there another compilers that have this problem too?...if there aren't, which compilers has directx support explicitly in them?....I think that Visual Studio is one of them....name others...
i think its a matter of library availability... the DirectX SDK provides librarys for linking with all the compilers supporting their link libraries, other compilers (like devcpp) that use different library methods have to work it out another way
I just like to inform you all that the hint was realy to change my compiler.
It tock me a while to download the visual studio express 2005 edition, the NECCESSERY platform SDK R2 and to menage the updates inside the Visual C++ directories. see ===> http://msdn.microsoft.com/vstudio/expre ... usingpsdk/
Now my compiled executables have the full directx support.
P.S. One more small problem ........ if you are using any of the stdio.h functions - printf(), sprintf() and so on - you will get a compile error.
It would seem that Microsoft is going to eventually remove stdio.h function calls. To fix the compile errors add this line to the top of your source code:
hybrid wrote: The dll is simply compiled with directX disabled, you have to recompile the library. The DirectX devpak works if that is what you meant. Otherwise Irrlicht's directX suppor will also work with newer versions of Irrlicht, but only if you recompile the lib.