News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

CB tries to link a single file when i try to build it

Started by ShiroAisu, October 22, 2011, 02:36:21 PM

Previous topic - Next topic

ShiroAisu

Hi

When i try to build one of the files in my project (a specific one) CB tries to create an executable by linking only that single file...

What am i doing wrong here?

I can offer not much more information about the problem, but just moments ago i could build the file fine and it would build normaly.

I can still compile the whole project correctly and it will link correctly, so the problem only occurs when i try to build that specific file.

Alpha

It is correct behavior for Code::Blocks to attempt to compile and link a single file if no project is open.

Is there a reason why you are trying to compile (but not link) a single file (instead of the whole project)?