User forums > General (but related to Code::Blocks)

Do not compile subdirectory files

(1/1)

jank9201:
    I have a program, there are cpp source files in the  main directory and c source files in the subdirectory, now,if I click the build memu command, the compiler only compiled the main directory, does not compiled the c source files in the subdirectory into object files, how this happened? does any one can help me?

stahta01:
Are you using a CB Project?
If yes, are the files part of the CB project?

If yes, to both of the above, post the CB "Build Log" Please read the link this time!!!!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.

Navigation

[0] Message Index

Go to full version