Code::Blocks Forums

User forums => Help => Topic started by: Acode on January 24, 2020, 07:31:39 pm

Title: since yesterday my codeblocks takes a long time to compile and execute
Post by: Acode on January 24, 2020, 07:31:39 pm
since yesterday my codeblocks takes a long time to compile and execute like 4 seconds,
I have a:
i7-8700k
16 GB ram
1070
SSD
I have already tried:
Add codeblocks folder and projects folder  to exclusions of my antivirus
Reinstall codeblocks
 how can I fix it ?
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: oBFusCATed on January 24, 2020, 07:54:18 pm
You have to find out why it is slow.
Does it happen with a simple console project?
Have you looked in task manager?
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: stahta01 on January 24, 2020, 09:53:41 pm
Sounds like Windows OS, if all else fails, try shutting down and restarting the computer.

Tim S.
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: Acode on January 26, 2020, 08:08:51 pm
Yes this happens with quite simple projects, I've already checked the task manager and the only processes running are those of windows and other light ones like as spotify, nord vpn or discord.
Of course I've already tried to restart my OS.
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: stahta01 on January 26, 2020, 10:10:57 pm
If the problem is in Code::Blocks, I would disable all CB plugins except for the Compiler.

Does it get faster, if yes, then enabled one plugin at a time to see which one is making it slow.

If it does not get faster, try compiling from the command line. Is it still slow?

Tim S.
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: Acode on January 27, 2020, 12:56:33 pm
still slow :(
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: sodev on January 27, 2020, 01:49:34 pm
still slow :(

Does this slow also apply to this:

If it does not get faster, try compiling from the command line. Is it still slow?

If it does, maybe

since yesterday my codeblocks takes a long time to compile and execute like 4 seconds,

your program is now more than just a printf("Hello World!")? Because 4 seconds is like blazing fast for any of my programs.
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: stahta01 on January 27, 2020, 06:53:25 pm
Make sure the Compiler Folder is set inside the Anti-Virus correctly.

Tim S.
Title: Re: since yesterday my codeblocks takes a long time to compile and execute
Post by: stahta01 on January 27, 2020, 06:57:00 pm
If your project is multiple files:

Clean the whole project.
Compile one file at a time (You could find that one of the files takes a long time to compile; that means it is likely a code issue inside that file)

Tim S.