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. 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. [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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Never mind... by default GStreamer package installs the framework with 700 permissions. I changed the /Library/Frameworks/GStreamer.framework/* to 755 (like other frameworks) and Xcode recognized the header files.
Sorry for the trouble, but this is solved. Jayesh On Mon, Dec 10, 2018 at 9:30 PM Jayesh Dalal <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mardi 11 décembre 2018 à 14:10 -0800, Jayesh Dalal a écrit :
> Never mind... by default GStreamer package installs the framework with 700 permissions. I changed the /Library/Frameworks/GStreamer.framework/* to 755 (like other frameworks) and Xcode recognized the header files. > > Sorry for the trouble, but this is solved. Might be something worth looking at in the cerbero package ? If so, please open an issue here: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/new > > Jayesh > > On Mon, Dec 10, 2018 at 9:30 PM Jayesh Dalal <[hidden email]> wrote: > > 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 > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |