PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Demivec
Addict
Addict
Posts: 4086
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: PureBasic 6.00 Alpha 1 released !

Post by Demivec »

My apologies, I know these comments can probably all be considered as off-topic but I think it is worth noting.
Tenaja wrote: Sun May 23, 2021 4:36 pm
Saki wrote: Sun May 23, 2021 2:43 pm I don't think it's our business to discuss how to market or market a product,
that we didn't create ourselves.
I don't agree. This is the only one remaining software I've purchased with "free updates for life." Every other one I've purchased has gone belly-up, or abandoned updates. And no, I would not say that pb was the best of all of the software.
IMHO I think it is solely Fantasy Software's determination how to market its products, and I recognize there is more than one way to do so. In addition IMHO individuals are free to donate funds (which I highly encourage if one is able to do so) as a goodwill offering or as a desire to speed or help development but they should be not feel compelled to do so or shamed for not doing so.

@Tenaja: I did want to share that I purchased life time updates for a text editor for a one-time fee based on the excellent experience I've had with my purchase of a use license for PureBasic 16 years ago and counting. The other software I had been forced to pay upgrade or an entirely new purchase price every 4 or 5 years whenever it's tally of improvements reached a big enough difference that I didn't want to be without the new features. When a life time of updates was finally made possible it was an easy decision based on my respect for the software and my experience with PureBasic. Like PureBasic, this other software included continuous updates for a variety of things of various levels of usefulness. It's nice to know that you can always have the most up-to-date version without having to continuously check your bank account. I think PureBasic's success and longevity thus far been at least in part due to this early decision by Fred.
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 6.00 Alpha 1 released !

Post by StarBootics »

Hello everyone,

@Fred or @Freak : Do you have an estimate about when PB V6.00 Alpha x will released for Linux OS ?

I can't wait to try it out.

Thanks
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
the.weavster
Addict
Addict
Posts: 1536
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 6.00 Alpha 1 released !

Post by the.weavster »

It seems a very solid Alpha, everything I've recompiled so far has worked perfectly :D
Fred wrote: Wed May 19, 2021 10:08 am

Code: Select all

- No DLL creation support (in progress)
Any chance of that making Alpha 2?
highend
Enthusiast
Enthusiast
Posts: 123
Joined: Tue Jun 17, 2014 4:49 pm

Re: PureBasic 6.00 Alpha 1 released !

Post by highend »

Including modules isn't supported (yet)?

If I include one module with just a single declared function I get this:

Code: Select all

---------------------------
PureBasic - Assembler error
---------------------------
purebasic.c: In function 'own$f_getownfilename':

purebasic.c:392:1: error: 'PB_DEBUGGER_LineNumber' undeclared (first use in this function); did you mean 'PB_DEBUGGER_LabelBank'?

 PB_DEBUGGER_LineNumber=33554464;

 ^~~~~~~~~~~~~~~~~~~~~~

 PB_DEBUGGER_LabelBank

purebasic.c:392:1: note: each undeclared identifier is reported only once for each function it appears in


---------------------------
OK   
---------------------------

davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic 6.00 Alpha 1 released !

Post by davido »

@jack,
Thank you for your comment.
Looks like I don't know what I am doing! :oops:
I'll try again.
I take no offence as there was none given. I only offer my thanks. :D
DE AA EB
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 6.00 Alpha 1 released !

Post by djes »

Do you realize that you just open C coding to billions of users without the hassle to install a Godzilla like IDE ?

Now, let do the same with Rust and you're in pole position.

Congrats, and thank you ! 8)
cas
Enthusiast
Enthusiast
Posts: 597
Joined: Mon Nov 03, 2008 9:56 pm

Re: PureBasic 6.00 Alpha 1 released !

Post by cas »

