News:

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

Main Menu

Do not compile subdirectory files

Started by jank9201, March 23, 2014, 02:07:14 AM

Previous topic - Next topic

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

#1
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]