Hello:
I tried to try pendulum.pb supplied in examples\3D folder, I got IMA at line 152: RenderWorld()
any idea?
error running 3d\pendulum.pb
error running 3d\pendulum.pb
PureBasic: Surprisingly simple, diabolically powerful
Re: error running 3d\pendulum.pb
Works fine here. Can you provide more information about the environment you're trying to run it in?
The operating system you are using, the PureBasic version details, the settings specified in the configuration dialog, is it just one configuration that fails or more than one...
The operating system you are using, the PureBasic version details, the settings specified in the configuration dialog, is it just one configuration that fails or more than one...
- Fangbeast
- PureBasic Protozoa

- Posts: 4794
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: error running 3d\pendulum.pb
Mine dies here as well but I seem to remember that a certain subsystem had to be specified?
Just tested by specifying OpenGL as the subsystem and then it works fine.
Just tested by specifying OpenGL as the subsystem and then it works fine.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Re: error running 3d\pendulum.pb
you may need to install DirectX 9 look here
http://purebasic.fr/english/viewtopic.p ... 56#p486425
or try it in opengl subsystem
http://purebasic.fr/english/viewtopic.p ... 56#p486425
or try it in opengl subsystem
Re: error running 3d\pendulum.pb
Thanks for reply!!
First I have W7-x64 and PB5.42LTS-x32
I've added OpenGL in the library subsystem field in compiler options, no more error on line 152: RenderWorld(), but a new one (IMA) on line 59: CreateEntityBody(support, #PB_Entity_StaticBody)
any help is greatly appreciated.
EDIT: does dx9 (directx_Jun2010_redist.exe) need to be installed?
thanks
First I have W7-x64 and PB5.42LTS-x32
I've added OpenGL in the library subsystem field in compiler options, no more error on line 152: RenderWorld(), but a new one (IMA) on line 59: CreateEntityBody(support, #PB_Entity_StaticBody)
any help is greatly appreciated.
EDIT: does dx9 (directx_Jun2010_redist.exe) need to be installed?
thanks
PureBasic: Surprisingly simple, diabolically powerful
Re: error running 3d\pendulum.pb
in the PB documentation :On Windows, a recent version of DirectX 9 needs to be installeddoes dx9 (directx_Jun2010_redist.exe) need to be installed?
https://www.purebasic.com/documentation ... ine3d.html
the directx_Jun2010_redist.exe will expand itself to some folder of the choice then run the dxsetup.exe . it will not damage the DirectX 11 on the windows 7, several versions of dx can coexist at the same time. please feed back if the pendulum example works if you installed dx9. i have also win7/64bit installed on the second partition and i have installed this package too.
Re: error running 3d\pendulum.pb
I installed directx_Jun2010_redist.exe, and removed OpenGL from library subsystem field in compiler options, and now it works!!!
the link in the help file "DirectX 9 runtime installer" redirect to windows 10 and not to DirectX9, it should be updated.
thanks for help
the link in the help file "DirectX 9 runtime installer" redirect to windows 10 and not to DirectX9, it should be updated.
thanks for help
PureBasic: Surprisingly simple, diabolically powerful
