Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jakub@T470p:~/MartyCam/build$ make
- Scanning dependencies of target OpenCVCameraTest2
- [ 3%] Building CXX object CMakeFiles/OpenCVCameraTest2.dir/test/OpenCVCameraTest2.cpp.o
- [ 7%] Linking CXX executable bin/OpenCVCameraTest2
- [ 7%] Built target OpenCVCameraTest2
- Scanning dependencies of target OpenCVCameraTest
- [ 11%] Building CXX object CMakeFiles/OpenCVCameraTest.dir/test/OpenCVCameraTest.cpp.o
- [ 14%] Linking CXX executable bin/OpenCVCameraTest
- [ 14%] Built target OpenCVCameraTest
- [ 18%] Qt Wrapped File
- [ 22%] Generating qrc_resources.cpp
- [ 25%] Generating ui_settings.h
- [ 29%] Generating ui_martycam.h
- [ 33%] Qt Wrapped File
- [ 37%] Qt Wrapped File
- [ 40%] Qt Wrapped File
- [ 44%] Qt Wrapped File
- Scanning dependencies of target MartyCam
- [ 48%] Building CXX object CMakeFiles/MartyCam.dir/capturethread.cpp.o
- /home/jakub/MartyCam/capturethread.cpp: In constructor ‘CaptureThread::CaptureThread(ImageBuffer, const Size&, int, const string&)’:
- /home/jakub/MartyCam/capturethread.cpp:59:27: warning: passing NULL to non-pointer argument 1 of ‘cv::VideoCapture::VideoCapture(int)’ [-Wconversion-null]
- this->capture = NULL;
- ^
- /home/jakub/MartyCam/capturethread.cpp:63:27: warning: passing NULL to non-pointer argument 1 of ‘cv::Scalar_<_Tp>::Scalar_(_Tp) [with _Tp = double]’ [-Wconversion-null]
- this->rotatedImage = NULL;
- ^
- /home/jakub/MartyCam/capturethread.cpp:66:71: error: ‘CV_FONT_HERSHEY_PLAIN’ was not declared in this scope
- this->text_size = cv::getTextSize( timestring.toUtf8().constData(), CV_FONT_HERSHEY_PLAIN, 1.0, 1, NULL);
- ^
- /home/jakub/MartyCam/capturethread.cpp:70:23: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FRAME_WIDTH, size.width);
- ^
- /home/jakub/MartyCam/capturethread.cpp:71:23: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FRAME_HEIGHT, size.height);
- ^
- /home/jakub/MartyCam/capturethread.cpp:76:29: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
- int w = this->capture.get(CV_CAP_PROP_FRAME_WIDTH);
- ^
- /home/jakub/MartyCam/capturethread.cpp:77:29: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
- int h = this->capture.get(CV_CAP_PROP_FRAME_HEIGHT);
- ^
- /home/jakub/MartyCam/capturethread.cpp: In member function ‘bool CaptureThread::startCapture()’:
- /home/jakub/MartyCam/capturethread.cpp:220:25: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FRAME_WIDTH, this->imageSize.width);
- ^
- /home/jakub/MartyCam/capturethread.cpp:221:25: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FRAME_HEIGHT, this->imageSize.height);
- ^
- /home/jakub/MartyCam/capturethread.cpp:224:25: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FRAME_WIDTH, 2048);
- ^
- /home/jakub/MartyCam/capturethread.cpp:225:25: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FRAME_HEIGHT, 2048);
- ^
- /home/jakub/MartyCam/capturethread.cpp:227:23: error: ‘CV_CAP_PROP_FPS’ was not declared in this scope
- this->capture.set(CV_CAP_PROP_FPS, this->requestedFPS);
- ^
- /home/jakub/MartyCam/capturethread.cpp:229:66: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
- output << "CV_CAP_PROP_FRAME_WIDTH\t" << this->capture.get(CV_CAP_PROP_FRAME_WIDTH) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp:230:66: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
- output << "CV_CAP_PROP_FRAME_HEIGHT\t" << this->capture.get(CV_CAP_PROP_FRAME_HEIGHT) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp:232:66: error: ‘CV_CAP_PROP_FOURCC’ was not declared in this scope
- output << "CV_CAP_PROP_FOURCC\t" << this->capture.get(CV_CAP_PROP_FOURCC) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp:233:66: error: ‘CV_CAP_PROP_BRIGHTNESS’ was not declared in this scope
- output << "CV_CAP_PROP_BRIGHTNESS\t" << this->capture.get(CV_CAP_PROP_BRIGHTNESS) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp:234:66: error: ‘CV_CAP_PROP_CONTRAST’ was not declared in this scope
- output << "CV_CAP_PROP_CONTRAST\t" << this->capture.get(CV_CAP_PROP_CONTRAST) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp:235:66: error: ‘CV_CAP_PROP_SATURATION’ was not declared in this scope
- output << "CV_CAP_PROP_SATURATION\t" << this->capture.get(CV_CAP_PROP_SATURATION) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp:236:66: error: ‘CV_CAP_PROP_HUE’ was not declared in this scope
- output << "CV_CAP_PROP_HUE\t" << this->capture.get(CV_CAP_PROP_HUE) << std::endl;
- ^
- /home/jakub/MartyCam/capturethread.cpp: In member function ‘void CaptureThread::startTimeLapse(double)’:
- /home/jakub/MartyCam/capturethread.cpp:292:35: error: ‘CV_FOURCC’ was not declared in this scope
- CV_FOURCC('X', 'V', 'I', 'D'),
- ^
- /home/jakub/MartyCam/capturethread.cpp: In member function ‘void CaptureThread::saveAVI(const cv::Mat&)’:
- /home/jakub/MartyCam/capturethread.cpp:325:35: error: ‘CV_FOURCC’ was not declared in this scope
- CV_FOURCC('X', 'V', 'I', 'D'),
- ^
- /home/jakub/MartyCam/capturethread.cpp: In member function ‘void CaptureThread::captionImage(cv::Mat&)’:
- /home/jakub/MartyCam/capturethread.cpp:390:73: error: ‘cvPoint’ was not declared in this scope
- cvPoint(image.size().width - text_size.width - 4, text_size.height+4),
- ^
- /home/jakub/MartyCam/capturethread.cpp:391:5: error: ‘CV_FONT_HERSHEY_PLAIN’ was not declared in this scope
- CV_FONT_HERSHEY_PLAIN, 1.0, cv::Scalar(255, 255, 255, 0), 1);
- ^
- CMakeFiles/MartyCam.dir/build.make:100: recipe for target 'CMakeFiles/MartyCam.dir/capturethread.cpp.o' failed
- make[2]: *** [CMakeFiles/MartyCam.dir/capturethread.cpp.o] Error 1
- CMakeFiles/Makefile2:173: recipe for target 'CMakeFiles/MartyCam.dir/all' failed
- make[1]: *** [CMakeFiles/MartyCam.dir/all] Error 2
- Makefile:83: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment