Page 1 of 4

Tsoding did a PB stream...

Posted: Mon Sep 16, 2024 3:59 pm
by chi
... didn't work as planned Tsoding - Basic in 2024

Re: Tsoding did a PB stream...

Posted: Mon Sep 16, 2024 5:38 pm
by Fred
Woops, if someone can reproduce the errors he had, I could take a look :shock:

Re: Tsoding did a PB stream...

Posted: Mon Sep 16, 2024 7:01 pm
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

Re: Tsoding did a PB stream...

Posted: Mon Sep 16, 2024 7:27 pm
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.

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 2:34 am
by chikega
Good to know the reason.

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 3:01 am
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

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 3:37 am
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...

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 3:42 am
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

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 3:48 am
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)

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 4:44 am
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.

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 7:17 am
by Bitblazer

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 3:39 pm
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.

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 3:52 pm
by Fred
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...

Posted: Tue Sep 17, 2024 5:37 pm
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.

Re: Tsoding did a PB stream...

Posted: Tue Sep 17, 2024 6:33 pm
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.