[x265] Compiling x265 on Mac OS X 10.6.8 (Snow Leopard)

Selur hybrid at selur.de
Thu Nov 14 17:57:21 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

using x86_64 on Mac OS X 10.7.5 (Lion) ends with:
[ 76%] Building CXX object common/CMakeFiles/common.dir/cpu.cpp.o
/Users/Selur/x265/source/common/cpu.cpp:294:10: fatal error:
'intrin.h' file not found
#include <intrin.h>
         ^
1 error generated.
make[2]: *** [common/CMakeFiles/common.dir/cpu.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2

- --------------------------

using i386 ends with:
[ 69%] Building CXX object common/CMakeFiles/common.dir/primitives.cpp.o
/Users/Selur/x265/source/common/vec/intra-sse41.cpp:124:16: error: use
of undeclared identifier '_mm_cvtsi64_si128'
        pixL = _mm_cvtsi64_si128(*(uint64_t*)left);
               ^
/Users/Selur/x265/source/common/vec/intra-sse41.cpp:125:16: error: use
of undeclared identifier '_mm_cvtsi64_si128'
        pixT = _mm_cvtsi64_si128(*(uint64_t*)above);
               ^
[ 71%] [ 72%] Building CXX object common/CMakeFiles/common.dir/pixel.cpp.o
Building CXX object common/CMakeFiles/common.dir/dct.cpp.o
[ 73%] Building CXX object common/CMakeFiles/common.dir/ipfilter.cpp.o
2 errors generated.
make[2]: *** [common/CMakeFiles/common.dir/vec/intra-sse41.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2

- ---------------------

=> seems like both building on Snow Leopard (10.6.8) and Lion (10.7.5)
is broken

Seems like compiling on Mac OS X only works with Mavericks. :(

On 14.11.2013 15:41, Selur wrote:
> Hmm,.. just tried using i386 instead of x86_64 and it seemed like 
> the building would work but ended with:
> 
> [ 76%] Building CXX object common/CMakeFiles/common.dir/cpu.cpp.o 
> cc1plus: error: unrecognized command line option "-Wno-narrowing" 
> make[2]: *** [common/CMakeFiles/common.dir/cpu.cpp.o] Error 1 
> make[1]: *** [common/CMakeFiles/common.dir/all] Error 2 make: *** 
> [all] Error 2
> 
> On 14.11.2013 15:32, Selur wrote:
>>> Which compiler is this using?  It seems we need to disable 
>>> -mstackrealign for that compiler, and to do that we need to 
>>> detect it properly.
>> where can I look that up for you?
> 
>> _______________________________________________ x265-devel 
>> mailing list x265-devel at videolan.org 
>> https://mailman.videolan.org/listinfo/x265-devel
> 
> 
> _______________________________________________ x265-devel mailing 
> list x265-devel at videolan.org 
> https://mailman.videolan.org/listinfo/x265-devel
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBCAAGBQJShQDxAAoJEJA5OiupSg93o1QP/3p48R2DCdrI6kNOy3wezkL9
9UY+hQueNZr+RjHctcdBIcz3b12byzxuqctDbUvS5ZmOi0tTwUbtFqyrZ3nxm7nw
zaGz7kyZYYcGE3diNMG0JxiS5aIdIz/5dRKas2GGcW1dTwd/931zRyfT+nPFpBeS
WiKOJ3JVT3B3wmiLX6dbaFF0EcjgN4VOjMHkaZPWmV4/9mpo/h2tlWl7Ljc2uXrt
8ernt4iS1Y/tcgkWvHM3f0o8xFeLOYltw8QX87uDPPdNGA14ZwNL6Bl0Q/Pas7Gb
CVr4HB38rhhbXpqxZYN0EY9E6edfAImlMq53v/jEkVensBB3v44yZqIVDCI7me2G
vtfGSiBHP+rtgBbhc+sXOSELS1YQeyrgDT6aer2a6qq2mH1gWjFO7TpX8W52G8P2
RmtNJYtlmAcqQOSkF0v5ugJD9SLo7SWW054+FrnP4RCahoK6kyBXO7m8yTWIerrI
lB2gaHDLgxuAzK77BQybSuxPfefX2R1UNlgHN6a/FS4EnneBlSpc7gH2XvKYt803
KzqGezGYtTxXr2sCLAr/hGuCu4m9h1tc4VQARXUQgDy4qU4fkiTw4kw5UnOk/v5Y
T3o9fO9KjexbUJsktPLlUWqgB0qf54SgWDKvPhc9r5xFBixxHUVYbgvUElJQPRnM
AH99PmDpy1kSM1i0GGZa
=QrWM
-----END PGP SIGNATURE-----


More information about the x265-devel mailing list