Guest User

Log file

a guest
Dec 31st, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 5.71 KB | None | 0 0
  1. user@admin: $  g++  -std=c++11 CameraStreamer.hpp CameraStreamer.cpp MultiCamera.cpp `pkg-config opencv --cflags --libs`
  2.  
  3. CameraStreamer.hpp:1:9: warning: #pragma once in main file [enabled by default]
  4.  #pragma once
  5.          ^
  6. In file included from CameraStreamer.hpp:7:0:
  7. videoio.hpp:389:20: error: redefinition of ‘class cv::VideoCapture
  8.  class CV_EXPORTS_W VideoCapture
  9.                     ^
  10. In file included from /usr/local/include/opencv2/opencv.hpp:58:0,
  11.                  from videoio.hpp:46,
  12.                  from CameraStreamer.hpp:7:
  13. /usr/local/include/opencv2/highgui/highgui.hpp:204:20: error: previous definition of ‘class cv::VideoCapture
  14.  class CV_EXPORTS_W VideoCapture
  15.                     ^
  16. In file included from CameraStreamer.hpp:7:0:
  17. videoio.hpp:580:20: error: redefinition of ‘class cv::VideoWriter
  18.  class CV_EXPORTS_W VideoWriter
  19.                     ^
  20. In file included from /usr/local/include/opencv2/opencv.hpp:58:0,
  21.                  from videoio.hpp:46,
  22.                  from CameraStreamer.hpp:7:
  23. /usr/local/include/opencv2/highgui/highgui.hpp:230:20: error: previous definition of ‘class cv::VideoWriter
  24.  class CV_EXPORTS_W VideoWriter
  25.                     ^
  26. In file included from CameraStreamer.hpp:7:0:
  27. videoio.hpp:673:42: error: expected initializer before ‘<’ token
  28.  template<> CV_EXPORTS void DefaultDeleter<CvCapture>::operator ()(CvCapture* obj) const;
  29.                                           ^
  30. videoio.hpp:674:42: error: expected initializer before ‘<’ token
  31.  template<> CV_EXPORTS void DefaultDeleter<CvVideoWriter>::operator ()(CvVideoWriter* obj) const;
  32.                                           ^
  33. CameraStreamer.hpp:11:17: error: ‘concurrency’ is not a namespace-name
  34.  using namespace concurrency;
  35.                  ^
  36. CameraStreamer.hpp:11:28: error: expected namespace-name before ‘;’ token
  37.  using namespace concurrency;
  38.                             ^
  39. CameraStreamer.hpp:22:12: error: ‘concurrent_queue’ was not declared in this scope
  40.      vector<concurrent_queue<Mat>*> frame_queue;
  41.             ^
  42. CameraStreamer.hpp:22:12: note: suggested alternatives:
  43. In file included from /usr/include/tbb/concurrent_queue.h:32:0,
  44.                  from CameraStreamer.hpp:6:
  45. /usr/include/tbb/internal/_concurrent_queue_impl.h:63:40: note:   ‘tbb::strict_ppl::concurrent_queue
  46.  template<typename T, typename A> class concurrent_queue;
  47.                                         ^
  48. /usr/include/tbb/internal/_concurrent_queue_impl.h:63:40: note:   ‘tbb::strict_ppl::concurrent_queue
  49. /usr/include/tbb/internal/_concurrent_queue_impl.h:69:40: note:   ‘tbb::deprecated::concurrent_queue
  50.  template<typename T, typename A> class concurrent_queue;
  51.                                         ^
  52. CameraStreamer.hpp:22:32: error: template argument 1 is invalid
  53.      vector<concurrent_queue<Mat>*> frame_queue;
  54.                                 ^
  55. CameraStreamer.hpp:22:32: error: template argument 2 is invalid
  56. CameraStreamer.hpp:22:34: error: expected unqualified-id before ‘>’ token
  57.      vector<concurrent_queue<Mat>*> frame_queue;
  58.                                   ^
  59. CameraStreamer.hpp:22:33: error: expected ‘;’ at end of member declaration
  60.      vector<concurrent_queue<Mat>*> frame_queue;
  61.                                  ^
  62. CameraStreamer.hpp:22:34: error: expected unqualified-id before ‘>’ token
  63.      vector<concurrent_queue<Mat>*> frame_queue;
  64.                                   ^
  65. CameraStreamer.cpp:3:17: error: ‘concurrent’ is not a namespace-name
  66.  using namespace concurrent;
  67.                  ^
  68. CameraStreamer.cpp:3:27: error: expected namespace-name before ‘;’ token
  69.  using namespace concurrent;
  70.                            ^
  71. CameraStreamer.cpp: In member function ‘void CameraStreamer::captureFrame(int):
  72. CameraStreamer.cpp:36:9: error: ‘frame_queue’ was not declared in this scope
  73.          frame_queue[index]->push(frame);    
  74.          ^
  75. CameraStreamer.cpp: In member function ‘void CameraStreamer::startMultiCapture():
  76. CameraStreamer.cpp:46:5: error: ‘concurrent_queue’ was not declared in this scope
  77.      concurrent_queue<Mat> *q;
  78.      ^
  79. CameraStreamer.cpp:46:5: note: suggested alternatives:
  80. In file included from /usr/include/tbb/concurrent_queue.h:32:0,
  81.                  from CameraStreamer.hpp:6:
  82. /usr/include/tbb/internal/_concurrent_queue_impl.h:63:40: note:   ‘tbb::strict_ppl::concurrent_queue
  83.  template<typename T, typename A> class concurrent_queue;
  84.                                         ^
  85. /usr/include/tbb/internal/_concurrent_queue_impl.h:63:40: note:   ‘tbb::strict_ppl::concurrent_queue
  86. /usr/include/tbb/internal/_concurrent_queue_impl.h:69:40: note:   ‘tbb::deprecated::concurrent_queue
  87.  template<typename T, typename A> class concurrent_queue;
  88.                                         ^
  89. CameraStreamer.cpp:46:25: error: expected primary-expression before ‘>’ token
  90.      concurrent_queue<Mat> *q;
  91.                          ^
  92. CameraStreamer.cpp:46:28: error: ‘q’ was not declared in this scope
  93.      concurrent_queue<Mat> *q;
  94.                             ^
  95. CameraStreamer.cpp:71:17: error: expected type-specifier before ‘concurrent_queue’
  96.          q = new concurrent_queue<Mat>;
  97.                  ^
  98. CameraStreamer.cpp:71:17: error: expected ‘;’ before ‘concurrent_queue’
  99. CameraStreamer.cpp:74:9: error: ‘frame_queue’ was not declared in this scope
  100.          frame_queue.push_back(q);
  101.          ^
  102. MultiCamera.cpp:4:11: error:::main’ must returnint
  103.  void main()
  104.            ^
  105. MultiCamera.cpp: In function ‘int main():
  106. MultiCamera.cpp:34:21: error:class CameraStreamer’ has no member named ‘frame_queue’
  107.              if (cam.frame_queue[i]->try_pop(frame)){
Add Comment
Please, Sign In to add comment