Code::Blocks Forums

User forums => Help => Topic started by: John Voelkel on January 19, 2017, 01:41:15 am

Title: how to direct CB to the include items.
Post by: John Voelkel on January 19, 2017, 01:41:15 am
When I try to compile I get an error at #include.  Some files that at an earlier time when CB was working run but submitting a new file and trying to compile it I get the error at #include <iostream>
I think the location of include is not being found by CB
Please advise, thanks for the help. I am 84 and a bit slow

John
Title: Re: how to direct CB to the include items.
Post by: stahta01 on January 19, 2017, 02:02:21 am
Make sure the filename ends in .cpp

If you still have problems post a build log.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)

Tim S.
Title: Re: how to direct CB to the include items.
Post by: John Voelkel on January 19, 2017, 02:13:27 am
Thanks Tim I thought I made sure of this.  I just wrote a small file and it compiled and ran
correctly.