That is because your compiler does not know where to find the boost libraries. You need to download them, extract them, and then setup your build script/development environment to point to them.
If the compiler doesn't know where the Boost libraries are it wont be able to link your code to Boost.