Developing using gstreamer on a mac

Jayesh Dalal jayeshdalal at gmail.com
Tue Dec 11 05:30:02 UTC 2018


Hello,

I'm on MacOS 10.14.1 (Mojave). I'm also on Xcode 10.1.

The recommended systems for MacOS per the installation site is MacOS 10.12
(Sierra) and Xcode 8.
https://gstreamer.freedesktop.org/documentation/installing/on-mac-osx.html

Unfortunately I'm unable to downgrade my MacOS version or Xcode versions.

To learn gstreamer, per the installation instructions, I downloaded
the gstreamer-1.0-devel-1.14.4-x86_64.pkg file from
https://gstreamer.freedesktop.org/data/pkg/osx/1.14.4/

I installed it and opened the project file in Xcode.

When I tried to build the first tutorial, it failed at "include
<gst/gst.h>" with the error:
/Users/jd/gst-docs-master/examples/tutorials/basic-tutorial-1.c:1:10:
'gst/gst.h' file not found

/Library/Frameworks/GStreamer.framework/Versions/1.0/Headers was in the
"Header Search Path" for the Xcode project.

Next I tried to verify that the gst.h file existed:

[21:21:33 jd]$ sudo find /Library/Frameworks/GStreamer.framework -name
"gst.h" -print
/Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gst.h
/Library/Frameworks/GStreamer.framework/Versions/1.0/Headers/gst/gst.h

 Any recommendation as to what additional change do I need to make for
Xcode 10 to compile the tutorial?

Jayesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181210/9d88c77f/attachment.html>


More information about the gstreamer-devel mailing list