Tsoding did a PB stream...

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Tsoding did a PB stream...

Post by chi »

... didn't work as planned Tsoding - Basic in 2024
Et cetera is my worst enemy
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Tsoding did a PB stream...

Post by Fred »

Woops, if someone can reproduce the errors he had, I could take a look :shock:
User avatar
TI-994A
Addict
Addict
Posts: 2698
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Tsoding did a PB stream...

Post by TI-994A »

Fred wrote: Mon Sep 16, 2024 5:38 pm...the errors he had...

There appears to be an issue with the #PB_Compiler_Home path, possibly. He keeps getting this error:

Image
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 :D
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Tsoding did a PB stream...

Post by Fred »

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.
User avatar
chikega
User
User
Posts: 38
Joined: Fri Dec 04, 2020 3:19 am

Re: Tsoding did a PB stream...

Post by chikega »

Good to know the reason.
Gary E Chike DMD MS
'Experience is what you get when you don't get what you want' Image
Bitblazer
Enthusiast
Enthusiast
Posts: 761
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: Tsoding did a PB stream...

Post by Bitblazer »

chi wrote: Mon Sep 16, 2024 3:59 pm ... didn't work as planned Tsoding - Basic in 2024
That is not the best example of a product test video on the net ((README ... INSTALL ... google?)) :oops: :shock:

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
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Tsoding did a PB stream...

Post by fsw »

Yeah, if there is something goofy with a programming language he will find it. :P
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
User avatar
TI-994A
Addict
Addict
Posts: 2698
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Tsoding did a PB stream...

Post by TI-994A »

Fred wrote: Mon Sep 16, 2024 7:27 pm...it happens when you don't set the PUREBASIC_HOME env var...
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. :D
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 :D
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Tsoding did a PB stream...

Post by fsw »

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.
He's always rushed and most of the time merciless.
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. :D
8)

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
kenmo
Addict
Addict
Posts: 2032
Joined: Tue Dec 23, 2003 3:54 am

Re: Tsoding did a PB stream...

Post by kenmo »

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:

Code: Select all

COMPILER Assembler error!
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
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.
Bitblazer
Enthusiast
Enthusiast
Posts: 761
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: Tsoding did a PB stream...

Post by Bitblazer »

User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: Tsoding did a PB stream...

Post by chi »

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.
Et cetera is my worst enemy
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Tsoding did a PB stream...

Post by Fred »

Indeed it should work outside the box, and it does on Windows/MacOS but not on Linux. Will be sorted soon.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Tsoding did a PB stream...

Post by mk-soft »

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.
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
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Tsoding did a PB stream...

Post by Fred »

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.
Post Reply