![]() Now working on both the x86 and the 圆4 PC!! And I solved that, it needs also the fonts folder in the Data folder. Texture: lensflare5.jpg: Loading 1 faces(PF_R8G8B8,128x128x1) Internal format is PF_X8R8G8B8,128x128x1.īut the exe crashes after that and it the last line in the log. When I add a Data\Textures folder to the TESTEXE folder with the jpg file the last line of the log changes in: I have put the exe with the dll in another folder (TESTEXE) on the x86 PC and it comes with the same problem. What is the correct dll to use with the x86 exe on the 圆4 pc?Ĭode: Select all If InitEngine3D(#PB_Engine3D_DebugLog) #PB_Engine3D_DebugLog zorgt voor ogre.logĪdd3DArchive("Data/Textures", #PB_3DArchive_FileSystem)Īdd3DArchive("Data/fonts", #PB_3DArchive_FileSystem)Īlg::MyMsgBox ("Druk op escape", "ESCAPE!", 0)ĪddWindowTimer (#WINDOW_Screen3DRequester, 998, 10000) 10.000 ms druk gedoe op schermĬreateMaterial(0, LoadTexture(0, "lensflare5.jpg")) caisse.png flare If not, what is a possible reason of the error as both dll's produce the error on the 圆4 PC? Do you really need an older version of DirextX to work with 3D on the 圆4 PC while not being necessary on the x86 PC The engine3.dll was copied in the same directory as the exe already. The engine3.dll (x86) gave the same error as the 圆4 version from the vdata site and I agree, that is not the way it should be but there seemed no better alternative. To me it seems the proper DirectX version, although it is version 11, it was version 10. If you put the engine in the same directory as the exe and you have DirectX9.0c on the computer then it should run. Don't use any other because it will give you an error.Īlso make sure the engine is accessible by the executable. Then make sure the 3D engine.dll is the one that came with Purebasic. So, check to make sure the computer has the proper version DirectX on it. So, if you don't want to download it you can grab it from there. ![]() I think Purebasic 5.2 and up now has the required DirectX dll included with it. You need to have DirectX9.0c on that computer. The reason it didn't work for you was most likely because your (Win 7 圆4 machine) lacked the proper version of directX. So, it should be fine if you just want to stick with the x86. And if I try my exe on a Mac OSX or Linux, will I need yet another dll?Ī x86 executable will run on a 圆4 bit operating system, but a 圆4 won't run on a x86 system. What am I doing wrong? Do I need another 圆4 dll?Ģ. And installing PureBasic 圆4 on the test PC with 圆4, sorry, thats also no option in my opinion.ġ. Of course I can download the 圆4 version of the PureBasic installation and try that dll, but it will not install on my x86 PC so that is not an option. DirectX is present (vs 10) so that is not the problem (I think). (Shouldn't both the x86 and the 圆4 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_圆4 that's from 5-11-2012 (?!) and has 13.230.080 bytes! After copying that dll onto the Win 7 圆4 pc, it still gave me the same error. So I searched the forum and discovered that one needs another Engine3D.dll for 圆4, yak. That gave me the error "3d engine can't be initialized". Then I tried it on another PC (Win 7, 圆4). 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). ![]() 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |