title: Error: Undefined reference symbol to cv::VideoCapture::~VideoCapture(), DSO missing from command line
body: <p>I am trying to run my opencv code on raspberry pi but i get the  following error</p>
  
  <pre><code>/usr/bin/ld: CMakeFiles/main.dir/main.o: undefined reference to symbol 'cv::VideoCapture::~VideoCapture()'
  /usr/local/lib/libopencv_videoio.so.3.0: error adding symbols: DSO missing from command line
  </code></pre>