|
|
2011-10-24
, 16:45
|
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#2
|
|
|
2011-10-25
, 15:45
|
|
Posts: 3,328 |
Thanked: 4,475 times |
Joined on May 2011
@ Poland
|
#3
|
I'm trying to learn libavcodec and I got the following error while compiling
marcin@marcin:~/proj/test$ g++ -o test main.cpp -lavformat -lavcodec -ldts -lz In file included from /usr/include/libavutil/avutil.h:81:0, from /usr/include/libavcodec/avcodec.h:30, from main.cpp:3: /usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’: /usr/include/libavutil/common.h:154:47: error: ‘UINT64_C’ was not declared in this scope#include <iostream> #include <string> #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> using namespace std; int main() { av_register_all(); return 0; }Thanks in advance