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

Victor Farias nk21507 at hotmail.com
Mon Oct 30 17:30:29 CET 2006


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.



Yakusoku wa iranai.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/




More information about the MPlayer-users mailing list