[MPlayer-users] MPlayer 1.0rc2 does not compile on Mac

Ulion ulion2002 at gmail.com
Wed Dec 5 15:32:41 CET 2007

2007/12/5, David Wagner <dhwagnertx at mac.com>:
> OK, I got it to work.  How can I build MPlayer as a MacOS X app?  The
> precompiled binary Mohammad A. Haque does not work on my Intel iMac--
> it fails with:
> dyld: Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
>    Referenced from: /Applications/MPlayer OSX.app/Contents/Resources/
> External_Binaries/mplayer.app/Contents/MacOS/mplayer
>    Reason: image not found
> However if I install Mr. Haque's precompiled binary OS X app, and
> then copy my compiled binary to
> /Applications/MPlayer\ OSX.app/Contents/Resources/External_Binaries/
> mplayer.app/Contents/MacOS/mplayer
> then it works. But it would be nice to know how to build the app.
> Thanks for your help,

check out mplayerosx from svn://svn.mplayerhq.hu/mplayerosx/trunk, and
just type 'make' to build it. you need manually copy your executable
mplayer to External_binaries/mplayer.app/Contents/MacOS/mplayer before
that make, you will got mplayer app in build/Release directory, and if
you run 'make dist', you will got the install dmg file, you can just
use the release one in the build directory without build dist on your
local machine.


More information about the MPlayer-users mailing list