$ brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gstreamer
Warning: sdl2-2.0.4 already installed
Warning: sdl2_image-2.0.1_1 already installed
Warning: sdl2_ttf-2.0.14 already installed
Warning: sdl2_mixer-2.0.1 already installed
Warning: gstreamer-1.8.1 already installed
So you can see they are already installed.
However when I installed Kivy I got messages saying they weren't found:
$python setup.py install
Using distutils
Detected Cython version 0.24
User distribution detected, avoid portable command.
Using this graphics system: OpenGL ES 2
OSX framework used, force to x86_64 only
OSX ARCHFLAGS are: -arch x86_64
Missing GStreamer framework /Library/Frameworks/GStreamer.framework
Missing framework /Library/Frameworks/SDL2.framework
Missing framework /Library/Frameworks/SDL2_ttf.framework
Missing framework /Library/Frameworks/SDL2_image.framework
Missing framework /Library/Frameworks/SDL2_mixer.framework
Deactivate SDL2 compilation due to missing frameworks
Xcode detected at /Applications/Xcode.app/Contents/Developer, and using OS X10.11 sdk
/Users/ijstokes/anaconda/envs/kivy/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'setup_requires'
warnings.warn(msg)
/Users/ijstokes/anaconda/envs/kivy/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
warnings.warn(msg)
/Users/ijstokes/anaconda/envs/kivy/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
Do I need to go and get SDL2 and GStreamer from places such as:
https://www.libsdl.org/download-2.0.php
http://docs.gstreamer.com/display/GstSDK/Installing+on+Mac+OS+X
Or is there something else I should do to make this work? I pulled down and installed the SDL frameworks from the libsdl.org site, but even then I end up with Kivy failing to install with this error:
creating build/temp.macosx-10.5-x86_64-2.7/kivy/lib/gstplayer
gcc -fno-strict-aliasing -I/Users/ijstokes/anaconda/envs/kivy/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/Library/Frameworks/GStreamer.framework/Headers -I/Users/ijstokes/anaconda/envs/kivy/include/python2.7 -c kivy/lib/gstplayer/_gstplayer.c -o build/temp.macosx-10.5-x86_64-2.7/kivy/lib/gstplayer/_gstplayer.o -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
kivy/lib/gstplayer/_gstplayer.c:263:10: fatal error: 'gst/gst.h' file not found
#include "gst/gst.h"
^
1 error generated.
error: command 'gcc' failed with exit status 1
Advice on how to proceed would be appreciated! I have seen a few recommendations on this mailing list from the past month but have not been able to get any of them to work.
TIA! Ian
gcc -bundle -undefined dynamic_lookup -L/Users/ijstokes/anaconda/envs/kivy/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/kivy/lib/gstplayer/_gstplayer.o -L/Users/ijstokes/anaconda/envs/kivy/lib -o build/lib.macosx-10.5-x86_64-2.7/kivy/lib/gstplayer/_gstplayer.so -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks -F/Library/Frameworks -Xlinker -rpath -Xlinker /Library/Frameworks -Xlinker -headerpad -Xlinker 190 -framework GStreamer -lm
ld: framework not found GStreamer
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.