User forums > Help
CB can't find iostream
msm98lw:
I am new to code::blocks.
I installed cb mingw on a windows 7 machine. I used settings to specify the root directory for the compiler exes and linker settings to specify the path for the include files.
When I tried to compile Hello World (you have to start somewhere) I got a message "fatal error: iostream: no such file or directory".
What am I doing wrong?
Lew
msm98lw:
OK I found how to set the path for the include modules and the .h modules.
Now the compile message is "build file: "no target" in CS390 Learning (compiler: GNU GCC compiler)
As far as I can tell the target is set to debug.
stahta01:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
msm98lw:
Thanks staht01, that helped get me through not finding a .h module.
Now it's blowing up on "namespace std _GLIBCXX_VISIBILITY (default)" which is a line in iostream.
Looks like it's hands on help from the instructor or ...
stahta01:
If you post the full rebuild log; I might be able to see the causes of some simple errors.
For C or C++ programming questions/help I suggest, http://cboard.cprogramming.com/forum.php
--- Code: ---http://cboard.cprogramming.com/forum.php
--- End code ---
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version