PureBasic 6.20 is out !
Re: PureBasic 6.20 beta 1 is out !
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.
Re: PureBasic 6.20 beta 1 is out !
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?
Re: PureBasic 6.20 beta 1 is out !
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 libBarryG 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?
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Re: PureBasic 6.20 beta 1 is out !
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
Re: PureBasic 6.20 beta 1 is out !
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).
Re: PureBasic 6.20 beta 1 is out !
Playing devil's advocate, you can compress and load a DLL from memory (which is attached as resource, or the end of the exe)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).
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Re: PureBasic 6.20 beta 1 is out !
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 forumsPrincieD wrote: Sat Dec 14, 2024 3:09 amPlaying devil's advocate, you can compress and load a DLL from memory (which is attached as resource, or the end of the exe)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).
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Re: PureBasic 6.20 beta 1 is out !
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
- deeproot
- Enthusiast
- Posts: 284
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: PureBasic 6.20 beta 1 is out !
@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.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.
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!
Re: PureBasic 6.20 beta 1 is out !
@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.
./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.
- netmaestro
- 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 !
"
YIPPEEE!! Been waiting 20 years for this!
"Fred wrote:Added: PureLibrary creation in PureBasic (C Backend only) !
YIPPEEE!! Been waiting 20 years for this!
BERESHEIT
Re: PureBasic 6.20 beta 1 is out !
join the partynetmaestro 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!
viewtopic.php?p=632167#p632167
- deeproot
- Enthusiast
- Posts: 284
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: PureBasic 6.20 beta 1 is out !
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.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.
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!
Re: PureBasic 6.20 beta 1 is out !
@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.
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.
Re: PureBasic 6.20 beta 1 is out !
Thanks Fred & Team... 
