[x264-devel] how to compile on Mac?

Jan Ekstrom jeebjp at gmail.com
Wed Jun 19 21:20:44 CEST 2013


Use homebrew, and install yasm via it. Make sure you can then run
`yasm --version` from the terminal and get a proper version response.
Also I recommend you install the newest command line development tools
(or whatever they were called) from Apple, but even the ones you have
installed right now with XCode *should* be good enough.

Then run the configure script and see that everything has configured
well (no warnings or errors). Then try running `make clean` and
`make`.

You should then get a proper x264 binary built at least on 10.8.

bash-3.2$ ./x264 --version
x264 0.133.2334 a3ac64b
built on Jun 19 2013, gcc: 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.11.00)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later

bash-3.2$ uname -a
Darwin suika 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10
PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64


Jan Ekström

-- 
I'm human - no debug


More information about the x264-devel mailing list