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

Just starting out? Need help? Post your questions and find answers here.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2163
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

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

Post 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...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User_Russian
Addict
Addict
Posts: 1629
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

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

Post by User_Russian »

In the "Compiler Options" window, click on the "Constants" tab and check the "#PB_Editor_CreateExecutable".
Little John
Addict
Addict
Posts: 4852
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

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

Post 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_ :?:
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2163
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

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

Post 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:
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Axolotl
Addict
Addict
Posts: 935
Joined: Wed Dec 31, 2008 3:36 pm

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

Post 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
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Post Reply