Question is: Did you even Google? Did you search this forum?
People only send you there when they know that the problem can be very easily solved by doing some research first...
If you get an error message, do you think it's enough to vaguely describe it? Always provide the exact error message.
And no, it's not a problem with Code::Blocks, but most likely some wrong linking. Read the tutorials carefully again.