I am trying to learn Gstreamer framework and I have downloaded Gstreamer universal and development SDK installers on http://docs.gstreamer.com/display/GstSDK/Installing+on+Mac+OS+X, but unfortunately, I could not compile either by gcc or xcode. I added the framework to the porject but had no luck.
I have compiled using gcc but I have a bunch of errors, which are given below:
Perhaps you should add the directory containing
gstreamer-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-1.0' found clang: error: no such file or directory: 'helloworld.c' clang: error: no input files tilaks-macbook:Gstreamer tilakvarisetty$ gcc -Wall Basictutorial.c -o helloworld $(pkg-config --cflags --libs gstreamer-1.0) **Package gstreamer-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containinggstreamer-1.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘gstreamer-1.0’ found
In file included from Basictutorial.c:2:
/Library/Frameworks/GStreamer.framework/Headers/gst/gst.h:27:10: fatal error: ‘glib.h’ file not found
1 error generated.**
I have tried to export to the path but does not work either.
Any help is highly appreciated.