PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: PureBasic 6.00 Beta 2 released !

Post by #NULL »

[...]

I can file a bug report if neccessary.

edit:
bug report now here:
https://www.purebasic.fr/english/viewtopic.php?t=78493
Last edited by #NULL on Wed Jan 12, 2022 6:14 pm, edited 1 time in total.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Beta 2 released !

Post by Fred »

yes please, so we can track it properly
hoerbie
Enthusiast
Enthusiast
Posts: 119
Joined: Fri Dec 06, 2013 11:57 am
Location: DE/BY/MUC

Re: PureBasic 6.00 Beta 2 released !

Post by hoerbie »

Lebostein wrote: Wed Jan 12, 2022 4:44 pm IDE crashes in Mac OS while opening...
Mac OS 10.13.6, PureBasic_MacOSX_beta_X64_6.00
Confirmed for PureBasic_MacOSX_beta_X64_6.00 on macOS Monterey 12.1 on Intel MBP, bug report:
https://www.purebasic.fr/english/viewtopic.php?t=78494
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 2 released !

Post by mk-soft »

hoerbie wrote: Wed Jan 12, 2022 8:05 pm
Lebostein wrote: Wed Jan 12, 2022 4:44 pm IDE crashes in Mac OS while opening...
Mac OS 10.13.6, PureBasic_MacOSX_beta_X64_6.00
Confirmed for PureBasic_MacOSX_beta_X64_6.00 on macOS Monterey 12.1 on Intel MBP, bug report:
https://www.purebasic.fr/english/viewtopic.php?t=78494
Bug Found on macOS: Link: https://www.purebasic.fr/english/viewto ... 14#p579414
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: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Beta 2 released !

Post by Fred »

I just pushed new version for OS X x64 and x86, and Linux x86 which should solve the IDE issue.
mrbungle
Enthusiast
Enthusiast
Posts: 112
Joined: Wed Dec 30, 2020 3:18 am

Re: PureBasic 6.00 Beta 2 released !

Post by mrbungle »

Thanks for the fast fix, Fred! x86 beta 2 build seems to work.
morosh
Enthusiast
Enthusiast
Posts: 293
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

Re: PureBasic 6.00 Beta 2 released !

Post by morosh »

installing beta2 on w10-x64, ide crash:

https://1drv.ms/u/s!AsZvRpiLVtm4gtMIUKM ... g?e=WpB6kE
PureBasic: Surprisingly simple, diabolically powerful
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 2 released !

Post by mk-soft »

morosh wrote: Sat Jan 15, 2022 10:20 am installing beta2 on w10-x64, ide crash:

https://1drv.ms/u/s!AsZvRpiLVtm4gtMIUKM ... g?e=WpB6kE
Please read the bug reports first
Link: https://www.purebasic.fr/english/viewtopic.php?t=78496
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
Niffo
Enthusiast
Enthusiast
Posts: 500
Joined: Tue Jan 31, 2006 9:43 am
Location: France

Re: PureBasic 6.00 Beta 2 released !

Post by Niffo »

Update of my test previously done with Alpha 5.
With PB6 64 Beta 2 Windows - C backend :
- One medium project (20000 lines, based on OpenGL) does compile and perfectly runs this time ! :) (previously crash at launch time)
- One big project (70000 lines) does compile and launches the EXE ! :) (previously does not compile)
One more time : congratulations Fred !
Niffo
dige
Addict
Addict
Posts: 1247
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PureBasic 6.00 Beta 2 released !

Post by dige »

Has anyone already recompiled the IDE for Windows? I would like to continue testing with PB6....

Code: Select all

An Error has been detected in the IDE!
Error: Invalid memory access
File : c:\purebasic\svn\v5.80\GitHub\purebasic-dev\PureBasicIDE\AddTools.pb
Line : 230

IDE build on 01/12/2022 [10:46] by Fred
Branch: simplify-build  Revision: dd550cf551f6
"Daddy, I'll run faster, then it is not so far..."
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic 6.00 Beta 2 released !

Post by ChrisR »

In Compiler Options, for the Default target, Tab Constants, deselect #FredLocalCompil=1 and #SVNversion = 5.70

