5.00 beta 2 - d3dx missing when OpenGL subsystem is active

Just starting out? Need help? Post your questions and find answers here.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

5.00 beta 2 - d3dx missing when OpenGL subsystem is active

Post by Polo »

---------------------------
PureBasic_Compilation1.exe - System Error
---------------------------
The program can't start because d3dx9_42.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
This file shouldn't be required if the rendering system is OpenGL.
Fred
Administrator
Administrator
Posts: 18384
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by Fred »

As we use a single DLL, it binds directX as well, so you will need it, even for OpenGL.
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by PMV »

Wasn't it, that the OpenGL subsystem is not implementing the input
stuff which uses still DX even when Subsystem OpenGL is active?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by Polo »

I think this is not very good as the d3dx dlls (as far as I know anyway) do not come with Windows straight out the box.
The required one wasn't on a fresh install of Windows7, nor 8. It's a bit weird to ask users of our apps to install a full DirectX package when it isn't actually used ;)
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by DarkDragon »

Polo wrote:I think this is not very good as the d3dx dlls (as far as I know anyway) do not come with Windows straight out the box.
The required one wasn't on a fresh install of Windows7, nor 8. It's a bit weird to ask users of our apps to install a full DirectX package when it isn't actually used ;)
OpenGL also doesn't come with Windows straight out of the box. You still need to install a graphics card driver, or it will render everything with GDI, which is really bad.
bye,
Daniel
bmon
User
User
Posts: 54
Joined: Sat May 24, 2008 8:51 pm
Location: U.S.

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by bmon »

Polo - You can blame Microsoft for messing with things since it made DirectX 10 and 11 not backwards compatible with previous versions. If you look on the vast majority of software games sold in store, you will see that they too require DirectX 9.0c to be installed (even though they include XP, Vista, Windows 7 as operating systems options). Luckily it's just a one time deal to add DirectX 9.0c support by supplying a link to the web installer (if you have DirectX 10 or 11 already, it's about a 35-40 MB. download and the installation is pretty painless). OpenGL, on the other hand, is still compatible with previous versions although there may be newer things added that don't work on older versions (pixel and vertex shader version x.xx support for example) ... I recently built another computer (Windows 7) with a far newer graphic card that supported Direct X 11, but when I installed the graphic card drivers, it when ahead and installed 9.0c for me automatically as well ... Cool!

PMV - Not 100 percent sure about this but, if you create a program that doesn't call any of the "init" library commands (InitSprite(), InitKeyboard(), InitMouse() ect ect) you may not need DirectX 9.0c installed(?) ... But of course any type of gaming stuff would then be out of the question since you need InitSprite() and/or InitEngine3d() ...
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by ts-soft »

Engine3D.dll imports functions from d3dx9_42.dll, therefore this must exist,
no matter whether been of use the functions.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: 5.00 beta 2 - d3dx missing when OpenGL subsystem is acti

Post by Polo »

ts-soft wrote:Engine3D.dll imports functions from d3dx9_42.dll, therefore this must exist,
no matter whether been of use the functions.
Yes, this is what I'm blaming ;)

The d3dx dlls do not come with windows, unlike the d3d dlls.
Post Reply