<< What Snow Leopard (OS X 10.6) broke when I upgraded | Home | Error Code -36 while copying a file from XP to OS X (Snow Leopard) >>

Getting x264 to compile on OS X 10.6 (Snow Leopard)

Bookmark and Share

Shortly after upgrading to Snow Leopard, many of my toys broke, including x264.
manoa:x264-snapshot-20090913-2245 stu$ ./configure 
No working C compiler found.
manoa:x264-snapshot-20090913-2245 stu$
Bummer. It took some goggling around and experimentation, but here is what worked for me:
manoa:x264-snapshot-20090913-2245 stu$ ./configure --host=x86_64-apple-darwin10 
./version.sh: line 2: git: command not found
Platform: X86_64
System: MACOSX
asm: yes
avis input: no
mp4 output: no
pthread: yes
debug: no
gprof: no
PIC: no
shared: no
visualize: no

You can run 'make' or 'make fprofiled' now.
manoa:x264-snapshot-20090913-2245 stu$
Yea! I've already forgotten it once and panicked. So, it is here on the blog for myself and anyone else who stumbles across it.


Re: Getting x264 to compile on OS X 10.6 (Snow Leopard)

Hi

Since i do not have any exprience in compiling something,
can you share your compiled file?

Thanks

Michael (also living in Switzerland)

Re: Getting x264 to compile on OS X 10.6 (Snow Leopard)

Unfortunately, it is not as simple as posting a single file. 

There are both technical and legal issues with distributing these binaries.  The MacPorts project is probably the easiest, most straight forward approach if you are not inclined to manually compile that latest and greatest directly, like myself. 

If you email me directly then I'd be glad to help you along.

--Stu
stu@thompson.name

Add a comment Send a TrackBack