Hello there...
I just installed Code::Blocks and was surprised by how good it looks and feels. I really want to use it...but: I have this project going which uses sockets and all sorta stuff, i downloaded and installed cygwin...i'm not sure i did everything that needed doing but it looked good.
I could compile the example that came when you create a new console-application using mingw...but as soon as i switched to the cygwin environment (setting it up as the gcc compiler it seems to run into some trouble with the libraries/header files I dunno really what.
#include <iostream>
int main()
{
std::cout << "Hello world!" << std::endl;
return 0;
}
is what i'm trying to compile.
C:\Programme\cygwin
is where i setup cygwin and set the:
c-compiler: gcc.exe
c++ compiler: g++.exe
linker: g++.exe
...
everything lookin good...i can compile this though, so i guess the settings must be okay:
the build-message i get complains about something within \user\include\pthread.h (why does it even need that one??? is it used within iostream?)
when i compile the "Hello World" one within the cygwin-bash it works like a charm...am I missing something? thanks for any help!!! I am really just beginning to write c++...so please be gentle;)