c++ - Error: Undefined reference symbol to cv::VideoCapture::~VideoCapture(), DSO missing from command line -
i trying run opencv code on raspberry pi following error /usr/bin/ld: cmakefiles/main.dir/main.o: undefined reference symbol 'cv::videocapture::~videocapture()' /usr/local/lib/libopencv_videoio.so.3.0: error adding symbols: dso missing command line dso stands "dynamic shared object" it's linking error. see this: opencv 2.4.7 error adding symbols: dso missing command line add -lopencv_features2d compile path.