Re: [gtk-osx-users] Fail to build gstreamer on Mavericks



Hi Bruno

It is simple, just change the order of these two includes.

diff -Nur gstreamer-1.0.7.orig/gst/gstdatetime.c gstreamer-1.0.7/gst/gstdatetime.c
--- gstreamer-1.0.7.orig/gst/gstdatetime.c 2013-04-26 09:25:31.000000000 +0200
+++ gstreamer-1.0.7/gst/gstdatetime.c 2014-03-05 15:39:33.000000000 +0100
@@ -21,8 +21,8 @@
 #include "config.h"
 #endif

 

-#include "glib-compat-private.h"
 #include "gst_private.h"
+#include "glib-compat-private.h"
 #include "gstdatetime.h"
 #include "gstvalue.h"
 #include <glib.h>


/Mikkel

Den 08/03/2014 kl. 11.48 skrev Bruno Coudoin <bruno coudoin gcompris net>:


Hi,

I cannot build gstreamer on MacOSX 10.9. I am using Xcode 5.0.2.

The first error I have is the detection of flex.

I solved it by changing the flex version detection in common/m4/gst-parser.m4:
flex_version=`$FLEX_PATH --version | head -n 1 | grep -o -E [0-9]+.[0-9]+.[0-9]+`


Then the compilation reports warning that are considred as errors:
First warning:
lex._gst_parse_yy.c:2168:5: warning: no previous prototype for function '_gst_parse_yyget_column' [-Wmissing-prototypes]
int _gst_parse_yyget_column  (yyscan_t yyscanner)
   ^


If I disable warning as error and try to go a little bit further I get into this error:
In file included from /Users/bdoin/gtk/inst/include/glib-2.0/glib.h:64:
/Users/bdoin/gtk/inst/include/glib-2.0/glib/gmessages.h:199:11: error: use of undeclared identifier 'g_log_domain_gstreamer'
 g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
         ^
<command line>:4:22: note: expanded from here
#define G_LOG_DOMAIN g_log_domain_gstreamer
                    ^

Has anybody succeeded in compiling gstreamer on Mavericks?

Bruno.
_______________________________________________
Gtk-osx-users-list mailing list
Gtk-osx-users-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]