Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: charleszy on July 15, 2008, 01:47:45 pm

Title: Build erroe.No include path.
Post by: charleszy on July 15, 2008, 01:47:45 pm
#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?
Title: Re: Build erroe.No include path.
Post by: MortenMacFly on July 15, 2008, 01:49:20 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.
Title: Re: Build erroe.No include path.
Post by: charleszy on July 22, 2008, 06:11:11 pm
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?
Title: Re: Build erroe.No include path.
Post by: charleszy on July 23, 2008, 04:18:01 pm
It works properly now,I don't know why,strange.But anyway, thanks. :D