User forums > Help
Error when building
(1/1)
Cheshire:
Operating System: Windows Vista
The error returned from trying to build my Hello world! program is this when I click build-
C:\Program Files\CodeBlocks\Hello world.cpp:1:20: no include path in which to search for iostream
ollydbg:
Welcome to this forum!
Which version of Code::Blocks? Which Compiler?
Why to use a file named HelloWorld.cpp or Hello_World.cpp. :D
Cheshire:
--- Quote from: ollydbg on February 28, 2009, 02:48:28 am ---Welcome to this forum!
Which version of Code::Blocks? Which Compiler?
Why to use a file named HelloWorld.cpp or Hello_World.cpp. :D
--- End quote ---
Ah yes, sorry.
Compiler: Default (i think this is the GNU CCC Compiler or something like that)
Version: 8.02
I used Helloworld.cpp as a test file to see if it would work.
--- Code: ---C:\Program Files\CodeBlocks\Hello world.cpp|1|no include path in which to search for iostream|
C:\Program Files\CodeBlocks\Hello world.cpp||In function `int main()':|
C:\Program Files\CodeBlocks\Hello world.cpp|5|error: `cout' was not declared in this scope|
||=== Build finished: 2 errors, 0 warnings ===|
--- End code ---
Cheshire:
o.o
Navigation
[0] Message Index
Go to full version