Tsoding did a PB stream...
Tsoding did a PB stream...
... didn't work as planned Tsoding - Basic in 2024
Et cetera is my worst enemy
Re: Tsoding did a PB stream...
Woops, if someone can reproduce the errors he had, I could take a look 

Re: Tsoding did a PB stream...
There appears to be an issue with the #PB_Compiler_Home path, possibly. He keeps getting this error:

Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 

Re: Tsoding did a PB stream...
Ho damn, I just reproduced the error, it happens when you don't set the PUREBASIC_HOME env var
. I will now check it's always set and exits if not.

Re: Tsoding did a PB stream...
Good to know the reason.
Gary E Chike DMD MS
'Experience is what you get when you don't get what you want'
'Experience is what you get when you don't get what you want'

Re: Tsoding did a PB stream...
That is not the best example of a product test video on the net ((README ... INSTALL ... google?))


seriously ... 5 years ago, he would have had a point for the linux installation, but in 2024, he could have found the purebasic linux forum and checked or even asked for help and he could have found mk-soft's Simple install of PureBasic (Ubuntu, Mint, Raspberry or discord for live help. So many ways ...
not to mention overlooking the README and INSTALL files
Re: Tsoding did a PB stream...
Yeah, if there is something goofy with a programming language he will find it.
If you have time follow his journey with Swift.
I definitely like his approach...

If you have time follow his journey with Swift.
I definitely like his approach...
I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: Tsoding did a PB stream...
In all fairness, he did mention that he was able to successfully install and run the examples out of the box without any issues, on another machine.
Tsoding LiveStream @ 35:50 wrote: It worked on my other account ... It worked marvellously on my other account ... When I look at this thing it looked like a perfect thing to stream because it just worked and it was cool.
The walkthrough during the livestream appeared rushed and shoddy, and the Linux version was probably not the best choice.
On the bright side, PureBasic was still showcased to a considerable audience, and I believe that the demo-download numbers would show that.

Last edited by TI-994A on Tue Sep 17, 2024 3:52 am, edited 1 time in total.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 

Re: Tsoding did a PB stream...
He's always rushed and most of the time merciless.TI-994A wrote: Tue Sep 17, 2024 3:42 am The walkthrough during the livestream appeared rushed and shoddy, and the Linux version was probably not the best choice.
TI-994A wrote: Tue Sep 17, 2024 3:42 am On the bright side, PureBasic was still showcased to a considerable audience, and I believe that the demo-download numbers would show that.![]()

I am to provide the public with beneficial shocks.
Alfred Hitshock
Re: Tsoding did a PB stream...
By total coincidence, just a few days ago I put Linux (ElementaryOS 7.1 based on Ubuntu 22) on a laptop and started trying PB for Linux (testing demo version, "Linux Ubuntu 20.04 or 22.04 (x64)")
After installing all the libraries, everything seemed OK, IDE launched, looked good, I configured it how I liked.
But I can't get anything to compile, even a Debug "Hello World", I get what Tsoding got at the end:
and a blank dialog with just "OK"
Any ideas what's wrong? Yes I have been searching these forums for Linux "Assembler error" and "ElementaryOS" but haven't found a solution.
Note: all the libraries in INSTALL seemed to install OK except for "qt5-default", I get this error
EDIT - OK, about an hour later, got it compiling! Yes indeed, it seemed to be a PUREBASIC_PATH env var issue.
I got it working by running the BuildEnv.sh script in the PB IDE git repo... which updates PUREBASIC_PATH and PATH... but I don't think was anywhere in the INSTALL or README in PureBasic package itself.
After installing all the libraries, everything seemed OK, IDE launched, looked good, I configured it how I liked.
But I can't get anything to compile, even a Debug "Hello World", I get what Tsoding got at the end:
Code: Select all
COMPILER Assembler error!
Any ideas what's wrong? Yes I have been searching these forums for Linux "Assembler error" and "ElementaryOS" but haven't found a solution.
Note: all the libraries in INSTALL seemed to install OK except for "qt5-default", I get this error
Package qt5-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'qt5-default' has no installation candidate
EDIT - OK, about an hour later, got it compiling! Yes indeed, it seemed to be a PUREBASIC_PATH env var issue.
I got it working by running the BuildEnv.sh script in the PB IDE git repo... which updates PUREBASIC_PATH and PATH... but I don't think was anywhere in the INSTALL or README in PureBasic package itself.
Re: Tsoding did a PB stream...
NGL that was quite a missed opportunity to gain some more traction. But hey, it is what it is, and it isn't what it isn't.
By the way, I do the same thing when I explore new languages or applications... If it's not running OOTB, I don't bother going through a forum or Google in hopes of finding a fix. It should just work. The developers have all kinds of VMs available to test whether the program runs on a particular operating system. This should not be passed on to the most likely inexperienced user.
By the way, I do the same thing when I explore new languages or applications... If it's not running OOTB, I don't bother going through a forum or Google in hopes of finding a fix. It should just work. The developers have all kinds of VMs available to test whether the program runs on a particular operating system. This should not be passed on to the most likely inexperienced user.
Et cetera is my worst enemy
Re: Tsoding did a PB stream...
Indeed it should work outside the box, and it does on Windows/MacOS but not on Linux. Will be sorted soon.
Re: Tsoding did a PB stream...
When I set up Linux again and install PureBasic I follow my instructions exactly. Until now it has always worked immediately.
Here I also never had to set the envouiment to the compiler. Only when I start the pbcompiler via console.
The annoying thing with Ubuntu 24.04 is that the developer library for the WebGadget is simply no longer provided and so I had to use another source for it. From lunar and lunar-security for:
‘sudo apt-get install libwebkit2gtk-4.0-dev’
On request for other Linux distributions I have already tried and published the installation. PACMAN and dnf.
After the reference to my install instructions, however, everyone always managed to get PureBasic running.
Here I also never had to set the envouiment to the compiler. Only when I start the pbcompiler via console.
The annoying thing with Ubuntu 24.04 is that the developer library for the WebGadget is simply no longer provided and so I had to use another source for it. From lunar and lunar-security for:
‘sudo apt-get install libwebkit2gtk-4.0-dev’
On request for other Linux distributions I have already tried and published the installation. PACMAN and dnf.
After the reference to my install instructions, however, everyone always managed to get PureBasic running.
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: Tsoding did a PB stream...
Why do you need another source for the libgtk on Ubuntu 24.04 ? If you use the package for 24.04 it should use the correct lib.