Page 1 of 1

PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found

Posted: Fri Feb 13, 2026 9:38 pm
by Andre
Title says it all.... just check:

Code: Select all

Debug #PB_Editor_CreateExecutable
Probably even more such constants (=> https://www.purebasic.com/documentation ... piler.html) are affected. I just felt about this one when compiling one of my codes with the newer PB versions...

Re: PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found

Posted: Fri Feb 13, 2026 11:50 pm
by User_Russian
In the "Compiler Options" window, click on the "Constants" tab and check the "#PB_Editor_CreateExecutable".

Re: PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found

Posted: Sat Feb 14, 2026 7:28 am
by Little John
User_Russian wrote: Fri Feb 13, 2026 11:50 pm In the "Compiler Options" window, click on the "Constants" tab and check the "#PB_Editor_CreateExecutable".
I never understood why this is necessary. Why can't the constant #PB_Editor_CreateExecutable be always generally available, like most other built-in constants that start with #PB_ :?:

Re: PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found

Posted: Sat Feb 14, 2026 11:24 am
by Andre
Little John wrote: Sat Feb 14, 2026 7:28 am
User_Russian wrote: Fri Feb 13, 2026 11:50 pm In the "Compiler Options" window, click on the "Constants" tab and check the "#PB_Editor_CreateExecutable".
I never understood why this is necessary. Why can't the constant #PB_Editor_CreateExecutable be always generally available, like most other built-in constants that start with #PB_ :?:
I mean that this worked before?
Or it's just a lost IDE configuration when I started with a fresh PB6.30 on a new laptop, and wasn't aware of the needed compiler option I had always on with older PB versions for many years on the previous laptop :o

But I second the suggestion of Little John, the compiler shouldn't need the IDE configuration for this constants :idea:

Re: PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found

Posted: Sat Feb 14, 2026 2:48 pm
by Axolotl
Yes, for me this constant and it's name (as well as the other two (#PB_Editor_BuildCount, #PB_Editor_CompileCount)) is somehow strange. I have already considered this issue here: #PB_Editor_CreateExecutable not recognized