[x264-devel] w32 mingw compilation missing dependences
Steven Walters
kemuri9 at gmail.com
Sun Apr 15 18:02:32 CEST 2012
On Sun, Apr 15, 2012 at 10:22 AM, Patrice Colet <colet.patrice at free.fr> wrote:
>
> Hello, I'd like to compile libx264.dll for enabling libx264 on ffmpeg.exe and being able to compile HTML5 compatible video from jpg images files,
>
> but I'm stuck on this error:
>
> gcc -o x264.exe x264res.o x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/avs.o input/thread.o libx264.a -Lc:/MinGW/lib -lswscale -lavutil -lm -Wl,--output-def=libx264-120.def -Wl,--large-address-aware -lpthread
> filters/video/resize.o:resize.c:(.text+0x2d4): r'ef'erence ind'efinie vers « av_opt_set_int »
> filters/video/resize.o:resize.c:(.text+0x2fe): r'ef'erence ind'efinie vers « av_opt_set_int »
> filters/video/resize.o:resize.c:(.text+0x328): r'ef'erence ind'efinie vers « av_opt_set_int »
> filters/video/resize.o:resize.c:(.text+0x352): r'ef'erence ind'efinie vers « av_opt_set_int »
> filters/video/resize.o:resize.c:(.text+0x37c): r'ef'erence ind'efinie vers « av_opt_set_int »
> filters/video/resize.o:resize.c:(.text+0x3a6): encore plus de r'ef'erences ind'efinies suivent vers « av_opt_set_int »
> filters/video/resize.o:resize.c:(.text+0xa2e): r'ef'erence ind'efinie vers « av_get_pix_fmt_name »
> filters/video/resize.o:resize.c:(.text+0xa3c): r'ef'erence ind'efinie vers « av_get_pix_fmt_name »
> filters/video/resize.o:resize.c:(.text+0xd41): r'ef'erence ind'efinie vers « av_get_pix_fmt_name »
> filters/video/resize.o:resize.c:(.text+0x157f): r'ef'erence ind'efinie vers « av_get_pix_fmt_name »
> filters/video/resize.o:resize.c:(.text+0x15b7): r'ef'erence ind'efinie vers « av_get_pix_fmt_name »
>
> av_opt_set_int() seems to be in a file called opt.c but this one isn't in sources nor in mingw
>
> I don't know why this file is missing...
>
> Is there a snapshot of this libx264.dll file somewhere?
>
>
>
>
> Colet Patrice
>
>
>
> Colet Patrice
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
av_opt_set_int is part of ffmpeg.
If you're only looking to get libx264.dll, then configure with something like
--disable-swscale --disable-cli --enable-shared
to avoid building x264.exe and also prevent any attempts of linking
against ffmpeg, which seems to be problematic for you.
More information about the x264-devel
mailing list