Advertisement
Guest User

Untitled

a guest
Apr 17th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Code:
  2. #include <opencv2/opencv.hpp>
  3.  
  4. int main()
  5. {
  6. cv::VideoCapture capture("drop.avi");
  7. return 0;
  8. }
  9.  
  10. =======
  11. Compilation:
  12. g++ `pkg-config --cflags opencv` `pkg-config --libs opencv` main.cpp
  13. =======
  14. gdb a.out:
  15. Starting program: /directory/a.out
  16. [Thread debugging using libthread_db enabled]
  17. Using host libthread_db library "/usr/lib/libthread_db.so.1".
  18. [New Thread 0x7fffd9293700 (LWP 18323)]
  19.  
  20. Thread 1 "a.out" received signal SIGSEGV, Segmentation fault.
  21. 0x00007fffe9497370 in av_buffer_unref () from /usr/lib/libavutil.so.55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement