Author Topic: Build erroe.No include path.  (Read 4727 times)

Offline charleszy

  • Single posting newcomer
  • *
  • Posts: 3
Build erroe.No include path.
« 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: Build erroe.No include path.
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline charleszy

  • Single posting newcomer
  • *
  • Posts: 3
Re: Build erroe.No include path.
« Reply #2 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?

Offline charleszy

  • Single posting newcomer
  • *
  • Posts: 3
Re: Build erroe.No include path.
« Reply #3 on: July 23, 2008, 04:18:01 pm »
It works properly now,I don't know why,strange.But anyway, thanks. :D