Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: jank9201 on March 23, 2014, 02:07:14 am

Title: Do not compile subdirectory files
Post by: jank9201 on March 23, 2014, 02:07:14 am
    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?
Title: Re: Do not compile subdirectory files
Post by: stahta01 on March 23, 2014, 03:07:35 am
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 (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.