[MPlayer-cygwin] Some questions about the MinGW port

Stefan Gürtler helfmir at surfeu.de
Sun Dec 26 19:07:36 CET 2004


Hans-Carl Oberdalhoff schrieb:
> Re,
> 
>>>
>>> Maybe it is the best you start with the prebuild libraries Reimar 
>>> sent to this list, but you are right I should write some build howto 
>>> that explains the various tweaks needed to compile the libs on mingw. 
>>> Hopefully I find a bit of time for this during the christmas holidays.
>>>  
>>>
>> I would appreciate a build howto very much too.
>> Please feel encouraged to write one!
> 
> 
> Such an HowTo would really be nice :)
> 
> greets and nice hollidays,
> hco
> 
> _______________________________________________
> MPlayer-cygwin mailing list
> MPlayer-cygwin at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin
> 
Just to help Sascha getting started with the HowTo:
Download latest x264 code from the videolan project server using subversion:
svn co svn://svn.videolan.org/x264/trunk x264
Win32 builds of subverison are included into cygwin. Nativ win32 
binaries are available from subversion homepage, too.
Hompage: http://subversion.tigris.org/
Download: 
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
Change into x264/build/cygwin and type
make
If the compilation failes due to missing nasm compiler, one has to 
download the source and compile it using mingw.
Source is available here:
Homepage: http://nasm.sourceforge.net/wakka.php?wakka=HomePage
Download: http://sourceforge.net/project/showfiles.php?group_id=6208
I have not used the precompiled binaries, but made them myself using the 
standard procedure:
Unpacked nasm-0.98.38.tar.bz2
changed into the directory and
./configure
make
( or make everything to get the docs, too)
make strip
make install
resulting nasm binary will be be moved to /mingw/bin/nasm.exe, and the 
manpage to /mingw/man/man1/nasm.1
For more Information on building nasm see the included INSTALL file.

Retry building x264 source. I should finish now.
Copy x264.h to a include folder (e.g. /mingw/include)
and the library libx264 to a lib folder (e.g. /mingw/lib).
When running mplayers ./configure, x264 should be detected and used.

Stefan




More information about the MPlayer-cygwin mailing list