[x264-devel] how to compile on Mac?

Mo DeJong mo at modejong.com
Wed Jun 19 20:55:50 CEST 2013


I just tried to build with the x264 snapshot on a Mac and got a bunch of errors also:

In file included from ./extras/cl.h:27:
./extras/cl_platform.h:64:10: warning: This path should never happen outside of internal operating system
      development. AvailabilityMacros do not function correctly here! [-W#warnings]
        #warning  This path should never happen outside of internal operating system development. ...

…

In file included from ./common/opencl.h:31:
./extras/cl.h:1165:21: error: unknown type name 'CL_EXT_PREFIX__VERSION_1_1_DEPRECATED'
extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem CL_API_CALL
                    ^
./extras/cl.h:1165:65: error: expected ';' after top level declarator
extern CL_API_ENTRY CL_EXT_PREFIX__VERSION_1_1_DEPRECATED cl_mem CL_API_CALL

…
fatal error: too many errors emitted, stopping now [-ferror-limit=]


> uname -a
Darwin 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64




On Jun 19, 2013, at 8:22 AM, Wagner Patriota wrote:

> I am trying to compile on Mac OS X with the latest XCode, for use it with FFmpeg...
> 
> I just did:
> ./configure
> make
> 
> I am getting...
> yasm: could not open file `common/x86/const-a.o'
> make: *** [common/x86/const-a.o] Error 1
> 
> Any hints?
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20130619/e06f4371/attachment.html>


More information about the x264-devel mailing list