User forums > Using Code::Blocks

code blocks dragging down the cpu when building makefile project

(1/1)

mingkoonkat:

Since our project has its own build system then I use the makefile project feature of code blocks on Ubuntu.

I observer (using top) that code blocks is using 100% of the cpu during builds and that the compiler runs only intermittently and is allowed somewhere between 4 and 30 % of the CPU. This really slows down the build, and so lacking any clear idea on what to do to fix the situation I just build the code outside the IDE, when I am using code blocks.

stahta01:
I suggest disabling all CB Plugins except for the Compiler Plugin and see if the problem has gone away.

If it still has the problem, I also suggest using the tool or toolplus plugin to run the makefile instead of the CB Compiler Plugin.

Tim S.

mingkoonkat:

Thanks for that suggestion.

I just finished disabling all plugins with the one exception being the compiler plugin, and after restarting C::B, I continue to see the same behaviour.

It looks like I don’t have either of the tool or toolplus plugins, so perhaps I will need to find a source and install them.

oBFusCATed:
Do you have many warnings produced by your build?
If not then the problem is caused by wxExecute/wxProcess calls :(

Navigation

[0] Message Index

Go to full version