EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

Mac os X build fail, compile openwebrtc gstglconfig.h file not found #632

Closed micky-zh closed 8 years ago

micky-zh commented 8 years ago

[(1/49) gettext -> already built ] [(2/49) libffi -> already built ] [(3/49) zlib -> already built ] [(4/49) glib -> already built ] [(5/49) orc -> already built ] [(6/49) bzip2 -> already built ] [(7/49) openssl -> already built ] [(8/49) gobject-introspection -> already built ] [(9/49) bionic-fixup -> already built ] [(10/49) gtk-doc-lite -> already built ] [(11/49) gstreamer-1.0 -> already built ] [(12/49) opus -> already built ] [(13/49) gst-plugins-base-1.0 -> already built ] [(14/49) libvpx -> already built ] [(15/49) gst-plugins-good-1.0 -> already built ] [(16/49) openh264 -> already built ] [(17/49) libsrtp -> already built ] [(18/49) graphene -> already built ] [(19/49) gst-plugins-bad-1.0 -> already built ] [(20/49) libnice -> already built ] [(21/49) gstreamer-1.0-static -> already built ] [(22/49) gst-plugins-base-1.0-static -> already built ] [(23/49) gst-plugins-good-1.0-static -> already built ] [(24/49) gst-plugins-bad-1.0-static -> already built ] [(25/49) libnice-static -> already built ] [(26/49) libusrsctp -> already built ] [(27/49) openwebrtc-gst-plugins -> already built ] [(28/49) intltool -> already built ] [(29/49) gnome-js-common -> already built ] [(30/49) seed -> already built ] [(31/49) json-glib -> already built ] [(32/49) libxml2 -> already built ] [(33/49) gmp -> already built ] [(34/49) nettle -> already built ] [(35/49) libtasn1 -> already built ] [(36/49) gnutls -> already built ] [(37/49) glib-networking -> already built ] [(38/49) libsoup -> already built ] [(39/49) libxslt -> already built ] [(40/49) docbook-xsl -> already built ] [(41/49) docbook-xml -> already built ] [(42/49) gtk-osx-docbook -> already built ] [(43/49) itstool -> already built ] [(44/49) gtk-doc -> already built ] [(45/49) openwebrtc -> fetch ] -----> Step done [(45/49) openwebrtc -> extract ] -----> Step done [(45/49) openwebrtc -> configure ] -----> Step done [(45/49) openwebrtc -> compile ] make[2]: .gitignore' is up to date. make[2]:.gitignore' is up to date. make[2]: .gitignore' is up to date. make[2]:.gitignore' is up to date. make[3]: .gitignore' is up to date. make[3]:.gitignore' is up to date. make[3]: .gitignore' is up to date. make[3]:.gitignore' is up to date. make[2]: .gitignore' is up to date. make[2]:.gitignore' is up to date. make[3]: .gitignore' is up to date. make[4]:.gitignore' is up to date. make[2]: .gitignore' is up to date. make[2]:.gitignore' is up to date. make[3]: `.gitignore' is up to date. /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in transport Making all in local Making all in owr /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/share/openwebrtc"\" -D_REENTRANT -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/glib-2.0 -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/lib/glib-2.0/include -D_REENTRANT -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/gstreamer-1.0 -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/glib-2.0 -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/lib/glib-2.0/include -Wall -Wextra -Werror -Wno-parentheses-equality "-g" -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -MT owr_media_source.lo -MD -MP -MF .deps/owr_media_source.Tpo -c -o owr_media_source.lo owr_media_source.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\"/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/share/locale\" -DPACKAGE_SRC_DIR=\".\" -DPACKAGE_DATA_DIR=\"/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/share/openwebrtc\" -D_REENTRANT -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/glib-2.0 -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/lib/glib-2.0/include -D_REENTRANT -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/gstreamer-1.0 -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/glib-2.0 -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/lib/glib-2.0/include -Wall -Wextra -Werror -Wno-parentheses-equality -g -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -MT owr_media_source.lo -MD -MP -MF .deps/owr_media_source.Tpo -c owr_media_source.c -fno-common -DPIC -o .libs/owr_media_source.o In file included from owr_media_source.c:46: In file included from /Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/gstreamer-1.0/gst/gl/gl.h:29: In file included from /Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26: /Library/Frameworks/OpenWebRTC.framework/Versions/0.3/include/gstreamer-1.0/gst/gl/gstglapi.h:24:10: fatal error: 'gst/gl/gstglconfig.h' file not found

include <gst/gl/gstglconfig.h>

     ^

1 error generated. make[3]: * [owr_media_source.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Running command 'make'

Recipe 'openwebrtc' failed at the build step 'compile' Select an action to proceed: [0] Enter the shell [1] Rebuild the recipe from scratch [2] Rebuild starting from the failed step [3] Skip recipe [4] Abort 4 ***\ Error running 'package' command:

The error message told me the file "gst/gl/gstglconfig.h'" has lost.

I can't find file in history 1.0 tag https://github.com/GStreamer/gstreamer/tree/1.0/gst

micky-zh commented 8 years ago

I find a way solve this

./cerbero-uninstalled -c config/osx-x86-64.cbc wipe --build-tools

clean everthing you bulid!

./update-gst.sh

then restart again;