Purebasic 5.42 LTS Crashses when you run

Windows specific forum
hinckleyj
New User
New User
Posts: 7
Joined: Sat Mar 12, 2016 3:32 pm

Purebasic 5.42 LTS Crashses when you run

Post by hinckleyj »

Hi All,

I have just installed the 64bit version of the Purebasic Demo (version 5.42 LTE) and have loaded in a few of the demo programs which come with the software. They load in fine. However, when you run them (Shift F5), the compiler crashes and causes it to quit.

This in happening on 2 different PCs (Win 7 Pro and a Win 8.1). Both are 64 bit and have fast processors and 4GB of RAM. All other software on both machines runs fine, but both crash using Purebasic.

Any ideas anyone?

Thanks

John.
infratec
Always Here
Always Here
Posts: 7588
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Purebasic 5.42 LTS Crashses when you run

Post by infratec »

Hi,

if you tell us with which program it crashes,
because I don't want to test all of them if I want to replicate your crash.

Hint:
If they are 3D graphic related, maybe you need opengl or directx as subsystem,
depending on your graphics card and drivers.

Bernd
Little John
Addict
Addict
Posts: 4779
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Purebasic 5.42 LTS Crashses when you run

Post by Little John »

@hinckleyj:
Maybe it's the same problem as here.
hinckleyj
New User
New User
Posts: 7
Joined: Sat Mar 12, 2016 3:32 pm

Re: Purebasic 5.42 LTS Crashses when you run

Post by hinckleyj »

Hi Bernd.

I did reply yesterday but my post didn't appear for some reason.

I have opened the demo from within the 3D folder “Bridge.pb” and get as far as it compiling 449 lines of code, then a window opens asking if I want to launch in Windowed or full screen, then I get the error, followed by “The debugged executable quit unexpectedly”.

Some of the other demos run fine, and others produce the error, so maybe it’s a 3D graphics issue?

Thanks.

John
hinckleyj
New User
New User
Posts: 7
Joined: Sat Mar 12, 2016 3:32 pm

Re: Purebasic 5.42 LTS Crashses when you run

Post by hinckleyj »

Thanks Little John.

I have tried the suggestions in that link and unfortunately it was not that.
I tried switching off AV protection, then I added exclusions in the AV scan to exclude the %temp folder.

Some of the demos run fine, and others error, so I am wondering if its a graphics related issue, although my PC is fairly high spec and new, so I'm not sure what spec is needed to run PureBasic.

Thanks
infratec
Always Here
Always Here
Posts: 7588
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Purebasic 5.42 LTS Crashses when you run

Post by infratec »

Have you tried 'opengl' as subsystem?
hinckleyj
New User
New User
Posts: 7
Joined: Sat Mar 12, 2016 3:32 pm

Re: Purebasic 5.42 LTS Crashses when you run

Post by hinckleyj »

Hi infratec,

I am new to PureBasic and am not sure how to add OpenGL Subsystem??

Are you able to elaborate?

Thanks in advance.

John
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Purebasic 5.42 LTS Crashses when you run

Post by Fred »

If the demos which are crashing are in the 3D folders, chances are high than it's a 3D related issues. You should try to update your graphics drivers to the last version and as infratec said, try to put 'opengl' in the 'subsystem' field of the window 'Compiler -> Compiler Options...'.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Purebasic 5.42 LTS Crashses when you run

Post by IdeasVacuum »

In the PB IDE, Menu: Compiler/Compiler Options
Image
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
hinckleyj
New User
New User
Posts: 7
Joined: Sat Mar 12, 2016 3:32 pm

Re: Purebasic 5.42 LTS Crashses when you run

Post by hinckleyj »

Thanks to IdeasVacuum and Fred.

Adding 'opengl' to that field sorted it. Thank you for the screenshot. I would not have known where that was without your help.

All working!

Thanks to everyone for your help.

Kind regards,

John
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Purebasic 5.42 LTS Crashses when you run

Post by Danilo »

You should probably re-install DirectX 9.0c using the Web Installer. I used it with Win7/8/8.1/10.
It installs additional DirectX DLLs that are required for some functionality in the Ogre Engine.
Post Reply