sorry, no fix for your problem...
your problem doesn't come from CodeBlocks,
it exists, because the free VC toolkit (VCTK) doesn't provide
all the libraries and tools which are coming with Visual C++ (VC)
which is'nt free, unfortunately.
mind using MinGW gcc instead, or use a full blown VC++
and PLEASE dont start crying and double-posting when not getting
an immediate answer for your (trivial, if knowing google.com) question.