djes wrote: Mon May 24, 2021 7:16 pm Now, let do the same with Rust and you're in pole position.
There is no point in doing that because you can only get unsafe rust code. But, if you really want that, you can do it already. Get c code with /commented flag and then run it through c to rust transpiler (for example https://c2rust.com/).
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: PureBasic 6.00 Alpha 1 released !

Post by djes »

cas wrote: Mon May 24, 2021 9:17 pm
djes wrote: Mon May 24, 2021 7:16 pm Now, let do the same with Rust and you're in pole position.
There is no point in doing that because you can only get unsafe rust code. But, if you really want that, you can do it already. Get c code with /commented flag and then run it through c to rust transpiler (for example https://c2rust.com/).
Crusty at least. Thank you cas
juergenkulow
Enthusiast
Enthusiast
Posts: 544
Joined: Wed Sep 25, 2019 10:18 am

Re: PureBasic 6.00 Alpha /REASM POLINK errors

Post by juergenkulow »

Code: Select all

F:\PureBasic6Alpha\Compilers>pbcompilerc H:\pb2_21\myfunc2.pb /REASM /CONSOLE

******************************************
PureBasic 6.00 Alpha 1 - C Backend (Windows - x64)
******************************************

Loading 'C' subsystem
Compiling H:\pb2_21\myfunc2.pb
Loading external libraries...
ReAssembling source code...
Creating and launching executable.
Error: Linker
POLINK: error: Unresolved external symbol 'PB_FreeMemorys'.
POLINK: error: Unresolved external symbol 'PB_InitMemory'.
POLINK: error: Unresolved external symbol 'PB_OpenConsole'.
POLINK: error: Unresolved external symbol 'PB_Str'.
POLINK: error: Unresolved external symbol 'PB_Input'.
POLINK: error: Unresolved external symbol 'PB_PrintN'.
POLINK: fatal error: 6 unresolved external(s).

Is the polink command missing the files Console.lib, String.lib, Memory.lib, kernel32.lib,
PureBasic.res and the /ENTRY:pb_main?

Code: Select all

; Demo for modified /REASM
Procedure.q myfunc()
  ProcedureReturn 4711
EndProcedure

OpenConsole()
PrintN(Str(myfunc()))
Input()
End 

Code: Select all

F:\PureBasic6Alpha\Compilers>pbcompilerc H:\pb2_21\myfunc2.pb /COMMENTED /CONSOL
E

******************************************
PureBasic 6.00 Alpha 1 - C Backend (Windows - x64)
******************************************

Loading 'C' subsystem
Compiling H:\pb2_21\myfunc2.pb
Loading external libraries...
Starting compilation...
9 lines processed.
Creating and launching executable.

- Feel the ..PuRe.. Power -
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe
User avatar
tola
New User
New User
Posts: 9
Joined: Tue May 03, 2011 10:13 am
Location: France - Loire 42

Re: PureBasic 6.00 Alpha 1 released ! Bug on iPDF

Post by tola »

Hello,

I use a module PurePdfModule.

When i compile with pbcompilerc.exe i have a syntax error at line "MOV Eax,value".

Code: Select all

Procedure.l ipdf_EndianL(value.l)        ; Rescator : http://forums.purebasic.com/english/viewtopic.php?p=84270&sid=7f3f06eae02ad44b303655fb722bb0f0#p84270
    EnableASM
    MOV Eax,value      <-------------- The error is here !
    BSWAP Eax
    DisableASM
    ProcedureReturn
  EndProcedure
  
With pbcompiler.exe, my project compile normally.

Thanks a lot.

Christophe
+--=--=--=--=--=--=--=--=--=--+
i'm juste a poor old french coder lost in france !
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: PureBasic 6.00 Alpha 1 released !

Post by Saki »

#tola This is not supported with the C Backend

Make sure that the purifier is ever switched off on the Alpha 1,
otherwise there are not localizable crashes.
地球上の平和
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: PureBasic 6.00 Alpha 1 released !

Post by Saki »

Is there a compiler constant to check with which compiler is compiled ?
地球上の平和
cas
Enthusiast
Enthusiast
Posts: 597
Joined: Mon Nov 03, 2008 9:56 pm

Re: PureBasic 6.00 Alpha 1 released !

Post by cas »

Code: Select all

CompilerIf #PB_Compiler_Processor=#PB_Processor_C
  Debug "c backend"
CompilerElse
  Debug "fasm backend"
CompilerEndIf
kinglestat
Enthusiast
Enthusiast
Posts: 732
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Re: PureBasic 6.00 Alpha 1 released !

Post by kinglestat »

PB with C integration?
It's a dream come true.
Thank you guys
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: PureBasic 6.00 Alpha 1 released !

Post by Saki »

Many thanks @cas, exactly what I was looking for.
Last edited by Saki on Fri May 28, 2021 5:22 pm, edited 1 time in total.
地球上の平和
Post Reply