Page 1 of 1

compiling the engine (visual c++ 6.0)

Posted: Mon May 09, 2005 9:48 am
by Rabid Mantis
whenever I compile, i get alot of these kinds of warnings

CVideoNull.cpp
CD3D9HLSLMaterialRenderer.cpp
CD3D9NormalMapRenderer.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
CD3D9ShaderMaterialRenderer.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
CDirectX9Texture.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
CVideoDirectX9.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
CVideoModeList.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
C3DSMeshFileLoader.cpp
CIrrDeviceStub.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
CIrrDeviceWin32.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
CLogger.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
COSOperator.cpp
CStringParameters.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
Irrlicht.cpp


and then after I put the new dll and lib in place, and try to use the engine, I get this error "directx9 driver was not compiled into this dll. try another one"

Posted: Mon May 09, 2005 11:57 am
by Rabid Mantis
well crap.... after several hours of searching I FINALLY found this:


If you are recompiling the whole engine with Visual Studio 6 (which means
Irrlicht.dll, NOT the application which is using Irrlicht), DirectX9 support is disabled
now by default, because Microsoft stopped support for DX9 on VS6 in December
2004.

I'm getting visual studio .net 2003 soon. It should work on that, right?

Posted: Mon May 09, 2005 12:06 pm
by Guest
no you can compile it with your visual studio version if you do this:

1.open the irrlicht source
2.go to IrrCompileConfig.h
3.remove line 85,86,87 and 88
4.recompile the engine

that should do it :)

Posted: Mon May 09, 2005 12:53 pm
by Rabid Mantis
but don't I also need an older version of the dx files? pre dec? I have april 2005.

Posted: Mon May 09, 2005 5:28 pm
by Rabid Mantis
I'd give it a try, but I'm gettting I'm getting the newer one either today or tomorrow, so there's really no point. Now what I'd like to know is if there's any issues with visual studio 2003 I'll need to deal with :p