News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Build erroe.No include path.

Started by charleszy, July 15, 2008, 01:47:45 PM

Previous topic - Next topic

charleszy

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

CB 8.02
OS:Vista U
"no include path in which to search for iostream" :(
How to set include path?

MortenMacFly

Quote from: charleszy on July 15, 2008, 01:47:45 PM
"no include path in which to search for iostream" :(
Most likely you did not install the C++ compiler. Please search the forum/google before posting.
Not to forget: Make you question C::B relevant.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

charleszy

I've MinGW,and have set GNU GCC as default compiler.The compiler installation directory is right,but Additional Paths is blank,is that ok?

charleszy

It works properly now,I don't know why,strange.But anyway, thanks. :D