[MPlayer-users] Mplayer + fontconfig + M$Win

John Brown johnbrown105 at hotmail.com
Mon Oct 30 19:13:32 CET 2006




Victor Farias wrote:
>
>Alan wrote:
>
>>There are no instruction for compile mplayer + fontconfig :(
>
>Then, lets change that...
>
>I was able to compile MPlayer with fontconfig support under Windows after a 
>lot of troubles (oh... I still feel the pain!!!).
>
>To compile MPlayer with fontconfig support, you need to compile FreeType as 
>a shared library (same for expat).
>
>There are two ways to achieve this:
>
>Easy way:
>
>1) Compile FreeType 2.1.10 as a shared library:
>
>http://sourceforge.net/projects/freetype/
>
>As a shared library: ./configure LDFLAGS='-no-undefined' --prefix=c:/mingw
>
>2) Compile Expat 2.0 as a shared library:
>
>http://sourceforge.net/projects/expat/
>
>As a shared library: ./configure --prefix=c:/mingw
>
>3) Compile fontconfig 2.3.2 as a shared library:
>
>http://www.fontconfig.org/wiki/
>
>As a shared library: ./configure --prefix=c:/mingw
>
>
>Not so easy way:
>
>1) Compile freetype 2.2.1 as a shared library:
>
>http://sourceforge.net/projects/freetype/
>
>As a shared library: ./configure LDFLAGS='-no-undefined' --prefix=c:/mingw
>
>2) Compile expat 2.0 as a shared library:
>
>http://sourceforge.net/projects/expat/
>
>As a shared library: ./configure --prefix=c:/mingw
>
>3) apply the following patch to fontconfig 2.3.2:
>
>http://freetype.sourceforge.net/freetype2/patches/fontconfig-2.3.2-noftinternals.patch
>
>4) compile fontconfig 2.3.2 as a shared library:
>
>http://sourceforge.net/projects/expat/
>
>As a shared library: ./configure --prefix=c:/mingw
>
>With those libraries in your environment you can compile MPlayer with 
>fontconfig support.
>
>Remember that you will need three DLL files: libexpat-1.dll; 
>libfontconfig-1.dll; libfreetype-6.dll.
>
>Be aware: there are certain issues with fontconfig under Windows with FAT32 
>as your filesystem. If you have NTFS, then there is no problem at all.
>
>If you need more information, check the following post: 
>http://www.cccp-project.net/phpbb2/viewtopic.php?t=811
>
>Thanks to Nicholi for all that information ;)
>
>I hope this is useful to you...
>
>Bye.
>
>* Sorry for my poor english.

I will try it as soon as I get home. Do you know why fontconfig, etc. have 
to be shared libraries?

_________________________________________________________________
Try the next generation of search with Windows Live Search today!  
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline




More information about the MPlayer-users mailing list