I removed my old version of xjadeo and try to compile a new.
./configure is ok but when i type make, i've got a lot of errors, start by this one
xjadeo.c:36:28: error: ffmpeg/avcodec.h: Aucun fichier ou répertoire de ce type
xjadeo.c:37:29: error: ffmpeg/avformat.h: Aucun fichier ou répertoire de ce type
"No such file or folder"= Aucun fichier ou répertoire de ce type.
But i've got this file in /usr/include/ffmpeg/libavformat and /usr/include/ffmpeg/libavcodec
Do you any idea of what's wrong ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to compile xjadeo but I got the same error as anarkyst even with your solution with the svn-version
here is the complete output :
mysthr@myhost trunk]$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
Making all in src
make[2]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
Making all in xjadeo
make[3]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make all-am
make[4]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O3 -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil -I/usr/include/ffmpeg//libswscale -I/usr/include/freetype2 "-DSUBVERSION=/"160/"" -g -O2 -MT xjadeo-xjadeo.o -MD -MP -MF .deps/xjadeo-xjadeo.Tpo -c -o xjadeo-xjadeo.o `test -f 'xjadeo.c' || echo './'`xjadeo.c
xjadeo.c:36:21: erreur: avcodec.h : Aucun fichier ou dossier de ce type
xjadeo.c:37:22: erreur: avformat.h : Aucun fichier ou dossier de ce type
xjadeo.c:56: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:58: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:59: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:60: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:98: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?c1_Q?
xjadeo.c: In function ?init_moviebuffer?:
xjadeo.c:215: attention : implicit declaration of function ?avpicture_get_size?
xjadeo.c:219: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:219: erreur: (Each undeclared identifier is reported only once
xjadeo.c:219: erreur: for each function it appears in.)
xjadeo.c:220: attention : implicit declaration of function ?avpicture_fill?
xjadeo.c:220: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:220: erreur: expected expression before ?)? token
xjadeo.c: In function ?avinit?:
xjadeo.c:231: attention : implicit declaration of function ?av_register_all?
xjadeo.c:232: attention : implicit declaration of function ?avcodec_init?
xjadeo.c:233: attention : implicit declaration of function ?avcodec_register_all?
xjadeo.c:234: attention : implicit declaration of function ?av_log_set_level?
xjadeo.c:234: erreur: ?AV_LOG_QUIET? undeclared (first use in this function)
xjadeo.c: In function ?open_movie?:
xjadeo.c:239: erreur: ?AVCodec? undeclared (first use in this function)
xjadeo.c:239: erreur: ?pCodec? undeclared (first use in this function)
xjadeo.c:240: erreur: ?AVStream? undeclared (first use in this function)
xjadeo.c:240: erreur: ?av_stream? undeclared (first use in this function)
xjadeo.c:242: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:258: attention : implicit declaration of function ?av_open_input_file?
xjadeo.c:258: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:265: attention : implicit declaration of function ?av_find_stream_info?
xjadeo.c:267: attention : implicit declaration of function ?av_close_input_file?
xjadeo.c:271: attention : implicit declaration of function ?dump_format?
xjadeo.c:278: erreur: ?CODEC_TYPE_VIDEO? undeclared (first use in this function)
xjadeo.c:319: erreur: ?AV_TIME_BASE? undeclared (first use in this function)
xjadeo.c:348: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:365: attention : implicit declaration of function ?avcodec_find_decoder?
xjadeo.c:373: attention : implicit declaration of function ?avcodec_open?
xjadeo.c:379: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:379: attention : implicit declaration of function ?avcodec_alloc_frame?
xjadeo.c:382: attention : implicit declaration of function ?avcodec_close?
xjadeo.c:390: attention : implicit declaration of function ?av_free?
xjadeo.c: In function ?override_fps?:
xjadeo.c:407: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c: In function ?render_empty_frame?:
xjadeo.c:421: erreur: ?PIX_FMT_YUV420P? undeclared (first use in this function)
xjadeo.c:440: erreur: ?PIX_FMT_RGB24? undeclared (first use in this function)
xjadeo.c:451: erreur: ?PIX_FMT_RGBA32? undeclared (first use in this function)
xjadeo.c: Hors de toute fonction :
xjadeo.c:469: erreur: expected ?)? before ?*? token
xjadeo.c:490: erreur: expected ?)? before ?*? token
xjadeo.c: In function ?display_frame?:
xjadeo.c:621: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?packet?
xjadeo.c:621: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:642: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:642: attention : implicit declaration of function ?my_seek_frame?
xjadeo.c:664: attention : implicit declaration of function ?avcodec_decode_video?
xjadeo.c:664: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:664: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:672: attention : implicit declaration of function ?img_convert?
xjadeo.c:672: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:672: erreur: expected expression before ?)? token
xjadeo.c:677: attention : implicit declaration of function ?av_free_packet?
xjadeo.c:682: attention : implicit declaration of function ?av_read_frame?
xjadeo.c:682: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:684: attention : implicit declaration of function ?reset_video_head?
xjadeo.c: In function ?close_movie?:
xjadeo.c:706: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:720: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:725: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:728: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c: In function ?do_try_this_file_and_exit?:
xjadeo.c:733: erreur: ?AVPacket? undeclared (first use in this function)
xjadeo.c:733: erreur: expected ?;? before ?packet?
xjadeo.c:734: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pFrame? undeclared (first use in this function)
make[4]: *** [xjadeo-xjadeo.o] Erreur 1
make[4]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
make: *** [all] Erreur 2
[mysthr@myhost trunk]$
Thank you for your help.
cheers,
Mysth-R
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to compile xjadeo but I got the same error as anarkyst even with your solution with the svn-version
here is the complete output :
mysthr@myhost trunk]$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
Making all in src
make[2]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
Making all in xjadeo
make[3]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make all-am
make[4]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O3 -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil -I/usr/include/ffmpeg//libswscale -I/usr/include/freetype2 "-DSUBVERSION=/"160/"" -g -O2 -MT xjadeo-xjadeo.o -MD -MP -MF .deps/xjadeo-xjadeo.Tpo -c -o xjadeo-xjadeo.o `test -f 'xjadeo.c' || echo './'`xjadeo.c
xjadeo.c:36:21: erreur: avcodec.h : Aucun fichier ou dossier de ce type
xjadeo.c:37:22: erreur: avformat.h : Aucun fichier ou dossier de ce type
xjadeo.c:56: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:58: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:59: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:60: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:98: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?c1_Q?
xjadeo.c: In function ?init_moviebuffer?:
xjadeo.c:215: attention : implicit declaration of function ?avpicture_get_size?
xjadeo.c:219: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:219: erreur: (Each undeclared identifier is reported only once
xjadeo.c:219: erreur: for each function it appears in.)
xjadeo.c:220: attention : implicit declaration of function ?avpicture_fill?
xjadeo.c:220: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:220: erreur: expected expression before ?)? token
xjadeo.c: In function ?avinit?:
xjadeo.c:231: attention : implicit declaration of function ?av_register_all?
xjadeo.c:232: attention : implicit declaration of function ?avcodec_init?
xjadeo.c:233: attention : implicit declaration of function ?avcodec_register_all?
xjadeo.c:234: attention : implicit declaration of function ?av_log_set_level?
xjadeo.c:234: erreur: ?AV_LOG_QUIET? undeclared (first use in this function)
xjadeo.c: In function ?open_movie?:
xjadeo.c:239: erreur: ?AVCodec? undeclared (first use in this function)
xjadeo.c:239: erreur: ?pCodec? undeclared (first use in this function)
xjadeo.c:240: erreur: ?AVStream? undeclared (first use in this function)
xjadeo.c:240: erreur: ?av_stream? undeclared (first use in this function)
xjadeo.c:242: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:258: attention : implicit declaration of function ?av_open_input_file?
xjadeo.c:258: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:265: attention : implicit declaration of function ?av_find_stream_info?
xjadeo.c:267: attention : implicit declaration of function ?av_close_input_file?
xjadeo.c:271: attention : implicit declaration of function ?dump_format?
xjadeo.c:278: erreur: ?CODEC_TYPE_VIDEO? undeclared (first use in this function)
xjadeo.c:319: erreur: ?AV_TIME_BASE? undeclared (first use in this function)
xjadeo.c:348: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:365: attention : implicit declaration of function ?avcodec_find_decoder?
xjadeo.c:373: attention : implicit declaration of function ?avcodec_open?
xjadeo.c:379: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:379: attention : implicit declaration of function ?avcodec_alloc_frame?
xjadeo.c:382: attention : implicit declaration of function ?avcodec_close?
xjadeo.c:390: attention : implicit declaration of function ?av_free?
xjadeo.c: In function ?override_fps?:
xjadeo.c:407: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c: In function ?render_empty_frame?:
xjadeo.c:421: erreur: ?PIX_FMT_YUV420P? undeclared (first use in this function)
xjadeo.c:440: erreur: ?PIX_FMT_RGB24? undeclared (first use in this function)
xjadeo.c:451: erreur: ?PIX_FMT_RGBA32? undeclared (first use in this function)
xjadeo.c: Hors de toute fonction :
xjadeo.c:469: erreur: expected ?)? before ?*? token
xjadeo.c:490: erreur: expected ?)? before ?*? token
xjadeo.c: In function ?display_frame?:
xjadeo.c:621: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?packet?
xjadeo.c:621: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:642: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:642: attention : implicit declaration of function ?my_seek_frame?
xjadeo.c:664: attention : implicit declaration of function ?avcodec_decode_video?
xjadeo.c:664: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:664: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:672: attention : implicit declaration of function ?img_convert?
xjadeo.c:672: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:672: erreur: expected expression before ?)? token
xjadeo.c:677: attention : implicit declaration of function ?av_free_packet?
xjadeo.c:682: attention : implicit declaration of function ?av_read_frame?
xjadeo.c:682: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:684: attention : implicit declaration of function ?reset_video_head?
xjadeo.c: In function ?close_movie?:
xjadeo.c:706: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:720: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:725: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:728: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c: In function ?do_try_this_file_and_exit?:
xjadeo.c:733: erreur: ?AVPacket? undeclared (first use in this function)
xjadeo.c:733: erreur: expected ?;? before ?packet?
xjadeo.c:734: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pFrame? undeclared (first use in this function)
make[4]: *** [xjadeo-xjadeo.o] Erreur 1
make[4]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
make: *** [all] Erreur 2
[mysthr@myhost trunk]$
Thank you for your help.
cheers,
Mysth-R
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
make all-recursive
make[1]: Entering directory `/tmp/xjadeo/trunk'
Making all in src
make[2]: Entering directory `/tmp/xjadeo/trunk/src'
Making all in xjadeo
make[3]: Entering directory `/tmp/xjadeo/trunk/src/xjadeo'
make all-am
make[4]: Entering directory `/tmp/xjadeo/trunk/src/xjadeo'
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O3 -I/usr/local/include -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil -I/usr/include/ffmpeg//libswscale -I/usr/include/freetype2 "-DSUBVERSION=\"165\"" -g -O2 -MT xjadeo-xjadeo.o -MD -MP -MF .deps/xjadeo-xjadeo.Tpo -c -o xjadeo-xjadeo.o `test -f 'xjadeo.c' || echo './'`xjadeo.c
xjadeo.c:36:21: error: avcodec.h: No such file or directory
xjadeo.c:37:22: error: avformat.h: No such file or directory
xjadeo.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c1_Q’
xjadeo.c: In function ‘init_moviebuffer’:
xjadeo.c:231: warning: implicit declaration of function ‘avpicture_get_size’
xjadeo.c:235: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:235: error: (Each undeclared identifier is reported only once
xjadeo.c:235: error: for each function it appears in.)
xjadeo.c:236: warning: implicit declaration of function ‘avpicture_fill’
xjadeo.c:236: error: ‘AVPicture’ undeclared (first use in this function)
xjadeo.c:236: error: expected expression before ‘)’ token
xjadeo.c: In function ‘avinit’:
xjadeo.c:247: warning: implicit declaration of function ‘av_register_all’
xjadeo.c:248: warning: implicit declaration of function ‘avcodec_init’
xjadeo.c:249: warning: implicit declaration of function ‘avcodec_register_all’
xjadeo.c:250: warning: implicit declaration of function ‘av_log_set_level’
xjadeo.c:250: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
xjadeo.c: In function ‘open_movie’:
xjadeo.c:255: error: ‘AVCodec’ undeclared (first use in this function)
xjadeo.c:255: error: ‘pCodec’ undeclared (first use in this function)
xjadeo.c:256: error: ‘AVStream’ undeclared (first use in this function)
xjadeo.c:256: error: ‘av_stream’ undeclared (first use in this function)
xjadeo.c:258: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:274: warning: implicit declaration of function ‘av_open_input_file’
xjadeo.c:274: error: ‘pFormatCtx’ undeclared (first use in this function)
xjadeo.c:281: warning: implicit declaration of function ‘av_find_stream_info’
xjadeo.c:283: warning: implicit declaration of function ‘av_close_input_file’
xjadeo.c:287: warning: implicit declaration of function ‘dump_format’
xjadeo.c:294: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
xjadeo.c:335: error: ‘AV_TIME_BASE’ undeclared (first use in this function)
xjadeo.c:364: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:381: warning: implicit declaration of function ‘avcodec_find_decoder’
xjadeo.c:389: warning: implicit declaration of function ‘avcodec_open’
xjadeo.c:395: error: ‘pFrame’ undeclared (first use in this function)
xjadeo.c:395: warning: implicit declaration of function ‘avcodec_alloc_frame’
xjadeo.c:398: warning: implicit declaration of function ‘avcodec_close’
xjadeo.c:406: warning: implicit declaration of function ‘av_free’
xjadeo.c: In function ‘override_fps’:
xjadeo.c:423: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c: In function ‘render_empty_frame’:
xjadeo.c:437: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
xjadeo.c:456: error: ‘PIX_FMT_RGB24’ undeclared (first use in this function)
xjadeo.c:467: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)
xjadeo.c: At top level:
xjadeo.c:485: error: expected ‘)’ before ‘*’ token
xjadeo.c:506: error: expected ‘)’ before ‘*’ token
xjadeo.c: In function ‘display_frame’:
xjadeo.c:637: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘packet’
xjadeo.c:637: error: ‘packet’ undeclared (first use in this function)
xjadeo.c:658: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:658: warning: implicit declaration of function ‘my_seek_frame’
xjadeo.c:680: warning: implicit declaration of function ‘avcodec_decode_video’
xjadeo.c:680: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:680: error: ‘pFrame’ undeclared (first use in this function)
xjadeo.c:688: warning: implicit declaration of function ‘img_convert’
xjadeo.c:688: error: ‘AVPicture’ undeclared (first use in this function)
xjadeo.c:688: error: expected expression before ‘)’ token
xjadeo.c:693: warning: implicit declaration of function ‘av_free_packet’
xjadeo.c:698: warning: implicit declaration of function ‘av_read_frame’
xjadeo.c:698: error: ‘pFormatCtx’ undeclared (first use in this function)
xjadeo.c:700: warning: implicit declaration of function ‘reset_video_head’
xjadeo.c: In function ‘close_movie’:
xjadeo.c:722: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:736: error: ‘pFrame’ undeclared (first use in this function)
xjadeo.c:741: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:744: error: ‘pFormatCtx’ undeclared (first use in this function)
xjadeo.c: In function ‘do_try_this_file_and_exit’:
xjadeo.c:749: error: ‘AVPacket’ undeclared (first use in this function)
xjadeo.c:749: error: expected ‘;’ before ‘packet’
xjadeo.c:750: error: ‘packet’ undeclared (first use in this function)
xjadeo.c:760: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:760: error: ‘pFrame’ undeclared (first use in this function)
make[4]: *** [xjadeo-xjadeo.o] Error 1
make[4]: Leaving directory `/tmp/xjadeo/trunk/src/xjadeo'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/xjadeo/trunk/src/xjadeo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/xjadeo/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xjadeo/trunk'
make: *** [all] Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm about to clean up the ffmpeg header-location mess for xjadeo.
svn -r175 should do the trick, although I'm not done with cleaning up configure.ac, yet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello people.
I open a new post, cause of a new problem.
I removed my old version of xjadeo and try to compile a new.
./configure is ok but when i type make, i've got a lot of errors, start by this one
xjadeo.c:36:28: error: ffmpeg/avcodec.h: Aucun fichier ou répertoire de ce type
xjadeo.c:37:29: error: ffmpeg/avformat.h: Aucun fichier ou répertoire de ce type
"No such file or folder"= Aucun fichier ou répertoire de ce type.
But i've got this file in /usr/include/ffmpeg/libavformat and /usr/include/ffmpeg/libavcodec
Do you any idea of what's wrong ?
ffmpeg moved their header files around a while back.
The subversion code of xjadeo has been adapted, but we did not roll a new release of xjadeo since.
try:
cd /tmp/
svn co https://xjadeo.svn.sourceforge.net/svnroot/xjadeo xjadeo
cd xjadeo/trunk
./autogen.sh
./configure
make
HTH,
robin
Thanks i will try now.
Hi,
I am trying to compile xjadeo but I got the same error as anarkyst even with your solution with the svn-version
here is the complete output :
mysthr@myhost trunk]$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
Making all in src
make[2]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
Making all in xjadeo
make[3]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make all-am
make[4]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O3 -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil -I/usr/include/ffmpeg//libswscale -I/usr/include/freetype2 "-DSUBVERSION=/"160/"" -g -O2 -MT xjadeo-xjadeo.o -MD -MP -MF .deps/xjadeo-xjadeo.Tpo -c -o xjadeo-xjadeo.o `test -f 'xjadeo.c' || echo './'`xjadeo.c
xjadeo.c:36:21: erreur: avcodec.h : Aucun fichier ou dossier de ce type
xjadeo.c:37:22: erreur: avformat.h : Aucun fichier ou dossier de ce type
xjadeo.c:56: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:58: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:59: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:60: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:98: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?c1_Q?
xjadeo.c: In function ?init_moviebuffer?:
xjadeo.c:215: attention : implicit declaration of function ?avpicture_get_size?
xjadeo.c:219: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:219: erreur: (Each undeclared identifier is reported only once
xjadeo.c:219: erreur: for each function it appears in.)
xjadeo.c:220: attention : implicit declaration of function ?avpicture_fill?
xjadeo.c:220: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:220: erreur: expected expression before ?)? token
xjadeo.c: In function ?avinit?:
xjadeo.c:231: attention : implicit declaration of function ?av_register_all?
xjadeo.c:232: attention : implicit declaration of function ?avcodec_init?
xjadeo.c:233: attention : implicit declaration of function ?avcodec_register_all?
xjadeo.c:234: attention : implicit declaration of function ?av_log_set_level?
xjadeo.c:234: erreur: ?AV_LOG_QUIET? undeclared (first use in this function)
xjadeo.c: In function ?open_movie?:
xjadeo.c:239: erreur: ?AVCodec? undeclared (first use in this function)
xjadeo.c:239: erreur: ?pCodec? undeclared (first use in this function)
xjadeo.c:240: erreur: ?AVStream? undeclared (first use in this function)
xjadeo.c:240: erreur: ?av_stream? undeclared (first use in this function)
xjadeo.c:242: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:258: attention : implicit declaration of function ?av_open_input_file?
xjadeo.c:258: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:265: attention : implicit declaration of function ?av_find_stream_info?
xjadeo.c:267: attention : implicit declaration of function ?av_close_input_file?
xjadeo.c:271: attention : implicit declaration of function ?dump_format?
xjadeo.c:278: erreur: ?CODEC_TYPE_VIDEO? undeclared (first use in this function)
xjadeo.c:319: erreur: ?AV_TIME_BASE? undeclared (first use in this function)
xjadeo.c:348: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:365: attention : implicit declaration of function ?avcodec_find_decoder?
xjadeo.c:373: attention : implicit declaration of function ?avcodec_open?
xjadeo.c:379: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:379: attention : implicit declaration of function ?avcodec_alloc_frame?
xjadeo.c:382: attention : implicit declaration of function ?avcodec_close?
xjadeo.c:390: attention : implicit declaration of function ?av_free?
xjadeo.c: In function ?override_fps?:
xjadeo.c:407: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c: In function ?render_empty_frame?:
xjadeo.c:421: erreur: ?PIX_FMT_YUV420P? undeclared (first use in this function)
xjadeo.c:440: erreur: ?PIX_FMT_RGB24? undeclared (first use in this function)
xjadeo.c:451: erreur: ?PIX_FMT_RGBA32? undeclared (first use in this function)
xjadeo.c: Hors de toute fonction :
xjadeo.c:469: erreur: expected ?)? before ?*? token
xjadeo.c:490: erreur: expected ?)? before ?*? token
xjadeo.c: In function ?display_frame?:
xjadeo.c:621: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?packet?
xjadeo.c:621: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:642: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:642: attention : implicit declaration of function ?my_seek_frame?
xjadeo.c:664: attention : implicit declaration of function ?avcodec_decode_video?
xjadeo.c:664: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:664: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:672: attention : implicit declaration of function ?img_convert?
xjadeo.c:672: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:672: erreur: expected expression before ?)? token
xjadeo.c:677: attention : implicit declaration of function ?av_free_packet?
xjadeo.c:682: attention : implicit declaration of function ?av_read_frame?
xjadeo.c:682: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:684: attention : implicit declaration of function ?reset_video_head?
xjadeo.c: In function ?close_movie?:
xjadeo.c:706: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:720: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:725: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:728: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c: In function ?do_try_this_file_and_exit?:
xjadeo.c:733: erreur: ?AVPacket? undeclared (first use in this function)
xjadeo.c:733: erreur: expected ?;? before ?packet?
xjadeo.c:734: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pFrame? undeclared (first use in this function)
make[4]: *** [xjadeo-xjadeo.o] Erreur 1
make[4]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
make: *** [all] Erreur 2
[mysthr@myhost trunk]$
Thank you for your help.
cheers,
Mysth-R
That's really weird. I develop xjadeo on debian/lenny.
What does `locate avcodec.h` say?
Maybe you're just missing some ffmpeg-dev packages?
`apt-file search avcodec.h`
libavcodec-dev: /usr/include/ffmpeg/libavcodec/avcodec.h
libavcodeccvs-dev: /usr/include/ffmpeg/libavcodec/avcodec.h
and same for avformat.h:
`apt-file search avformat.h`
libavformat-dev: /usr/include/ffmpeg/libavformat/avformat.h
libavformatcvs-dev: /usr/include/ffmpeg/libavformat/avformat.
HTH,
robin
Hi,
and thank you for yor answer.
In fact I am not on a debian system. I am on archlinux, and locate avcodec says :
/usr/include/libavcodec/avcodec.h
And this is the list of all the headers fils installed with ffmpeg :
ffmpeg /usr/include/
ffmpeg /usr/include/libavcodec/
ffmpeg /usr/include/libavcodec/avcodec.h
ffmpeg /usr/include/libavcodec/opt.h
ffmpeg /usr/include/libavcodec/vdpau.h
ffmpeg /usr/include/libavdevice/
ffmpeg /usr/include/libavdevice/avdevice.h
ffmpeg /usr/include/libavformat/
ffmpeg /usr/include/libavformat/avformat.h
ffmpeg /usr/include/libavformat/avio.h
ffmpeg /usr/include/libavformat/rtsp.h
ffmpeg /usr/include/libavformat/rtspcodes.h
ffmpeg /usr/include/libavutil/
ffmpeg /usr/include/libavutil/adler32.h
ffmpeg /usr/include/libavutil/avstring.h
ffmpeg /usr/include/libavutil/avutil.h
ffmpeg /usr/include/libavutil/base64.h
ffmpeg /usr/include/libavutil/common.h
ffmpeg /usr/include/libavutil/crc.h
ffmpeg /usr/include/libavutil/fifo.h
ffmpeg /usr/include/libavutil/intfloat_readwrite.h
ffmpeg /usr/include/libavutil/log.h
ffmpeg /usr/include/libavutil/lzo.h
ffmpeg /usr/include/libavutil/mathematics.h
ffmpeg /usr/include/libavutil/md5.h
ffmpeg /usr/include/libavutil/mem.h
ffmpeg /usr/include/libavutil/random.h
ffmpeg /usr/include/libavutil/rational.h
ffmpeg /usr/include/libavutil/sha1.h
ffmpeg /usr/include/libpostproc/
ffmpeg /usr/include/libpostproc/postprocess.h
ffmpeg /usr/include/libswscale/
ffmpeg /usr/include/libswscale/swscale.h
So I think this is the problem. How could I fix it please ?
Thank you
Cheers,
Mysth-R
Hi,
and thank you for yor answer.
In fact I am not on a debian system. I am on archlinux, and locate avcodec says :
/usr/include/libavcodec/avcodec.h
And this is the list of all the headers fils installed with ffmpeg :
ffmpeg /usr/include/
ffmpeg /usr/include/libavcodec/
ffmpeg /usr/include/libavcodec/avcodec.h
ffmpeg /usr/include/libavcodec/opt.h
ffmpeg /usr/include/libavcodec/vdpau.h
ffmpeg /usr/include/libavdevice/
ffmpeg /usr/include/libavdevice/avdevice.h
ffmpeg /usr/include/libavformat/
ffmpeg /usr/include/libavformat/avformat.h
ffmpeg /usr/include/libavformat/avio.h
ffmpeg /usr/include/libavformat/rtsp.h
ffmpeg /usr/include/libavformat/rtspcodes.h
ffmpeg /usr/include/libavutil/
ffmpeg /usr/include/libavutil/adler32.h
ffmpeg /usr/include/libavutil/avstring.h
ffmpeg /usr/include/libavutil/avutil.h
ffmpeg /usr/include/libavutil/base64.h
ffmpeg /usr/include/libavutil/common.h
ffmpeg /usr/include/libavutil/crc.h
ffmpeg /usr/include/libavutil/fifo.h
ffmpeg /usr/include/libavutil/intfloat_readwrite.h
ffmpeg /usr/include/libavutil/log.h
ffmpeg /usr/include/libavutil/lzo.h
ffmpeg /usr/include/libavutil/mathematics.h
ffmpeg /usr/include/libavutil/md5.h
ffmpeg /usr/include/libavutil/mem.h
ffmpeg /usr/include/libavutil/random.h
ffmpeg /usr/include/libavutil/rational.h
ffmpeg /usr/include/libavutil/sha1.h
ffmpeg /usr/include/libpostproc/
ffmpeg /usr/include/libpostproc/postprocess.h
ffmpeg /usr/include/libswscale/
ffmpeg /usr/include/libswscale/swscale.h
So I think this is the problem. How could I fix it please ?
Thank you
Cheers,
Mysth-R
Hi,
and thank you for yor answer.
In fact I am not on a debian system. I am on archlinux, and locate avcodec says :
/usr/include/libavcodec/avcodec.h
And this is the list of all the headers fils installed with ffmpeg :
ffmpeg /usr/include/
ffmpeg /usr/include/libavcodec/
ffmpeg /usr/include/libavcodec/avcodec.h
ffmpeg /usr/include/libavcodec/opt.h
ffmpeg /usr/include/libavcodec/vdpau.h
ffmpeg /usr/include/libavdevice/
ffmpeg /usr/include/libavdevice/avdevice.h
ffmpeg /usr/include/libavformat/
ffmpeg /usr/include/libavformat/avformat.h
ffmpeg /usr/include/libavformat/avio.h
ffmpeg /usr/include/libavformat/rtsp.h
ffmpeg /usr/include/libavformat/rtspcodes.h
ffmpeg /usr/include/libavutil/
ffmpeg /usr/include/libavutil/adler32.h
ffmpeg /usr/include/libavutil/avstring.h
ffmpeg /usr/include/libavutil/avutil.h
ffmpeg /usr/include/libavutil/base64.h
ffmpeg /usr/include/libavutil/common.h
ffmpeg /usr/include/libavutil/crc.h
ffmpeg /usr/include/libavutil/fifo.h
ffmpeg /usr/include/libavutil/intfloat_readwrite.h
ffmpeg /usr/include/libavutil/log.h
ffmpeg /usr/include/libavutil/lzo.h
ffmpeg /usr/include/libavutil/mathematics.h
ffmpeg /usr/include/libavutil/md5.h
ffmpeg /usr/include/libavutil/mem.h
ffmpeg /usr/include/libavutil/random.h
ffmpeg /usr/include/libavutil/rational.h
ffmpeg /usr/include/libavutil/sha1.h
ffmpeg /usr/include/libpostproc/
ffmpeg /usr/include/libpostproc/postprocess.h
ffmpeg /usr/include/libswscale/
ffmpeg /usr/include/libswscale/swscale.h
So I think this is the problem. How could I fix it please ?
Thank you
Cheers,
Mysth-R
oups !
sorry for all these messages ...
Hi,
I am trying to compile xjadeo but I got the same error as anarkyst even with your solution with the svn-version
here is the complete output :
mysthr@myhost trunk]$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
Making all in src
make[2]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
Making all in xjadeo
make[3]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make all-am
make[4]: entrant dans le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O3 -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil -I/usr/include/ffmpeg//libswscale -I/usr/include/freetype2 "-DSUBVERSION=/"160/"" -g -O2 -MT xjadeo-xjadeo.o -MD -MP -MF .deps/xjadeo-xjadeo.Tpo -c -o xjadeo-xjadeo.o `test -f 'xjadeo.c' || echo './'`xjadeo.c
xjadeo.c:36:21: erreur: avcodec.h : Aucun fichier ou dossier de ce type
xjadeo.c:37:22: erreur: avformat.h : Aucun fichier ou dossier de ce type
xjadeo.c:56: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:58: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:59: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:60: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
xjadeo.c:98: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?c1_Q?
xjadeo.c: In function ?init_moviebuffer?:
xjadeo.c:215: attention : implicit declaration of function ?avpicture_get_size?
xjadeo.c:219: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:219: erreur: (Each undeclared identifier is reported only once
xjadeo.c:219: erreur: for each function it appears in.)
xjadeo.c:220: attention : implicit declaration of function ?avpicture_fill?
xjadeo.c:220: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:220: erreur: expected expression before ?)? token
xjadeo.c: In function ?avinit?:
xjadeo.c:231: attention : implicit declaration of function ?av_register_all?
xjadeo.c:232: attention : implicit declaration of function ?avcodec_init?
xjadeo.c:233: attention : implicit declaration of function ?avcodec_register_all?
xjadeo.c:234: attention : implicit declaration of function ?av_log_set_level?
xjadeo.c:234: erreur: ?AV_LOG_QUIET? undeclared (first use in this function)
xjadeo.c: In function ?open_movie?:
xjadeo.c:239: erreur: ?AVCodec? undeclared (first use in this function)
xjadeo.c:239: erreur: ?pCodec? undeclared (first use in this function)
xjadeo.c:240: erreur: ?AVStream? undeclared (first use in this function)
xjadeo.c:240: erreur: ?av_stream? undeclared (first use in this function)
xjadeo.c:242: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:258: attention : implicit declaration of function ?av_open_input_file?
xjadeo.c:258: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:265: attention : implicit declaration of function ?av_find_stream_info?
xjadeo.c:267: attention : implicit declaration of function ?av_close_input_file?
xjadeo.c:271: attention : implicit declaration of function ?dump_format?
xjadeo.c:278: erreur: ?CODEC_TYPE_VIDEO? undeclared (first use in this function)
xjadeo.c:319: erreur: ?AV_TIME_BASE? undeclared (first use in this function)
xjadeo.c:348: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:365: attention : implicit declaration of function ?avcodec_find_decoder?
xjadeo.c:373: attention : implicit declaration of function ?avcodec_open?
xjadeo.c:379: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:379: attention : implicit declaration of function ?avcodec_alloc_frame?
xjadeo.c:382: attention : implicit declaration of function ?avcodec_close?
xjadeo.c:390: attention : implicit declaration of function ?av_free?
xjadeo.c: In function ?override_fps?:
xjadeo.c:407: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c: In function ?render_empty_frame?:
xjadeo.c:421: erreur: ?PIX_FMT_YUV420P? undeclared (first use in this function)
xjadeo.c:440: erreur: ?PIX_FMT_RGB24? undeclared (first use in this function)
xjadeo.c:451: erreur: ?PIX_FMT_RGBA32? undeclared (first use in this function)
xjadeo.c: Hors de toute fonction :
xjadeo.c:469: erreur: expected ?)? before ?*? token
xjadeo.c:490: erreur: expected ?)? before ?*? token
xjadeo.c: In function ?display_frame?:
xjadeo.c:621: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?packet?
xjadeo.c:621: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:642: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:642: attention : implicit declaration of function ?my_seek_frame?
xjadeo.c:664: attention : implicit declaration of function ?avcodec_decode_video?
xjadeo.c:664: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:664: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:672: attention : implicit declaration of function ?img_convert?
xjadeo.c:672: erreur: ?AVPicture? undeclared (first use in this function)
xjadeo.c:672: erreur: expected expression before ?)? token
xjadeo.c:677: attention : implicit declaration of function ?av_free_packet?
xjadeo.c:682: attention : implicit declaration of function ?av_read_frame?
xjadeo.c:682: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c:684: attention : implicit declaration of function ?reset_video_head?
xjadeo.c: In function ?close_movie?:
xjadeo.c:706: erreur: ?pFrameFMT? undeclared (first use in this function)
xjadeo.c:720: erreur: ?pFrame? undeclared (first use in this function)
xjadeo.c:725: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:728: erreur: ?pFormatCtx? undeclared (first use in this function)
xjadeo.c: In function ?do_try_this_file_and_exit?:
xjadeo.c:733: erreur: ?AVPacket? undeclared (first use in this function)
xjadeo.c:733: erreur: expected ?;? before ?packet?
xjadeo.c:734: erreur: ?packet? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pCodecCtx? undeclared (first use in this function)
xjadeo.c:744: erreur: ?pFrame? undeclared (first use in this function)
make[4]: *** [xjadeo-xjadeo.o] Erreur 1
make[4]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src/xjadeo »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/mysthr/Logiciels/Videos/xjadeo-svn/xjadeo/trunk »
make: *** [all] Erreur 2
[mysthr@myhost trunk]$
Thank you for your help.
cheers,
Mysth-R
Hi I also get a similar error when doing make although ./configure is ok:
I'm using ubuntu 8.10.
My ffmpeg version is the following:
FFmpeg version SVN-r16864, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid
libavutil 49.14. 0 / 49.14. 0
libavcodec 52.11. 0 / 52.11. 0
libavformat 52.25. 0 / 52.25. 0
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Jan 30 2009 21:44:49, gcc: 4.3.2
The make error with output:
make all-recursive
make[1]: Entering directory `/tmp/xjadeo/trunk'
Making all in src
make[2]: Entering directory `/tmp/xjadeo/trunk/src'
Making all in xjadeo
make[3]: Entering directory `/tmp/xjadeo/trunk/src/xjadeo'
make all-am
make[4]: Entering directory `/tmp/xjadeo/trunk/src/xjadeo'
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O3 -I/usr/local/include -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil -I/usr/include/ffmpeg//libswscale -I/usr/include/freetype2 "-DSUBVERSION=\"165\"" -g -O2 -MT xjadeo-xjadeo.o -MD -MP -MF .deps/xjadeo-xjadeo.Tpo -c -o xjadeo-xjadeo.o `test -f 'xjadeo.c' || echo './'`xjadeo.c
xjadeo.c:36:21: error: avcodec.h: No such file or directory
xjadeo.c:37:22: error: avformat.h: No such file or directory
xjadeo.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xjadeo.c:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c1_Q’
xjadeo.c: In function ‘init_moviebuffer’:
xjadeo.c:231: warning: implicit declaration of function ‘avpicture_get_size’
xjadeo.c:235: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:235: error: (Each undeclared identifier is reported only once
xjadeo.c:235: error: for each function it appears in.)
xjadeo.c:236: warning: implicit declaration of function ‘avpicture_fill’
xjadeo.c:236: error: ‘AVPicture’ undeclared (first use in this function)
xjadeo.c:236: error: expected expression before ‘)’ token
xjadeo.c: In function ‘avinit’:
xjadeo.c:247: warning: implicit declaration of function ‘av_register_all’
xjadeo.c:248: warning: implicit declaration of function ‘avcodec_init’
xjadeo.c:249: warning: implicit declaration of function ‘avcodec_register_all’
xjadeo.c:250: warning: implicit declaration of function ‘av_log_set_level’
xjadeo.c:250: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
xjadeo.c: In function ‘open_movie’:
xjadeo.c:255: error: ‘AVCodec’ undeclared (first use in this function)
xjadeo.c:255: error: ‘pCodec’ undeclared (first use in this function)
xjadeo.c:256: error: ‘AVStream’ undeclared (first use in this function)
xjadeo.c:256: error: ‘av_stream’ undeclared (first use in this function)
xjadeo.c:258: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:274: warning: implicit declaration of function ‘av_open_input_file’
xjadeo.c:274: error: ‘pFormatCtx’ undeclared (first use in this function)
xjadeo.c:281: warning: implicit declaration of function ‘av_find_stream_info’
xjadeo.c:283: warning: implicit declaration of function ‘av_close_input_file’
xjadeo.c:287: warning: implicit declaration of function ‘dump_format’
xjadeo.c:294: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
xjadeo.c:335: error: ‘AV_TIME_BASE’ undeclared (first use in this function)
xjadeo.c:364: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:381: warning: implicit declaration of function ‘avcodec_find_decoder’
xjadeo.c:389: warning: implicit declaration of function ‘avcodec_open’
xjadeo.c:395: error: ‘pFrame’ undeclared (first use in this function)
xjadeo.c:395: warning: implicit declaration of function ‘avcodec_alloc_frame’
xjadeo.c:398: warning: implicit declaration of function ‘avcodec_close’
xjadeo.c:406: warning: implicit declaration of function ‘av_free’
xjadeo.c: In function ‘override_fps’:
xjadeo.c:423: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c: In function ‘render_empty_frame’:
xjadeo.c:437: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)
xjadeo.c:456: error: ‘PIX_FMT_RGB24’ undeclared (first use in this function)
xjadeo.c:467: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)
xjadeo.c: At top level:
xjadeo.c:485: error: expected ‘)’ before ‘*’ token
xjadeo.c:506: error: expected ‘)’ before ‘*’ token
xjadeo.c: In function ‘display_frame’:
xjadeo.c:637: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘packet’
xjadeo.c:637: error: ‘packet’ undeclared (first use in this function)
xjadeo.c:658: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:658: warning: implicit declaration of function ‘my_seek_frame’
xjadeo.c:680: warning: implicit declaration of function ‘avcodec_decode_video’
xjadeo.c:680: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:680: error: ‘pFrame’ undeclared (first use in this function)
xjadeo.c:688: warning: implicit declaration of function ‘img_convert’
xjadeo.c:688: error: ‘AVPicture’ undeclared (first use in this function)
xjadeo.c:688: error: expected expression before ‘)’ token
xjadeo.c:693: warning: implicit declaration of function ‘av_free_packet’
xjadeo.c:698: warning: implicit declaration of function ‘av_read_frame’
xjadeo.c:698: error: ‘pFormatCtx’ undeclared (first use in this function)
xjadeo.c:700: warning: implicit declaration of function ‘reset_video_head’
xjadeo.c: In function ‘close_movie’:
xjadeo.c:722: error: ‘pFrameFMT’ undeclared (first use in this function)
xjadeo.c:736: error: ‘pFrame’ undeclared (first use in this function)
xjadeo.c:741: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:744: error: ‘pFormatCtx’ undeclared (first use in this function)
xjadeo.c: In function ‘do_try_this_file_and_exit’:
xjadeo.c:749: error: ‘AVPacket’ undeclared (first use in this function)
xjadeo.c:749: error: expected ‘;’ before ‘packet’
xjadeo.c:750: error: ‘packet’ undeclared (first use in this function)
xjadeo.c:760: error: ‘pCodecCtx’ undeclared (first use in this function)
xjadeo.c:760: error: ‘pFrame’ undeclared (first use in this function)
make[4]: *** [xjadeo-xjadeo.o] Error 1
make[4]: Leaving directory `/tmp/xjadeo/trunk/src/xjadeo'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/xjadeo/trunk/src/xjadeo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/xjadeo/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xjadeo/trunk'
make: *** [all] Error 2
Sorry for the delay. Try again now.
I'm about to clean up the ffmpeg header-location mess for xjadeo.
svn -r175 should do the trick, although I'm not done with cleaning up configure.ac, yet.