[MPlayer-users] mplayer compiled in windows - segmentation fault

gmane.comp.video.mencoder.user alessandro.gabbanelli at gmail.com
Mon Nov 12 17:17:01 CET 2012


Il 10/11/2012 17:46, Reimar Döffinger ha scritto:
> I would suggest compiling from cygwin, with the mingw64 packages that come with it (using gcc 4.5), and only setting the --cc, --ranlib and --windres options to the versions with x86_64-w64-mingw32 prefix.
> In particular do not set --target (and make sure to use latest SVN).

great
works. play mpg
I removed target parameter and added wildres.
Detected operating system: MINGW32

Have not been necessary modifications, just add

  libass/ass.o libass/ass_library.o libass/ass_render_api.o 
libass/ass_render.o libass/ass_utils.o \
  libass/ass_strtod.o libass/ass_cache.o libass/ass_fontconfig.o 
libass/ass_bitmap.o libass/ass_shaper.o \
  libass/ass_drawing.o libass/ass_parse.o libass/ass_font.o \

for error
D:/C++LIB-mingw/local64/lib\libass.a(ass_render.o):(.text+0x1a3d): 
undefined reference to `FT_Stroker_Done'
D:/C++LIB-mingw/local64/lib\libass.a(ass_render.o):(.text+0x4ec2): 
undefined reference to `FT_Outline_GetOutsideBorder'
D:/C++LIB-mingw/local64/lib\libass.a(ass_render.o):(.text+0x4ed6): 
undefined reference to `FT_Stroker_ParseOutline'
D:/C++LIB-mingw/local64/lib\libass.a(ass_render.o):(.text+0x4eff): 
undefined reference to `FT_Stroker_GetBorderCounts'
D:/C++LIB-mingw/local64/lib\libass.a(ass_render.o):(.text+0x4f4d): 
undefined reference to `FT_Stroker_ExportBorder'


and
/local/lib/xvidcore.a /local/lib/libfaac.a /local/lib/libx264.a 
/local/lib/libpthreadGC2.a

thank you

Now I understand how to read the avisynth scripts and check pthreads in 
configure (config.log: undefined reference to `__imp_pthread_create'at 
x86_64-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses 
-Wpointer-arith -Wredundant-decls -Wstrict-prototypes 
-Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -std=gnu99 
-Werror-implicit-function-declaration -O4 -march=native -mtune=native 
-pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize 
/tmp/mplayer-configure-2068-5748/tmp.c -I. -Iffmpeg  -fno-common -DPIC 
-static  -lwinmm -ffast-math -lws2_32   -o 
/tmp/mplayer-configure-2068-5748/tmp.exe -lpthreadGC2 -lm , version 2-9-1).





More information about the MPlayer-users mailing list