PureBasic 6.20 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Ampli
User
User
Posts: 54
Joined: Sun Jul 29, 2007 7:05 pm
Location: Sweden

Re: PureBasic 6.20 beta 1 is out !

Post by Ampli »

Nice news/update, I can't use it yet, I use Zorin os 17.2 and only have glibc 2.35 and don't know how to update it yet. Need to learn how to do it before I can try PB 6.20. New to Linux so I have alot to learn.
BarryG
Addict
Addict
Posts: 4118
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.20 beta 1 is out !

Post by BarryG »

Are the created PureLibraries future-proof? I remember that Tailbite libs broke with new PureBasic versions, so I'm treading with caution now. If I can make a PureLibrary once and never need to re-compile it again in future, then I will be happy. Is that the case?
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by PrincieD »

BarryG wrote: Sat Dec 14, 2024 1:54 am Are the created PureLibraries future-proof? I remember that Tailbite libs broke with new PureBasic versions, so I'm treading with caution now. If I can make a PureLibrary once and never need to re-compile it again in future, then I will be happy. Is that the case?
Yes I can say, having worked with Tailbite from the very beginning. The difference now is the 'C' compiler and linker, It's a very easy now I think for Fred and team to create a static lib
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by PrincieD »

For me personally a PureLibrary version only becomes beneficial when there is unused procedure culling, otherwise DLL - it's still a cool step-forward though
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
BarryG
Addict
Addict
Posts: 4118
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.20 beta 1 is out !

Post by BarryG »

My app is a standalone exe, so I don't want a separate DLL solution (even if it's extracted from the exe to a temp folder that the user never sees).
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by PrincieD »

BarryG wrote: Sat Dec 14, 2024 2:48 am My app is a standalone exe, so I don't want a separate DLL solution (even if it's extracted from the exe to a temp folder that the user never sees).
Playing devil's advocate, you can compress and load a DLL from memory (which is attached as resource, or the end of the exe)
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by PrincieD »

PrincieD wrote: Sat Dec 14, 2024 3:09 am
BarryG wrote: Sat Dec 14, 2024 2:48 am My app is a standalone exe, so I don't want a separate DLL solution (even if it's extracted from the exe to a temp folder that the user never sees).
Playing devil's advocate, you can compress and load a DLL from memory (which is attached as resource, or the end of the exe)
You can't do this with the old version of ProGUI due to checksum checks but most DLLs I'm sure you can and there is code on the forums
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by PrincieD »

I think the best copy protection is a sly degradation, start writing into memory addresses over a a byte or so, an absooute nightmare for a cracker
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
deeproot
Enthusiast
Enthusiast
Posts: 284
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by deeproot »

Ampli wrote: Fri Dec 13, 2024 2:12 pm Nice news/update, I can't use it yet, I use Zorin os 17.2 and only have glibc 2.35 and don't know how to update it yet. Need to learn how to do it before I can try PB 6.20. New to Linux so I have alot to learn.
@Ampli - I don't use Zorin but I believe your system with glibc 2.35 is enough to run PB 6.20. My regular Linux system has only glibc 2.31 and I just downloaded PB 6.20 b1. It runs fine and successfully compiles my biggest project. My system, MX Linux 21 is based on Debian 11 Bullseye.

I think that Zorin OS is based on Ubuntu and Ubuntu 22 comes with glibc 2.35. So if you use the PureBasic package for Ubuntu 20.04/22.04 or even Ubuntu 18 (but NOT 24.04) then I would expect it to work on Zorin OS 17.2. Make sure all the dependencies are installed, as in the instructions or see the sticky forum post by mk-soft .

My personal opinion only - I would not update the glibc version from the one that came with the installed system, as there is a risk of breaking something!
Ampli
User
User
Posts: 54
Joined: Sun Jul 29, 2007 7:05 pm
Location: Sweden

Re: PureBasic 6.20 beta 1 is out !

Post by Ampli »

@deeproot thanks, It dosen't matter what I try. I get this two lines:

./purebasic: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
./purebasic: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./purebasic)

I give up PB on Zorin OS, I have a second computer with windows 11, I'll use that now to try PB 6.20.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 6.20 beta 1 is out !

Post by netmaestro »

"
Fred wrote:Added: PureLibrary creation in PureBasic (C Backend only) !
"

YIPPEEE!! Been waiting 20 years for this!
BERESHEIT
User avatar
idle
Always Here
Always Here
Posts: 5834
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: PureBasic 6.20 beta 1 is out !

Post by idle »

netmaestro wrote: Sat Dec 14, 2024 10:56 pm "
Fred wrote:Added: PureLibrary creation in PureBasic (C Backend only) !
"

YIPPEEE!! Been waiting 20 years for this!
join the party
viewtopic.php?p=632167#p632167
User avatar
deeproot
Enthusiast
Enthusiast
Posts: 284
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: PureBasic 6.20 beta 1 is out !

Post by deeproot »

Ampli wrote: Sat Dec 14, 2024 6:25 pm @deeproot thanks, It dosen't matter what I try. I get this two lines:

./purebasic: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./purebasic)
./purebasic: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./purebasic)

I give up PB on Zorin OS, I have a second computer with windows 11, I'll use that now to try PB 6.20.
Something confusing going on here! Please make sure you are executing the right file. If in doubt I would start from scratch, unpacking the PB download into a new directory.

As an experiment I installed from the Purebasic Ubuntu 24.04 file onto my MX 21 system - when attempting to run ./purebasic it produced exactly the same 'GLIBC_2.38 not found' messages as yourself. No surprise - this was as expected on this glibc 2.31 machine.

Moving back to the directory where PB 6.20b1 Ubuntu 20/22 version is installed, I checked the ./purebasic executable file (command: ldd -r -v purebasic | grep libc) and it appears to be built for glibc 2.30 or older. There is no dependency for anything later, which is why it runs fine here and should be good for Zorin 17.2.

Despite occasional challenges PureBasic for Linux has been excellent - hopefully 6.20 will be yet another improvement!
Ampli
User
User
Posts: 54
Joined: Sun Jul 29, 2007 7:05 pm
Location: Sweden

Re: PureBasic 6.20 beta 1 is out !

Post by Ampli »

@deeproot I found why it diden't work.

https://en.wikipedia.org/wiki/Zorin_OS

Zorin OS 17.2 is based on ubuntu 22.04 but updated to 24.04 or something.

When I use PureBasic for 22.04 then it works like a charm, I was fooled to think Zorin 17.2 was 24.04.

Thanks for helping me.
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: PureBasic 6.20 beta 1 is out !

Post by akee »

Thanks Fred & Team... :D
Post Reply