Problems with code::blocks compiling(build and run)

Started by
5 comments, last by Tallkotten 11 years, 9 months ago
Hello!

Only just recently I've begun to experience problems when building a project in Code::blocks. It has gotten to the point where i cant see a simple change in a variable eg:
[source lang=java]for(int i = 0; i < 10; i++)

//changed to

for(int i = 0; i < 5; i++)[/source]

Unless i rebuild the entire project which is very tiring and becomes quite a hassle if you are trying to fix a specific problem which only includes one file. At first i thought that it should work if i choose to build ONLY the file which I've changed something in since the last build, which also made sense. But no, i have to rebuild it all.

I think i know what the problem is. Is doesn't create a new .exe fun unless i rebuild it. I've confirmed this by looking at the time last changed on the file, and it doesn't change if i "build & run" which it did before.

Anyway I've tried to re-install it and it didn't help at all and I've found near to nothing when google:ing. I really do hope that i can get some help from here!

Thanks alot for taking the time to read my post smile.png
Advertisement
Have you tried to compile with another compiler?
I haven't yet actually. can you recommend a compiler?

I actually installed VIsual c++ 2010 yesterday but i never enabled SDL with it
Code::Blocks comes with a bunch of plugins pre-installed. Perhaps one of them is causing the problem. Using the plugin manager you can disable and uninstall some plugins. Try that for a fix.
Do you have any idea of which plugins to disable? Had a whole list of them :/

List: http://cl.ly/HoBm
This is my build log after pressing F9 (build and run)

"Checking for existence: C:\Users\Johan\Documents\CodeBlocks\Spel\bin\Debug\Spel.exe
Executing: "C:\Users\Johan\Documents\CodeBlocks\Spel\bin\Debug\Spel.exe" (in C:\Users\Johan\Documents\CodeBlocks\Spel\.)
Process terminated with status 0 (0 minutes, 2 seconds)"

It never seems to make a new exe :/
I posted the same problem on the Code::Blocks forum and I've finally solved it.

Here is the link to the forum-thread:
http://forums.codeblocks.org/index.php/topic,16540.new.html#new

This topic is closed to new replies.

Advertisement