title: ubuntu: including boost to eclipse CDT when installed from Aptitude
body: <p>I am new to both C++ and eclipse and I am trying to use smart pointers.</p>
  
  <p>I installed boost using aptitude:</p>
  
  <pre><code>sudo apt-get install libboost-all-dev
  </code></pre>
  
  <p>then in my eclipse project I added "boost" to </p>
  
  <pre><code>/ properties / c/c++build / settings / cross G++ linker / Libraries /
  </code></pre>
  
  <p>now in my C++ I try to include smart pointers:</p>
  
  <pre><code>#include &lt;boost/smart_ptr.h&gt;
  </code></pre>
  
  <p>but I am told : unresolved inclusion: boost/smart_ptr.h</p>
  
  <p>I am really not sure why. From my (limited) understanding, I should not need to look for the path to to the libboost and to the include path of the compiler. I based this on the fact that I included other libraries installed by aptitude and I could include them in my code directly.</p>
  
  <p>Sounds like a basic question, but all the threads I could find were either about windows, or about boost being downloaded and manually compiled (in which case I understand the path has to be given to the compiler).</p>
  
  <p>Anything I am missing ?</p>
  
  <p>Thx a lot</p>