title: c++ files to include for boost : asio
body: <p>I'm following <a href="http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/tutorial/tuttimer1.html" rel="nofollow">this tutorial</a> however it does not state which libaries I need to include in order to get boost to work,current options for links are: </p>
  
  <pre><code>-I/usr/include/opencv2 -I/usr/include/boost_1_55_0 -I/usr/include/boost_1_55_0/boost -O0 -g3 -Wall -c -fmessage-length=0
  </code></pre>
  
  <p>however this returns the following erro: </p>
  
  <p>which states that it can't find asio, am I doing something wrong or was assio the wrong library to link to? Or is there any other way to find out. Note that this is my 2nd c++ project(through I have a lot of java experience) and first with the heavy use of libraries so details are somewhat required. </p>
  
  <p>Removing boost/asio gave me the following errors: </p>
  
  <pre><code>make all 
  Building target: DisplayImage
  Invoking: GCC C++ Linker
  g++ -L/usr/include/opencv2 -L/usr/include/boost_1_55_0/boost -L/usr/include/boost_1_55_0 -L/usr/include/opencv2 -L/usr/lib -o "DisplayImage"  ./src/Cap.o ./src/DisplayImage.o ./src/Filters.o ./src/sender.o   -lopencv_imgproc -lopencv_highgui -lopencv_core
  ./src/sender.o: In function `__static_initialization_and_destruction_0':
  /usr/include/boost_1_55_0/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()'
  /usr/include/boost_1_55_0/boost/system/error_code.hpp:223: undefined reference to `boost::system::generic_category()'
  /usr/include/boost_1_55_0/boost/system/error_code.hpp:224: undefined reference to `boost::system::system_category()'
  ./src/sender.o: In function `error_code':
  /usr/include/boost_1_55_0/boost/system/error_code.hpp:323: undefined reference to `boost::system::system_category()'
  ./src/sender.o: In function `boost::asio::error::get_system_category()':
  /usr/include/boost_1_55_0/boost/asio/error.hpp:224: undefined reference to `boost::system::system_category()'
  collect2: ld returned 1 exit status
  make: *** [DisplayImage] Error 1
  </code></pre>
  
  <p><em><strong></em> Build Finished **</strong></p>
  
  <p>I use an ubuntu (x64) laptop if it matters. </p>