Spline Demo Crashes
Spline Demo Crashes
PB 5.72(x64) Win 10 Pro X64
The "spline.pb" demo crashes with the message "program terminated unexpectedly".
Is this a known issue?
The "spline.pb" demo crashes with the message "program terminated unexpectedly".
Is this a known issue?
Re: Spline Demo Crashes
I don't known ..
But with subsystem OpenGL works
But with subsystem OpenGL works
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Spline Demo Crashes
update your display driver and try again.
poor English...
PureBasic & Delphi & VBA
PureBasic & Delphi & VBA
Re: Spline Demo Crashes
That is going to be problematic. The issue is identical on 5 different computers.leonhardt wrote:update your display driver and try again.
1. A 5 year old Dell XPS17 laptop with the latest display drivers.
2. A 1 week old Dell XPS17 laptop with the latest display drivers.
3. Three desktop motherboards with nVidia cards and the latest display drivers.
Should I tell nVidia and Dell that Fantaisie Software require that they fix their useless broken drivers?
Re: Spline Demo Crashes
Hi davebar,
I have never used the PB Spline library in my projects but to give you some feedback, I tried running "Spline.pb" from the help file. I got a similar error message "the debugged executable quit unexpectedly" using PB5.72, Windows 10 Pro, on a Surface Pro 4. I doubt whether the drivers are the problem since my Windows 10 Pro updates automatically (and quite frequently too).
I have never used the PB Spline library in my projects but to give you some feedback, I tried running "Spline.pb" from the help file. I got a similar error message "the debugged executable quit unexpectedly" using PB5.72, Windows 10 Pro, on a Surface Pro 4. I doubt whether the drivers are the problem since my Windows 10 Pro updates automatically (and quite frequently too).
Re: Spline Demo Crashes
Hi Tawbie,Tawbie wrote:Hi davebar,
I have never used the PB Spline library in my projects but to give you some feedback, I tried running "Spline.pb" from the help file. I got a similar error message "the debugged executable quit unexpectedly" using PB5.72, Windows 10 Pro, on a Surface Pro 4. I doubt whether the drivers are the problem since my Windows 10 Pro updates automatically (and quite frequently too).
Thanks for your feedback. I was about to start using PB for some serious work and the Spline library seemed to be a useful option for part of what I wanted to do. Since the library developers have been unable to produce a working example and I don't have time to reverse engineer the issue, I will now put PB aside for real coding.
Re: Spline Demo Crashes
I only could test PB Version 5.62 x86 & x64 (Windows 10)
The spline example crashes.
The spline example crashes.
Re: Spline Demo Crashes
Just comment out line 19:
(IIRC, this is a known issue)
Code: Select all
WorldShadows(#PB_Shadow_Modulative, 0, RGB(175, 175, 175))
Re: Spline Demo Crashes
Did you specify the OpenGL subsystem in the Compiler Options for the code, like mk-soft said? That should fix the issue.davebar wrote:I will now put PB aside for real coding
Re: Spline Demo Crashes
Thanks for taking the time to respond. The Compiler Options dialog has 5 tabs and none of them offer an "OpenGL Subsystem" option. Care to share the info?BarryG wrote:Did you specify the OpenGL subsystem in the Compiler Options for the code, like mk-soft said? That should fix the issue.davebar wrote:I will now put PB aside for real coding
Re: Spline Demo Crashes
Is not a CheckBoxdavebar wrote:Thanks for taking the time to respond. The Compiler Options dialog has 5 tabs and none of them offer an "OpenGL Subsystem" option. Care to share the info?BarryG wrote:Did you specify the OpenGL subsystem in the Compiler Options for the code, like mk-soft said? That should fix the issue.davebar wrote:I will now put PB aside for real coding
Compiler Options -> Library Subsystem: [ ... ] <- OpenGL
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Spline Demo Crashes
Thanks mk-soft,
Adding 'OpenGL' to the Library Subsystem box worked.
Commenting out the offending line as firace suggested does work, I prefer to actually see the shadowing.
Adding 'OpenGL' to the Library Subsystem box worked.

Commenting out the offending line as firace suggested does work, I prefer to actually see the shadowing.
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Re: Spline Demo Crashes
OK! So that is the solution, but here is a suggestion for the more experienced, long term PB users (eg. mk-soft, BarryG, etc.). It's great that you guys take the time to answer many questions from mostly new and inexperienced users, but please don't forget that by definition those users do not have your in-depth knowledge and experience of the software. The answer
Many of the "Examples\3D" files supplied with the PB installer require this OpenGL option to be set. Maybe with the next release a note could be added to the initial comments at the start of those files. I would be happy to add this small instructional comment to those files if required.
was given very early on in this thread by mk-soft, however this doesn't have very much meaning to someone who doesn't have the same knowledge of the software.But with subsystem OpenGL works
Many of the "Examples\3D" files supplied with the PB installer require this OpenGL option to be set. Maybe with the next release a note could be added to the initial comments at the start of those files. I would be happy to add this small instructional comment to those files if required.
Re: Spline Demo Crashes
Hi davebar
Most of the problems with Ogre come's from DirectX
RenderWorld()
WorldShadows()
Just update DirectX maybe your problems will be solved
Most of the problems with Ogre come's from DirectX
RenderWorld()
WorldShadows()
Just update DirectX maybe your problems will be solved
Egypt my love
Re: Spline Demo Crashes
Hi Rashad,RASHAD wrote:Hi davebar
Most of the problems with Ogre come's from DirectX
RenderWorld()
WorldShadows()
Just update DirectX maybe your problems will be solved
Updating DirectX would seem like a good idea, but MS don't offer anything other than Version 12, which I already have.
I found several 3D examples with this issue, so I removed the OpenGL compiler option, commented out the "WorldShadows()" line and they all appear to work perfectly.
I haven't found the RenderWorld() to be a problem yet, but thanks for the heads up.