###############QtOpenCV---04:58:06 AM############
Error Description:
undefined reference to `cvCreateCameraCapture'
undefined reference to `cvQueryFrame'
undefined reference to `cvReleaseCapture'
undefined reference to `cvQueryFrame'
Error Analysis:
Need to link to the OpenCV libraries.
Error solution:
Add the following code in .pro file:
INCLUDEPATE += ./usr/include/opencv
LIBS += /usr/lib/libcv.so
/usr/lib/libcv.so.4 /
/usr/lib/libcvaux.so /
/usr/lib/libcvaux.so.4 /
/usr/lib/libhighgui.so /
/usr/lib/libml.so /
/usr/lib/libcxcore.so /
Relative documents:
OpenCV Chinese Forum: http://www.opencv.org.cn/index.php/
GUI and Video Acquisition Reference: http://www710.univ-lyon1.fr/~bouakaz/OpenCV-0.9.5/docs/ref/OpenCVRef_Highgui.htm
###############QtOpenCV---08:48:16PM############
Error Description:
Starting /home/andrewlv/workspace/QtOpenCV/QtOpenCV...
HIGHGUI ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
Unable to stop the stream.: Device or resource busy
Unable to stop the stream.: Bad file descriptor
HIGHGUI ERROR: V4L: Pixel format of incoming image is unsupported by OpenCV
ASSERT: "camera" in file main.cpp, line 13
The program has unexpectedly finished.
/home/andrewlv/workspace/QtOpenCV/QtOpenCV exited with code 0
Error Analysis:
Some errors about OpenCV libraries visions?
Error solution:
apt-cache search libv4l
sudo apt-get install libv4l-ruby1.8
Relative documents:
http://www.opencv.org.cn/forum/viewtopic.php?f=1&t=5473
############################################