User forums > Help

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

(1/1)

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)?

Navigation

[0] Message Index

Go to full version