URL:http://eimu-dev.hatenablog.com/entry/2013/03/05/210916
上の方法でインストールしてみた。
python setup.py build
にて、
/Library/Frameworks/SDL.framework/Versions/Current/Headers/SDL_syswm.h:58:10: fatal error: 'X11/Xlib.h' file not found #include <X11/Xlib.h> ^ 1 error generated. error: command 'clang' failed with exit status 1
のエラーが・・・。
sudo ln -s /opt/X11/include/X11 /usr/local/include/X11
でリンクする。
In file included from src/scale_mmx.c:33: src/scale_mmx64.c:424:27: error: invalid instruction mnemonic 'movsxl' asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ " ^ <inline asm>:1:191: note: instantiated into assembly here ...1: movsxl (%rbx)... ^~~~~~ In file included from src/scale_mmx.c:33: src/scale_mmx64.c:499:27: error: invalid instruction mnemonic 'movsxl' asm __volatile__( " /* MMX code for inner loop of X bilinear filter */ " ^ <inline asm>:1:191: note: instantiated into assembly here ...1: movsxl (%rbx)... ^~~~~~ 2 errors generated. error: command 'clang' failed with exit status 1
が・・・
export CC=llvm-gcc-4.2 export CXX=llvm-g++-4.2
のあとでうまく行った。