Or in PureBasicIDE\PureBasicIDE.pbp change (line 356, 358)

Code: Select all

<constant value="#FredLocalCompile=1" enable="1"/>
<constant value="#SVNVersion=&quot;v5.70&quot;" enable="1"/>
to

Code: Select all

<constant value="#FredLocalCompile=1" enable="0"/>
<constant value="#SVNVersion=&quot;v5.70&quot;" enable="0"/>

Also if you need, I modified the current build batch with some extra controls, auto-download and unzip UnixTool (if not already in the Path) and I added a menu to make it an AllInOne, you just need to open BuildMenu.cmd and follow the step or drag'n drop your TargetPath on BuildMenu.cmd.
The TargetPath must be Purebasic Beta2 v6.00 in a writable folder (ex: E:\PureBasic_Opensource\PureBasic_Windows_beta2_X64_6.00)
dige
Addict
Addict
Posts: 1247
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PureBasic 6.00 Beta 2 released !

Post by dige »

Hello ChrisR, thank you for pointing this out. Since I don't have Github, I can't compile the sources for myself.

Can you create a compilable snapshot of the IDE or an executable for Windows?

Thx and kind regards

dige
"Daddy, I'll run faster, then it is not so far..."
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic 6.00 Beta 2 released !

Post by ChrisR »

Punctually! here is the latest, x64: Purebasic_IDE.7z
Not much changed since beta 2 but this one: Fix crashing on IDE start/close, when a tool is set up to trigger in this case #194

Otherwise, for future building, it is probably better to persevere, it is quite simple to build now:
A simple way:
  • on github fantaisie-software/purebasic, use the Code button and Download zip
  • Extract devel.zip in one of your folders (writable, not in Program Files) ex D:\PureBasic_Opensource => D:\PureBasic_Opensource\devel
  • Copy or extract Purebasic beta2 v6.00 in this folder D:\PureBasic_Opensource => D:\PureBasic_Opensource\PureBasic_Windows_beta2_X64_6.00
    You can use Extract PureBasic Portable Batch to do it easily, with innounp.exe, the Inno Setup Unpacker, next to the batch
  • Download the modified batch Build_PBIDE.zip and extracts its content in: D:\PureBasic_Opensource\devel (the file D:\PureBasic_Opensource\devel\BuildMenu.cmd should exist)
  • Execute BuildMenu.cmd and follow the step, drag'n drop folder E:\PureBasic_Opensource\PureBasic_Windows_beta2_X64_6.00 and then choose Option 1: "Setting environment and Build the IDE".
    Or simple, drag'n drop folder E:\PureBasic_Opensource\PureBasic_Windows_beta2_X64_6.00 over BuildMenu.cmd and option 1
Done :)
Last edited by ChrisR on Fri Jan 21, 2022 11:09 am, edited 1 time in total.
morosh
Enthusiast
Enthusiast
Posts: 293
Joined: Wed Aug 03, 2011 4:52 am
Location: Beirut, Lebanon

Re: PureBasic 6.00 Beta 2 released !

Post by morosh »

Thanks ChrisR!
This is the x64 version, could you do the same with the x86 one?

Also trying the x64 version, it works but at start I've this error message:
https://1drv.ms/u/s!AsZvRpiLVtm4gtMQV2e ... g?e=ZTN7J8

Thanks
PureBasic: Surprisingly simple, diabolically powerful
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic 6.00 Beta 2 released !

Post by ChrisR »

Here it is, with both x64 and x86 version:Purebasic_IDE.7z
It include latest commit: Context sensitive AutoComplete for PB constants #183, very useful :)
Note that there are also, Enable Replace shortcut (Ctrl+H) #184, I have added, it is already included in beta2.
With: If the replacement is requested from a selection, use that selection as the search word and select the last entry replacement word.

Personally, I do not use the IDE in x86 version at all, I only use the IDE in x64 version and then I add the x86 compiler.

You should try yourself to build the IDE, with the above method. Again, it is really simple now, after Opensource PureBasic IDE now much easier to build

For your concern with the tools, I don't know, it it is maybe related to this Pull request: New tool triggers for open/file #195, not yet committed.
Post Reply