Guest User

Untitled

a guest
Jul 2nd, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.05 KB | None | 0 0
  1. jakub@T470p:~/MartyCam/build$ make
  2. Scanning dependencies of target OpenCVCameraTest2
  3. [ 3%] Building CXX object CMakeFiles/OpenCVCameraTest2.dir/test/OpenCVCameraTest2.cpp.o
  4. [ 7%] Linking CXX executable bin/OpenCVCameraTest2
  5. [ 7%] Built target OpenCVCameraTest2
  6. Scanning dependencies of target OpenCVCameraTest
  7. [ 11%] Building CXX object CMakeFiles/OpenCVCameraTest.dir/test/OpenCVCameraTest.cpp.o
  8. [ 14%] Linking CXX executable bin/OpenCVCameraTest
  9. [ 14%] Built target OpenCVCameraTest
  10. [ 18%] Qt Wrapped File
  11. [ 22%] Generating qrc_resources.cpp
  12. [ 25%] Generating ui_settings.h
  13. [ 29%] Generating ui_martycam.h
  14. [ 33%] Qt Wrapped File
  15. [ 37%] Qt Wrapped File
  16. [ 40%] Qt Wrapped File
  17. [ 44%] Qt Wrapped File
  18. Scanning dependencies of target MartyCam
  19. [ 48%] Building CXX object CMakeFiles/MartyCam.dir/capturethread.cpp.o
  20. /home/jakub/MartyCam/capturethread.cpp: In constructor ‘CaptureThread::CaptureThread(ImageBuffer, const Size&, int, const string&)’:
  21. /home/jakub/MartyCam/capturethread.cpp:59:27: warning: passing NULL to non-pointer argument 1 of ‘cv::VideoCapture::VideoCapture(int)’ [-Wconversion-null]
  22. this->capture = NULL;
  23. ^
  24. /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]
  25. this->rotatedImage = NULL;
  26. ^
  27. /home/jakub/MartyCam/capturethread.cpp:66:71: error: ‘CV_FONT_HERSHEY_PLAIN’ was not declared in this scope
  28. this->text_size = cv::getTextSize( timestring.toUtf8().constData(), CV_FONT_HERSHEY_PLAIN, 1.0, 1, NULL);
  29. ^
  30. /home/jakub/MartyCam/capturethread.cpp:70:23: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
  31. this->capture.set(CV_CAP_PROP_FRAME_WIDTH, size.width);
  32. ^
  33. /home/jakub/MartyCam/capturethread.cpp:71:23: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
  34. this->capture.set(CV_CAP_PROP_FRAME_HEIGHT, size.height);
  35. ^
  36. /home/jakub/MartyCam/capturethread.cpp:76:29: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
  37. int w = this->capture.get(CV_CAP_PROP_FRAME_WIDTH);
  38. ^
  39. /home/jakub/MartyCam/capturethread.cpp:77:29: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
  40. int h = this->capture.get(CV_CAP_PROP_FRAME_HEIGHT);
  41. ^
  42. /home/jakub/MartyCam/capturethread.cpp: In member function ‘bool CaptureThread::startCapture()’:
  43. /home/jakub/MartyCam/capturethread.cpp:220:25: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
  44. this->capture.set(CV_CAP_PROP_FRAME_WIDTH, this->imageSize.width);
  45. ^
  46. /home/jakub/MartyCam/capturethread.cpp:221:25: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
  47. this->capture.set(CV_CAP_PROP_FRAME_HEIGHT, this->imageSize.height);
  48. ^
  49. /home/jakub/MartyCam/capturethread.cpp:224:25: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
  50. this->capture.set(CV_CAP_PROP_FRAME_WIDTH, 2048);
  51. ^
  52. /home/jakub/MartyCam/capturethread.cpp:225:25: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
  53. this->capture.set(CV_CAP_PROP_FRAME_HEIGHT, 2048);
  54. ^
  55. /home/jakub/MartyCam/capturethread.cpp:227:23: error: ‘CV_CAP_PROP_FPS’ was not declared in this scope
  56. this->capture.set(CV_CAP_PROP_FPS, this->requestedFPS);
  57. ^
  58. /home/jakub/MartyCam/capturethread.cpp:229:66: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
  59. output << "CV_CAP_PROP_FRAME_WIDTH\t" << this->capture.get(CV_CAP_PROP_FRAME_WIDTH) << std::endl;
  60. ^
  61. /home/jakub/MartyCam/capturethread.cpp:230:66: error: ‘CV_CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
  62. output << "CV_CAP_PROP_FRAME_HEIGHT\t" << this->capture.get(CV_CAP_PROP_FRAME_HEIGHT) << std::endl;
  63. ^
  64. /home/jakub/MartyCam/capturethread.cpp:232:66: error: ‘CV_CAP_PROP_FOURCC’ was not declared in this scope
  65. output << "CV_CAP_PROP_FOURCC\t" << this->capture.get(CV_CAP_PROP_FOURCC) << std::endl;
  66. ^
  67. /home/jakub/MartyCam/capturethread.cpp:233:66: error: ‘CV_CAP_PROP_BRIGHTNESS’ was not declared in this scope
  68. output << "CV_CAP_PROP_BRIGHTNESS\t" << this->capture.get(CV_CAP_PROP_BRIGHTNESS) << std::endl;
  69. ^
  70. /home/jakub/MartyCam/capturethread.cpp:234:66: error: ‘CV_CAP_PROP_CONTRAST’ was not declared in this scope
  71. output << "CV_CAP_PROP_CONTRAST\t" << this->capture.get(CV_CAP_PROP_CONTRAST) << std::endl;
  72. ^
  73. /home/jakub/MartyCam/capturethread.cpp:235:66: error: ‘CV_CAP_PROP_SATURATION’ was not declared in this scope
  74. output << "CV_CAP_PROP_SATURATION\t" << this->capture.get(CV_CAP_PROP_SATURATION) << std::endl;
  75. ^
  76. /home/jakub/MartyCam/capturethread.cpp:236:66: error: ‘CV_CAP_PROP_HUE’ was not declared in this scope
  77. output << "CV_CAP_PROP_HUE\t" << this->capture.get(CV_CAP_PROP_HUE) << std::endl;
  78. ^
  79. /home/jakub/MartyCam/capturethread.cpp: In member function ‘void CaptureThread::startTimeLapse(double)’:
  80. /home/jakub/MartyCam/capturethread.cpp:292:35: error: ‘CV_FOURCC’ was not declared in this scope
  81. CV_FOURCC('X', 'V', 'I', 'D'),
  82. ^
  83. /home/jakub/MartyCam/capturethread.cpp: In member function ‘void CaptureThread::saveAVI(const cv::Mat&)’:
  84. /home/jakub/MartyCam/capturethread.cpp:325:35: error: ‘CV_FOURCC’ was not declared in this scope
  85. CV_FOURCC('X', 'V', 'I', 'D'),
  86. ^
  87. /home/jakub/MartyCam/capturethread.cpp: In member function ‘void CaptureThread::captionImage(cv::Mat&)’:
  88. /home/jakub/MartyCam/capturethread.cpp:390:73: error: ‘cvPoint’ was not declared in this scope
  89. cvPoint(image.size().width - text_size.width - 4, text_size.height+4),
  90. ^
  91. /home/jakub/MartyCam/capturethread.cpp:391:5: error: ‘CV_FONT_HERSHEY_PLAIN’ was not declared in this scope
  92. CV_FONT_HERSHEY_PLAIN, 1.0, cv::Scalar(255, 255, 255, 0), 1);
  93. ^
  94. CMakeFiles/MartyCam.dir/build.make:100: recipe for target 'CMakeFiles/MartyCam.dir/capturethread.cpp.o' failed
  95. make[2]: *** [CMakeFiles/MartyCam.dir/capturethread.cpp.o] Error 1
  96. CMakeFiles/Makefile2:173: recipe for target 'CMakeFiles/MartyCam.dir/all' failed
  97. make[1]: *** [CMakeFiles/MartyCam.dir/all] Error 2
  98. Makefile:83: recipe for target 'all' failed
  99. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment