Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make -j2
- g++ -O2 -g -pthread src/qav.cpp -c -o obj/qav.o
- g++ -O2 -g -pthread src/main.cpp -c -o obj/main.o
- In file included from src/qav.cpp:20:
- src/qav.h:26:34: error: libavformat/avformat.h: No such file or directory
- src/qav.h:27:32: error: libswscale/swscale.h: No such file or directory
- In file included from src/main.cpp:30:
- src/qav.h:26:34: error: libavformat/avformat.h: No such file or directory
- src/qav.h:27:32: error: libswscale/swscale.h: No such file or directory
- In file included from src/qav.cpp:20:
- src/qav.h:50: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
- src/qav.h:50: error: expected ‘;’ before ‘*’ token
- src/qav.cpp: In constructor ‘qav::qvideo::qvideo(const char*, int, int)’:
- src/qav.cpp:29: error: ‘pFormatCtx’ was not declared in this scope
- src/qav.cpp:29: error: ‘av_open_input_file’ was not declared in this scope
- src/qav.cpp:31: error: ‘pFormatCtx’ was not declared in this scope
- src/qav.cpp:31: error: ‘av_find_stream_info’ was not declared in this scope
- src/qav.cpp:32: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp:36: error: ‘pFormatCtx’ was not declared in this scope
- src/qav.cpp:36: error: ‘dump_format’ was not declared in this scope
- src/qav.cpp:44: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp:51: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp:55: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp:62: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp:74: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp:82: error: ‘SWS_BICUBIC’ was not declared in this scope
- src/qav.cpp:82: error: ‘sws_getContext’ was not declared in this scope
- src/qav.cpp:86: error: ‘av_close_input_file’ was not declared in this scope
- src/qav.cpp: In member function ‘int qav::qvideo::get_fps_k() const’:
- src/qav.cpp:96: error: ‘pFormatCtx’ was not declared in this scope
- src/qav.cpp: In member function ‘bool qav::qvideo::get_frame(std::vector<unsigned char, std::allocator<unsigned char> >&, int*)’:
- src/qav.cpp:103: error: ‘AVPacket’ was not declared in this scope
- src/qav.cpp:103: error: expected `;' before ‘packet’
- src/qav.cpp:105: error: ‘packet’ was not declared in this scope
- src/qav.cpp:105: error: ‘av_init_packet’ was not declared in this scope
- src/qav.cpp:106: error: ‘pFormatCtx’ was not declared in this scope
- src/qav.cpp:106: error: ‘av_read_frame’ was not declared in this scope
- src/qav.cpp:118: error: ‘sws_scale’ was not declared in this scope
- src/qav.cpp:128: error: ‘av_free_packet’ was not declared in this scope
- src/qav.cpp: In destructor ‘qav::qvideo::~qvideo()’:
- src/qav.cpp:184: error: ‘sws_freeContext’ was not declared in this scope
- src/qav.cpp:187: error: ‘pFormatCtx’ was not declared in this scope
- src/qav.cpp:187: error: ‘av_close_input_file’ was not declared in this scope
- In file included from src/main.cpp:30:
- src/qav.h:50: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
- src/qav.h:50: error: expected ‘;’ before ‘*’ token
- make: *** [obj/qav.o] Error 1
- make: *** Waiting for unfinished jobs....
- src/main.cpp: In function ‘int main(int, char**)’:
- src/main.cpp:286: error: ‘av_register_all’ was not declared in this scope
- make: *** [obj/main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement