Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: mariusm on March 01, 2023, 09:08:53 am
-
C::B loading slow on startup, how can I speed up? I disable some plugins but still loading slow.
I see, C::B check the compiler on startup, maybe this is the problem.
How can I disable compiler check on startup?
-
C::B loading slow on startup, how can I speed up? I disable some plugins but still loading slow.
I see, C::B check the compiler on startup, maybe this is the problem.
How can I disable compiler check on startup?
What OS? Windows, Linux, Mac ?
If Windows and you're using a virus checker, try excluding CodeBlocks folder from the virus checker.
-
Windows, version 20.3 in fact all versions loading slow on startup compared to other programs like, e.g. Visual Studio
It's not from another program, it's from C::B, execute some useless jobs on startup.
Nor do I have virus checker or other.
-
Windows, version 20.3 in fact all versions loading slow on startup compared to other programs like, e.g. Visual Studio
It's not from another program, it's from C::B, execute some useless jobs on startup.
Nor do I have virus checker or other.
Exactly from where did you download CodeBlocks?
Can you be more specific. What do you mean by
It's not from another program, it's from C::B, execute some useless jobs on startup.
Can you give us the exact steps so that we can re-create the problem?
Do you actually have a compiler that CodeBlocks can use?
You might want to look here
https://forums.codeblocks.org/index.php/topic,25302.msg172433.html#msg172433
and download a more recent version.
-
FYI: At one time the compiler detection feature wasted a lot of time for me on startup. I thought this was fixed.
Once I set a compiler path for all the compilers, it wasted less time.
Note: The path did not have to be correct except for the default compiler and any one you use.
Tim S.
-
I set Visual C++ compiler as default, the compiler working. But C::B still delay on loading
-
I set Visual C++ compiler as default, the compiler working. But C::B still delay on loading
Did you then set all the other compiler using auto detection? This is needed if CB is complaining about not finding an compiler!
If you want help you need to post information needed to understand the problem.
If no more info is posted I know I will give up trying to help.
Tim S.
-
I never says: "CB is complaining about not finding an compiler"
I says "C::B check the compiler on startup" this produce delay on startup. Checking the compiler at startup is useless and causes a slow load. It doesn't even make sense to check the compiler to the start because the check is done on the build command.
I hope to be clearer now.
-
I can not tell you any more I suggest you answer where you downloaded the version of CB you got. Or are you going to ignore the other person trying to help you.
I told what I did that helped, if you do not wish to detect the paths of every compiler I have nothing else to suggest.
Tim S.
-
I don't see how someone who doesn't read what I wrote could help me. I said "Windows, version 20.3 in fact all versions loading slow on startup compared to other programs"
It's not a single version 20.3, there are several ?
From the https://sourceforge.net/projects/codeblocks/files/Binaries/20.03/
Can you explain to me what this information helps with?
-
Yep, because they are people using an flatpack version under Linux that fails to work.
And, there are versions that run under windows that are not made by the CB team.
So, have you went and selected each CB toolchain and autodetected it?
If not as I have already stated that speed it up in the past; but, when I did it gave clues to which CB toolchain was causing problems.
But, you seem to have no clues on which one is causing problems.
Also, CB used to always look for an MINGW GCC and it might be much slower if one was not installed.
Do you have an MinGW GCC installed and CB configured to find it?
Tim S.
-
Have installed MINGW GCC, compile succesfully but not autodetect...
-
Have installed MINGW GCC, compile succesfully but not autodetect...
So, did you configure CB for the MINGW GCC you installed or not.
I can read your answer as yes or no.
Tim S.