Answers for "undefined reference to `cv::VideoCapture::VideoCapture(cv::String const&)'"

C
0

undefined reference to `cv::VideoCapture::VideoCapture(cv::String const&)'

prashad@ubuntu:~/test$ g++ open_videofile.cpp  `pkg-config --cflags --libs opencv` 


Explanation:
need to compile opencv programs with `pkg-config --cflags --libs opencv` . 
it solve below undefined reference errors:

undefined reference to `cv::VideoCapture::VideoCapture(cv::String const&)'
Posted by: Guest on September-29-2020

Code answers related to "C"

Browse Popular Code Answers by Language