Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Code:
- #include <opencv2/opencv.hpp>
- int main()
- {
- cv::VideoCapture capture("drop.avi");
- return 0;
- }
- =======
- Compilation:
- g++ `pkg-config --cflags opencv` `pkg-config --libs opencv` main.cpp
- =======
- gdb a.out:
- Starting program: /directory/a.out
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/usr/lib/libthread_db.so.1".
- [New Thread 0x7fffd9293700 (LWP 18323)]
- Thread 1 "a.out" received signal SIGSEGV, Segmentation fault.
- 0x00007fffe9497370 in av_buffer_unref () from /usr/lib/libavutil.so.55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement