3d engine can't be initialized x64 DirectX 10 Engine3D.dll
Posted: Wed Nov 27, 2013 10:04 am
Documentation says: Note: If you use the 3D engine of PureBasic in your projects and you intent to distribute your executable, you will have to copy the Engine3D.dll from the PureBasic/Compilers directory to your main project directory.
I wanted to use some 3D effects and on my development PC (Win 7 x86) and test it on other PC's so I made an exe and it did work fine on my PC after I copied de Engine3D.dll that came with PureBasic 5.2 (2.670.592 dating from 17-09-2013). Then I tried it on another PC (Win 7, x64). That gave me the error "3d engine can't be initialized".
So I searched the forum and discovered that one needs another Engine3D.dll for x64, yak
. I seemed to have to download it from http://www.vdata.dk.(Shouldn't both the x86 and the x64 version be distributed with all PureBasic installations or even better
, being downloadable in a seperated option?) I got an Engine3D.dll from a ogre_frontend_x64 that's from 5-11-2012 (?!) and has 13.230.080 bytes! After copying that dll onto the Win 7 x64 pc, it still gave me the same error. DirectX is present (vs 10) so that is not the problem (I think).
Of course I can download the x64 version of the PureBasic installation and try that dll, but it will not install on my x86 PC so that is not an option. And installing PureBasic x64 on the test PC with x64, sorry, thats also no option in my opinion.
1. What am I doing wrong? Do I need another x64 dll?
2. And if I try my exe on a Mac OSX or Linux, will I need yet another dll?
Thx in advance!
Al
I wanted to use some 3D effects and on my development PC (Win 7 x86) and test it on other PC's so I made an exe and it did work fine on my PC after I copied de Engine3D.dll that came with PureBasic 5.2 (2.670.592 dating from 17-09-2013). Then I tried it on another PC (Win 7, x64). That gave me the error "3d engine can't be initialized".
So I searched the forum and discovered that one needs another Engine3D.dll for x64, yak
Of course I can download the x64 version of the PureBasic installation and try that dll, but it will not install on my x86 PC so that is not an option. And installing PureBasic x64 on the test PC with x64, sorry, thats also no option in my opinion.
1. What am I doing wrong? Do I need another x64 dll?
2. And if I try my exe on a Mac OSX or Linux, will I need yet another dll?
Thx in advance!
Al