Page 1 of 3

The compiler is not ready

Posted: Sun Feb 23, 2025 2:00 pm
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?

Re: The compiler is not ready

Posted: Sun Feb 23, 2025 2:33 pm
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.

Re: The compiler is not ready

Posted: Sun Feb 23, 2025 3:03 pm
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.

Re: The compiler is not ready

Posted: Sun Feb 23, 2025 3:18 pm
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.

Re: The compiler is not ready

Posted: Sun Feb 23, 2025 7:32 pm
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

Re: The compiler is not ready

Posted: Sun Feb 23, 2025 10:25 pm
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).

Re: The compiler is not ready

Posted: Mon Feb 24, 2025 3:42 pm
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 4:21 am
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 4:45 am
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 ?

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 7:45 am
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 8:17 am
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 8:29 am
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 11:29 am
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 11:44 am
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.

Re: The compiler is not ready

Posted: Thu Feb 27, 2025 1:08 pm
by BarryG
Sorry Randy, I was wrong; it's a debugger timeout setting, not a compiler timeout. Been a while since I set it.