The compiler is not ready

Just starting out? Need help? Post your questions and find answers here.
jak64
Enthusiast
Enthusiast
Posts: 619
Joined: Sat Aug 15, 2020 5:02 pm
Location: Ciboure (France)

The compiler is not ready

Post by jak64 »

Hello everyone,

I'm on Windows 11 and for some time, and regardless of the version of Purebasic (5.73 to 6.20), I get this message when I try to launch a program from the editor:
"The compiler is not ready yet... Please try again"!

I then try to restart the compiler, but nothing works!

I have, of course, a license.

Can you help me?
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: The compiler is not ready

Post by Mijikai »

I can confirm as i also had this for a while but then it stopped not sure what exactly did the job
(played around with the settings) nor why it was happening in the first place.

But i remember having other (older) compilers still listed which i removed.
Sometimes the compiler is still slow i suspect its because MS defender nonsense is scanning it.
MGD
User
User
Posts: 16
Joined: Wed Jul 27, 2022 8:31 pm

Re: The compiler is not ready

Post by MGD »

I've also been seeing this more lately on Windows 11. It seems usually restarting the compiler fixes it, but sometimes an IDE relaunch is required. I haven't pinned down the circumstances to make a more informed report.
User avatar
NicTheQuick
Addict
Addict
Posts: 1503
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: The compiler is not ready

Post by NicTheQuick »

It's surely an issue because of a virus scanner. They usually delay the start of applications like a new compiler version too much and then the IDE does not see it running.
Just uninstall annoying virus scanners or configure them in a way it won't scan your Purebasic compiler directory.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
jak64
Enthusiast
Enthusiast
Posts: 619
Joined: Sat Aug 15, 2020 5:02 pm
Location: Ciboure (France)

Re: The compiler is not ready

Post by jak64 »

Hello everyone,
For information, I only have the antivirus integrated into Windows 11, but indeed, good idea, I am going to remove the PuraBasic folders from the antivirus analysis
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: The compiler is not ready

Post by Quin »

jak64 wrote: Sun Feb 23, 2025 7:32 pm Hello everyone,
For information, I only have the antivirus integrated into Windows 11, but indeed, good idea, I am going to remove the PuraBasic folders from the antivirus analysis
Even the default Microsoft defender can be quite invasive, especially if you have what Microsoft internally calls Spynet turned on (note: it's called "Cloud-delivered protection" in the GUI to make it sound less scary, and is turned on by default).
Jeff8888
User
User
Posts: 40
Joined: Fri Jan 31, 2020 6:48 pm

Re: The compiler is not ready

Post by Jeff8888 »

I have noticed this too with PB 5.73 and Windows 10. With the task manager running I observed high use of antimalware service executable when loading PB. It ends when PB shows welcome on board. Time varies quite a bit. Hopefully as others have posted this will go away.
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: The compiler is not ready

Post by Randy Walker »

NicTheQuick wrote: Sun Feb 23, 2025 3:18 pm It's surely an issue because of a virus scanner..
This is surely not true. I have no antivirus crap and i have the same issue on v5.62 and v6.20 except it does start when I do the [restart compiler] option. Also Windows 11. My defender crap is as disabled as possible. Uhhhh I hate Defender and all antivirus BS. It's all BS.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
moricode
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 25, 2023 3:55 am

Re: The compiler is not ready

Post by moricode »

The purebasic compiler usage design is weir , if we only want to edit code or just studying the long code from some where , why would we need to load the compiler when we don't want to do compiling at all ?

ooh, you may say use other EDITOR like notepad++ to studying when you don't want to compiler ?

NO, this is not an excuse to limiting/prohibit people to use the PB IDE .

what is in the behind mechanism and why we need to load compiler every time we open IDE ?
AZJIO
Addict
Addict
Posts: 2141
Joined: Sun May 14, 2017 1:48 am

Re: The compiler is not ready

Post by AZJIO »

moricode wrote: Thu Feb 27, 2025 4:45 am ooh, you may say use other EDITOR like notepad++ to studying when you don't want to compiler ?
We can say something else. For example, download the IDE sources and fix it the way you want. You'll say you have more important things to do. But developers have more important things to do, too.

I like your idea. It just seems from what you say that the developers are making a less than perfect editor on purpose.
moricode
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 25, 2023 3:55 am

Re: The compiler is not ready

Post by moricode »

AZJIO wrote: Thu Feb 27, 2025 7:45 am
We can say something else. For example, download the IDE sources and fix it the way you want. You'll say you have more important things to do. But developers have more important things to do, too.
I wish i could do that , but i am stupid and do not understand more on this IDE source.
BarryG
Addict
Addict
Posts: 4122
Joined: Thu Apr 18, 2019 8:17 am

Re: The compiler is not ready

Post by BarryG »

jak64 wrote: Sun Feb 23, 2025 2:00 pmThe compiler is not ready yet
[Edit] I was wrong here; it's a debugger timeout setting, not a compiler timeout.
Last edited by BarryG on Thu Feb 27, 2025 1:08 pm, edited 1 time in total.
User avatar
NicTheQuick
Addict
Addict
Posts: 1503
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: The compiler is not ready

Post by NicTheQuick »

moricode wrote: Thu Feb 27, 2025 4:45 amwhat is in the behind mechanism and why we need to load compiler every time we open IDE ?
Without loading the compiler the IDE can not give proper syntax highlighting or recognize certain library functions, if I remember that right. So the compiler is used to retrieve information about all the available library functions because they are varying from version to version.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: The compiler is not ready

Post by Randy Walker »

BarryG wrote: Thu Feb 27, 2025 8:29 am
jak64 wrote: Sun Feb 23, 2025 2:00 pmThe compiler is not ready yet
In PureBasic's prefs is a setting where you can change the timeout for the compiler to be ready. Maybe make it longer?
Thanks BarrtG !!! I'll try that when I get time.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
BarryG
Addict
Addict
Posts: 4122
Joined: Thu Apr 18, 2019 8:17 am

Re: The compiler is not ready

Post by BarryG »

Sorry Randy, I was wrong; it's a debugger timeout setting, not a compiler timeout. Been a while since I set it.
Post Reply