title: Boost filesystem tutorial won't compile
body: <p>I try to compile the boost filesystem <a href="http://www.boost.org/doc/libs/1_47_0/libs/filesystem/v3/example/tut1.cpp" rel="nofollow">tutorial</a> in Code::Blocks
  And it comes up these errors</p>
  
  <pre><code>Linking console executable: bin\Debug\Boost fs tut1.exe
  obj\Debug\main.o: In function `_static_initialization_and_destruction_0':
  D:/Documents/Coding/Libs/boost/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
  D:/Documents/Coding/Libs/boost/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
  D:/Documents/Coding/Libs/boost/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
  obj\Debug\main.o: In function `ZN5boost11filesystem34path7codecvtEv':
  D:/Documents/Coding/Libs/boost/boost/filesystem/v3/path.hpp:388: undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()'
  obj\Debug\main.o: In function `convert':
  D:/Documents/Coding/Libs/boost/boost/filesystem/v3/path_traits.hpp:113: undefined reference to `boost::filesystem3::path_traits::convert(char const*, char const*, std::basic_string&lt;wchar_t, std::char_traits&lt;wchar_t&gt;, std::allocator&lt;wchar_t&gt; &gt;&amp;, std::codecvt&lt;wchar_t, char, int&gt; const&amp;)'
  obj\Debug\main.o: In function `file_size':
  D:/Documents/Coding/Libs/boost/boost/filesystem/v3/operations.hpp:366: undefined reference to `boost::filesystem3::detail::file_size(boost::filesystem3::path const&amp;, boost::system::error_code*)'
  collect2: ld returned 1 exit status
  Process terminated with status 1 (0 minutes, 0 seconds)
  6 errors, 0 warnings
  </code></pre>
  
  <p>I'm running it on windows 7 with Code::Blocks version 10.5, G++ version 4.4.1, and boost version 1.47</p>