title: Linking error: undefined reference to `cv::VideoCapture::open(std::string const&)`
body: <p>I'm trying to use an <code>.avi</code> file as my source. (Camera capture already works.) My project compiles without problems, but during linking I get the error:</p>
  
  <p><code>undefined reference to 'cv::VideoCapture::open(std::string const&amp;)'</code></p>
  
  <p>What should I do? In which library is this <code>std::string</code> overload of <code>VideoCapture::open()</code> put?</p>
  
  <p><em><strong>Edit:</em></strong> <code>VideoCapture(0)</code> (camera capture) compiles, links and works, so <code>VideoCapture(std::string)</code> has to be somewhere else that in libs I'm already linking with... right?</p>
  
  <p><em><strong>Edit:</em></strong> <code>OpenCV</code> version: <code>2.4.9</code> (cloned from git yesterday).</p>