cherishman2005 / rtc_tools

rtc ffmpeg
3 stars 0 forks source link

ffmpeg-cuda + libx264 compile failed #4

Open cherishman2005 opened 3 years ago

cherishman2005 commented 3 years ago
/data/ffmpeg/ThunderBoltDemo/build/../depends/export/lib/libavcodec.a(libx264.o): In function `X264_frame':
libx264.c:(.text+0x58): undefined reference to `x264_picture_init'
libx264.c:(.text+0x1eb): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x266): undefined reference to `x264_encoder_encode'
libx264.c:(.text+0x415): undefined reference to `x264_encoder_delayed_frames'
libx264.c:(.text+0x74f): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x789): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x8aa): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x90a): undefined reference to `x264_encoder_reconfig'
libx264.c:(.text+0x947): undefined reference to `x264_encoder_reconfig'
/data/ffmpeg/ThunderBoltDemo/build/../depends/export/lib/libavcodec.a(libx264.o):libx264.c:(.text+0xacc): more undefined references to `x264_encoder_reconfig' follow
/data/ffmpeg/ThunderBoltDemo/build/../depends/export/lib/libavcodec.a(libx264.o): In function `X264_close':
libx264.c:(.text.unlikely+0x2b): undefined reference to `x264_param_cleanup'
libx264.c:(.text.unlikely+0x3c): undefined reference to `x264_encoder_close'
/data/ffmpeg/ThunderBoltDemo/build/../depends/export/lib/libavcodec.a(libx264.o): In function `parse_opts':
libx264.c:(.text.unlikely+0x69): undefined reference to `x264_param_parse'
/data/ffmpeg/ThunderBoltDemo/build/../depends/export/lib/libavcodec.a(libx264.o): In function `X264_init':
libx264.c:(.text.unlikely+0x109): undefined reference to `x264_param_default'
libx264.c:(.text.unlikely+0x140): undefined reference to `x264_param_default_preset'
libx264.c:(.text.unlikely+0x33f): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x497): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x5dc): undefined reference to `x264_levels'
libx264.c:(.text.unlikely+0x5e3): undefined reference to `x264_levels'
libx264.c:(.text.unlikely+0x6e6): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x711): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x73c): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x767): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0x8d8): undefined reference to `x264_param_apply_fastfirstpass'
libx264.c:(.text.unlikely+0x9d3): undefined reference to `x264_param_apply_profile'
libx264.c:(.text.unlikely+0xc0f): undefined reference to `x264_param_parse'
libx264.c:(.text.unlikely+0xca6): undefined reference to `x264_encoder_open_164'
libx264.c:(.text.unlikely+0xcda): undefined reference to `x264_encoder_headers'
libx264.c:(.text.unlikely+0xdc8): undefined reference to `x264_encoder_maximum_delayed_frames'
collect2: error: ld returned 1 exit status
cherishman2005 commented 3 years ago

查看configure的extra路径是否存在