PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Beta 1 released !

Post by mk-soft »

netmaestro wrote: Fri Nov 26, 2021 9:44 pm So when we push 'compile/run' from the IDE with Beta 1 for Windows are we automatically getting the C backend?
No,
you must add the pbcompilerc over preferences of the IDE to the compilers
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
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 6.00 Beta 1 released !

Post by StarBootics »

StarBootics wrote: Sat Nov 27, 2021 12:52 am I know the algorithm responsible for the normal smoothing but it will take time to narrow down the problem of what is happening differently between the None Optimize and the Optimize output done by the C Backend.
I have found the problem, with the ASM Backend and the C Backend without optimization the type recast seems to take care of it but the C Backend with optimization apparently don't. I mean using a ".b" return value for a Boolean purposes. Which is not the way to go with the C Backend and lead to problems.

To make a long story short use integer (-9223372036854775808 to +9223372036854775807) type for Boolean purposes even if it appear to be overkill for storing 0 or 1.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Beta 1 released !

Post by mk-soft »

@StarBootics

Sorry,
I'm gonna have to take a swing at that. :mrgreen: A bool is always a whole register. I had already written that here.
Link: https://www.purebasic.fr/english/viewto ... 02#p577102

With the optimisation of GCC, it seems to have caught up with you now. 8)
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
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 6.00 Beta 1 released !

Post by StarBootics »

mk-soft wrote: Sat Nov 27, 2021 12:03 pm @StarBootics

Sorry,
I'm gonna have to take a swing at that. :mrgreen: A bool is always a whole register. I had already written that here.
Link: https://www.purebasic.fr/english/viewto ... 02#p577102

With the optimization of GCC, it seems to have caught up with you now. 8)
I know now and if you check carefully I have edited the code to reflect that. It didn't took me many hour of investigation to figure out the problem. That being said I don't like that especially when you deal with binary files. Read/Write Integer don't use the same space inside a file depending on which system it was created 32 bits or 64 bits system. So you need to solve this issue, one way is to include a binary file header describing that aspect so a binary file written on 32 bits systems can be read on 64 bits systems and vice-versa. And this is something I would like to avoid at all cost.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
morosh
Enthusiast
Enthusiast
Posts: 293
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

Re: PureBasic 6.00 Beta 1 released !

Post by morosh »

- Brand new Raspberry version!
Thanks Fred and team, really good news
PureBasic: Surprisingly simple, diabolically powerful
Seymour Clufley
Addict
Addict
Posts: 1233
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: PureBasic 6.00 Beta 1 released !

Post by Seymour Clufley »

Will there be a sub-forum for reporting Raspberry bugs?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 6.00 Beta 1 released !

Post by Little John »

That's pretty cool! 8)
Many thanks to Fred and the team!
User avatar
marcoagpinto
Addict
Addict
Posts: 939
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by marcoagpinto »

Hello!

I can't seem to be able to make beta 1 accept the "C backend compiler" on Ubuntu 20.04.

See the screenshot:
https://proofingtoolgui.org/_other/pb60 ... 211130.png

What am I doing wrong?

Thanks!
Saboteur
Enthusiast
Enthusiast
Posts: 271
Joined: Fri Apr 25, 2003 7:09 pm
Location: (Madrid) Spain
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by Saboteur »

Looks like pbcompilerc executable don't have execute permission. I changed and it works.

Take a look if that's the problem.
[:: PB Registered ::]

Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
User avatar
marcoagpinto
Addict
Addict
Posts: 939
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by marcoagpinto »

Saboteur wrote: Tue Nov 30, 2021 10:18 pm Looks like pbcompilerc executable don't have execute permission. I changed and it works.

Take a look if that's the problem.
Yes, it now works, but there is an IDE bug.

Thanks!
User avatar
marcoagpinto
Addict
Addict
Posts: 939
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by marcoagpinto »

IDE bug on Ubuntu 20.04, PB 6.00 beta 1:
https://www.youtube.com/watch?v=9IkNtGPvhBw
User avatar
marcoagpinto
Addict
Addict
Posts: 939
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.00 Beta 1 released !

Post by marcoagpinto »

Installing the following package in Ubuntu 20.04 gave an error:

Code: Select all

marcoagpinto@marcoagpinto-VirtualBox:~/Desktop$ sudo apt-get install libgnome2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgnome2-dev
EDIT: IDE issue fixed by installing the packages.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Beta 1 released !

Post by mk-soft »

libgnome2-dev is no longer needed
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
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 627
Joined: Fri Dec 04, 2015 9:26 pm

Re: PureBasic 6.00 Beta 1 released !

Post by skinkairewalker »

how happy to read that purebasic will support raspberry pi and other platforms, you and fantaisie software are admirable !
User avatar
CDXbow
User
User
Posts: 24
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: PureBasic 6.00 Beta 1 released !

Post by CDXbow »

Thank you Fred, Andre and Timo. You have made an old man happy.
Total love for the PB 6 and the pi version. You guys are the best. I've put off going out on a date tonight to try the pi version
If you come to Oz I will shower you with drugs, alcohol and women, or boys if you wish.
Post Reply