You previously installed smartwin++ library. It is not part of CB and not part of the included MinGW compiler.
As such you need to google smartwin++ and follow the install instructions for the OS and compiler version(s) you are using. Better still if you have instructions from when you setup your dev environment in the fist place see how you installed it then.