Skip to content

GStreamer plugins build fails #36

@sandman

Description

@sandman

Hi,
I'm trying to build the GScream plugins on an x86_64 machine running Ubuntu 18.04. My GST_PLUGIN_PATH points to /usr/lib/x86_64-linux-gnu/gstreamer-1.0/

I follow the instructions on the readme page of gscream. I ran the autogen.sh script first and then make. Unfortunately, make fails with the below error:

vortex@vortex:~/code/scream/code/gscream/gst-gscreamtx/gst-plugin$ make
make  all-recursive
make[1]: Entering directory '/home/vortex/code/scream/code/gscream/gst-gscreamtx/gst-plugin'
Making all in src
make[2]: Entering directory '/home/vortex/code/scream/code/gscream/gst-gscreamtx/gst-plugin/src'
/bin/bash ../libtool  --tag=CXX --tag=disable-static  --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/     -g -O2 -MT libgstgscreamtx_la-gstgscreamtx.lo -MD -MP -MF .deps/libgstgscreamtx_la-gstgscreamtx.Tpo -c -o libgstgscreamtx_la-gstgscreamtx.lo `test -f 'gstgscreamtx.cpp' || echo './'`gstgscreamtx.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -g -O2 -MT libgstgscreamtx_la-gstgscreamtx.lo -MD -MP -MF .deps/libgstgscreamtx_la-gstgscreamtx.Tpo -c gstgscreamtx.cpp  -fPIC -DPIC -o .libs/libgstgscreamtx_la-gstgscreamtx.o
In file included from gstgscreamtx.h:51:0,
                 from gstgscreamtx.cpp:53:
ScreamTx.h:1:1: error: expected unqualified-id before ‘.’ token
 ../../../../ScreamTx.h
 ^
In file included from gstgscreamtx.cpp:54:0:
ScreamTx.h:1:1: error: expected unqualified-id before ‘.’ token
 ../../../../ScreamTx.h
 ^
gstgscreamtx.cpp:89:29: error: variable or field ‘gst_g_scream_tx_class_init’ declared void
 gst_g_scream_tx_class_init (GstgScreamTxClass * klass)
                             ^~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:89:29: error: ‘GstgScreamTxClass’ was not declared in this scope
gstgscreamtx.cpp:89:29: note: suggested alternative: ‘GstStreamClass’
 gst_g_scream_tx_class_init (GstgScreamTxClass * klass)
                             ^~~~~~~~~~~~~~~~~
                             GstStreamClass
gstgscreamtx.cpp:89:49: error: ‘klass’ was not declared in this scope
 gst_g_scream_tx_class_init (GstgScreamTxClass * klass)
                                                 ^~~~~
gstgscreamtx.cpp:89:49: note: suggested alternative: ‘class’
 gst_g_scream_tx_class_init (GstgScreamTxClass * klass)
                                                 ^~~~~
                                                 class
gstgscreamtx.cpp:128:23: error: variable or field ‘gst_g_scream_tx_init’ declared void
 gst_g_scream_tx_init (GstgScreamTx * filter)
                       ^~~~~~~~~~~~
gstgscreamtx.cpp:128:23: error: ‘GstgScreamTx’ was not declared in this scope
gstgscreamtx.cpp:128:23: note: suggested alternative: ‘GstStream’
 gst_g_scream_tx_init (GstgScreamTx * filter)
                       ^~~~~~~~~~~~
                       GstStream
gstgscreamtx.cpp:128:38: error: ‘filter’ was not declared in this scope
 gst_g_scream_tx_init (GstgScreamTx * filter)
                                      ^~~~~~
gstgscreamtx.cpp:128:38: note: suggested alternative: ‘fcvt_r’
 gst_g_scream_tx_init (GstgScreamTx * filter)
                                      ^~~~~~
                                      fcvt_r
gstgscreamtx.cpp: In function ‘void gst_g_scream_tx_set_property(GObject*, guint, const GValue*, GParamSpec*)’:
gstgscreamtx.cpp:167:3: error: ‘GstgScreamTx’ was not declared in this scope
   GstgScreamTx *filter = GST_GSCREAMTX (object);
   ^~~~~~~~~~~~
gstgscreamtx.cpp:167:3: note: suggested alternative: ‘GstStream’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
   ^~~~~~~~~~~~
   GstStream
gstgscreamtx.cpp:167:17: error: ‘filter’ was not declared in this scope
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                 ^~~~~~
gstgscreamtx.cpp:167:17: note: suggested alternative: ‘fcvt_r’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                 ^~~~~~
                 fcvt_r
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from gstgscreamtx.cpp:51:
/usr/include/glib-2.0/gobject/gtype.h:2224:10: error: expected primary-expression before ‘)’ token
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
          ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:167:26: note: in expansion of macro ‘GST_GSCREAMTX’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                          ^~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2224:12: error: expected ‘)’ before ‘g_type_check_instance_cast’
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
            ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:167:26: note: in expansion of macro ‘GST_GSCREAMTX’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                          ^~~~~~~~~~~~~
gstgscreamtx.cpp:167:48: error: expected ‘)’ before ‘;’ token
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                                                ^
gstgscreamtx.cpp:167:48: error: expected ‘)’ before ‘;’ token
gstgscreamtx.cpp: In function ‘void gst_g_scream_tx_get_property(GObject*, guint, GValue*, GParamSpec*)’:
gstgscreamtx.cpp:186:3: error: ‘GstgScreamTx’ was not declared in this scope
   GstgScreamTx *filter = GST_GSCREAMTX (object);
   ^~~~~~~~~~~~
gstgscreamtx.cpp:186:3: note: suggested alternative: ‘GstStream’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
   ^~~~~~~~~~~~
   GstStream
gstgscreamtx.cpp:186:17: error: ‘filter’ was not declared in this scope
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                 ^~~~~~
gstgscreamtx.cpp:186:17: note: suggested alternative: ‘fcvt_r’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                 ^~~~~~
                 fcvt_r
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from gstgscreamtx.cpp:51:
/usr/include/glib-2.0/gobject/gtype.h:2224:10: error: expected primary-expression before ‘)’ token
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
          ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:186:26: note: in expansion of macro ‘GST_GSCREAMTX’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                          ^~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2224:12: error: expected ‘)’ before ‘g_type_check_instance_cast’
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
            ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:186:26: note: in expansion of macro ‘GST_GSCREAMTX’
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                          ^~~~~~~~~~~~~
gstgscreamtx.cpp:186:48: error: expected ‘)’ before ‘;’ token
   GstgScreamTx *filter = GST_GSCREAMTX (object);
                                                ^
gstgscreamtx.cpp:186:48: error: expected ‘)’ before ‘;’ token
gstgscreamtx.cpp: At global scope:
gstgscreamtx.cpp:199:14: error: variable or field ‘getTime’ declared void
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
              ^~~~~~~~~~~~
gstgscreamtx.cpp:199:14: error: ‘GstgScreamTx’ was not declared in this scope
gstgscreamtx.cpp:199:14: note: suggested alternative: ‘GstStream’
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
              ^~~~~~~~~~~~
              GstStream
gstgscreamtx.cpp:199:28: error: ‘filter’ was not declared in this scope
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
                            ^~~~~~
gstgscreamtx.cpp:199:28: note: suggested alternative: ‘fcvt_r’
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
                            ^~~~~~
                            fcvt_r
gstgscreamtx.cpp:199:36: error: expected primary-expression before ‘float’
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
                                    ^~~~~
gstgscreamtx.cpp:199:59: error: expected primary-expression before ‘*’ token
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
                                                           ^
gstgscreamtx.cpp:199:60: error: ‘time_ntp’ was not declared in this scope
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
                                                            ^~~~~~~~
gstgscreamtx.cpp:199:60: note: suggested alternative: ‘time_t’
 void getTime(GstgScreamTx *filter, float *time_s, guint32 *time_ntp)
                                                            ^~~~~~~~
                                                            time_t
gstgscreamtx.cpp: In function ‘gboolean txTimerEvent(GstClock*, GstClockTime, GstClockID, gpointer)’:
gstgscreamtx.cpp:216:3: error: ‘GstgScreamTx’ was not declared in this scope
   GstgScreamTx *filter = (GstgScreamTx*) user_data;
   ^~~~~~~~~~~~
gstgscreamtx.cpp:216:3: note: suggested alternative: ‘GstStream’
   GstgScreamTx *filter = (GstgScreamTx*) user_data;
   ^~~~~~~~~~~~
   GstStream
gstgscreamtx.cpp:216:17: error: ‘filter’ was not declared in this scope
   GstgScreamTx *filter = (GstgScreamTx*) user_data;
                 ^~~~~~
gstgscreamtx.cpp:216:17: note: suggested alternative: ‘fcvt_r’
   GstgScreamTx *filter = (GstgScreamTx*) user_data;
                 ^~~~~~
                 fcvt_r
gstgscreamtx.cpp:216:40: error: expected primary-expression before ‘)’ token
   GstgScreamTx *filter = (GstgScreamTx*) user_data;
                                        ^
gstgscreamtx.cpp:219:3: error: ‘getTime’ was not declared in this scope
   getTime(filter,&time,&time_ntp);
   ^~~~~~~
gstgscreamtx.cpp:219:3: note: suggested alternative: ‘gmtime’
   getTime(filter,&time,&time_ntp);
   ^~~~~~~
   gmtime
gstgscreamtx.cpp: In function ‘void on_receiving_rtcp(GObject*, GstBuffer*, gboolean, GObject*)’:
gstgscreamtx.cpp:253:3: error: ‘GstgScreamTx’ was not declared in this scope
   GstgScreamTx *filter = (GstgScreamTx*)object;
   ^~~~~~~~~~~~
gstgscreamtx.cpp:253:3: note: suggested alternative: ‘GstStream’
   GstgScreamTx *filter = (GstgScreamTx*)object;
   ^~~~~~~~~~~~
   GstStream
gstgscreamtx.cpp:253:17: error: ‘filter’ was not declared in this scope
   GstgScreamTx *filter = (GstgScreamTx*)object;
                 ^~~~~~
gstgscreamtx.cpp:253:17: note: suggested alternative: ‘fcvt_r’
   GstgScreamTx *filter = (GstgScreamTx*)object;
                 ^~~~~~
                 fcvt_r
gstgscreamtx.cpp:253:40: error: expected primary-expression before ‘)’ token
   GstgScreamTx *filter = (GstgScreamTx*)object;
                                        ^
gstgscreamtx.cpp:257:11: error: ‘filter_’ was not declared in this scope
   getTime(filter_,&time,&time_ntp);
           ^~~~~~~
gstgscreamtx.cpp:257:3: error: ‘getTime’ was not declared in this scope
   getTime(filter_,&time,&time_ntp);
   ^~~~~~~
gstgscreamtx.cpp:257:3: note: suggested alternative: ‘gmtime’
   getTime(filter_,&time,&time_ntp);
   ^~~~~~~
   gmtime
gstgscreamtx.cpp: In function ‘GstFlowReturn gst_g_scream_tx_chain(GstPad*, GstObject*, GstBuffer*)’:
gstgscreamtx.cpp:399:3: error: ‘GstgScreamTx’ was not declared in this scope
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
   ^~~~~~~~~~~~
gstgscreamtx.cpp:399:3: note: suggested alternative: ‘GstStream’
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
   ^~~~~~~~~~~~
   GstStream
gstgscreamtx.cpp:399:17: error: ‘filter’ was not declared in this scope
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
                 ^~~~~~
gstgscreamtx.cpp:399:17: note: suggested alternative: ‘fcvt_r’
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
                 ^~~~~~
                 fcvt_r
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from gstgscreamtx.cpp:51:
/usr/include/glib-2.0/gobject/gtype.h:2224:10: error: expected primary-expression before ‘)’ token
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
          ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:399:26: note: in expansion of macro ‘GST_GSCREAMTX’
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
                          ^~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2224:12: error: expected ‘)’ before ‘g_type_check_instance_cast’
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
            ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:399:26: note: in expansion of macro ‘GST_GSCREAMTX’
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
                          ^~~~~~~~~~~~~
gstgscreamtx.cpp:399:48: error: expected ‘)’ before ‘;’ token
   GstgScreamTx *filter = GST_GSCREAMTX (parent);
                                                ^
gstgscreamtx.cpp:399:48: error: expected ‘)’ before ‘;’ token
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from gstgscreamtx.cpp:51:
/usr/include/glib-2.0/gobject/gtype.h:2224:10: error: expected primary-expression before ‘)’ token
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
          ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:401:12: note: in expansion of macro ‘GST_GSCREAMTX’
   filter = GST_GSCREAMTX (parent);
            ^~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2224:12: error: expected ‘)’ before ‘g_type_check_instance_cast’
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
            ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:401:12: note: in expansion of macro ‘GST_GSCREAMTX’
   filter = GST_GSCREAMTX (parent);
            ^~~~~~~~~~~~~
gstgscreamtx.cpp:401:34: error: expected ‘)’ before ‘;’ token
   filter = GST_GSCREAMTX (parent);
                                  ^
gstgscreamtx.cpp:401:34: error: expected ‘)’ before ‘;’ token
gstgscreamtx.cpp:419:3: error: ‘getTime’ was not declared in this scope
   getTime(filter,&time,&time_ntp);
   ^~~~~~~
gstgscreamtx.cpp:419:3: note: suggested alternative: ‘gmtime’
   getTime(filter,&time,&time_ntp);
   ^~~~~~~
   gmtime
gstgscreamtx.cpp:427:13: error: ‘filter_’ was not declared in this scope
     switch (filter_->media_src) {
             ^~~~~~~
gstgscreamtx.cpp:463:13: error: ‘filter_’ was not declared in this scope
             filter_->screamTx->getShortLog(time, buf2);
             ^~~~~~~
gstgscreamtx.cpp: In function ‘gboolean gst_g_scream_tx_sink_event(GstPad*, GstObject*, GstEvent*)’:
gstgscreamtx.cpp:505:3: error: ‘GstgScreamTx’ was not declared in this scope
   GstgScreamTx *filter;
   ^~~~~~~~~~~~
gstgscreamtx.cpp:505:3: note: suggested alternative: ‘GstStream’
   GstgScreamTx *filter;
   ^~~~~~~~~~~~
   GstStream
gstgscreamtx.cpp:505:17: error: ‘filter’ was not declared in this scope
   GstgScreamTx *filter;
                 ^~~~~~
gstgscreamtx.cpp:505:17: note: suggested alternative: ‘fcvt_r’
   GstgScreamTx *filter;
                 ^~~~~~
                 fcvt_r
In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from gstgscreamtx.cpp:51:
/usr/include/glib-2.0/gobject/gtype.h:2224:10: error: expected primary-expression before ‘)’ token
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
          ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:508:12: note: in expansion of macro ‘GST_GSCREAMTX’
   filter = GST_GSCREAMTX (parent);
            ^~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2224:12: error: expected ‘)’ before ‘g_type_check_instance_cast’
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
            ^
/usr/include/glib-2.0/gobject/gtype.h:482:66: note: in expansion of macro ‘_G_TYPE_CIC’
 #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)    (_G_TYPE_CIC ((instance), (g_type), c_type))
                                                                  ^~~~~~~~~~~
gstgscreamtx.h:61:4: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GSCREAMTX,GstgScreamTx))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
gstgscreamtx.cpp:508:12: note: in expansion of macro ‘GST_GSCREAMTX’
   filter = GST_GSCREAMTX (parent);
            ^~~~~~~~~~~~~
gstgscreamtx.cpp:508:34: error: expected ‘)’ before ‘;’ token
   filter = GST_GSCREAMTX (parent);
                                  ^
gstgscreamtx.cpp:508:34: error: expected ‘)’ before ‘;’ token
gstgscreamtx.cpp:520:5: error: ‘filter_’ was not declared in this scope
     filter_ = filter;
     ^~~~~~~
In file included from gstgscreamtx.cpp:53:0:
gstgscreamtx.cpp: In function ‘gboolean gscreamtx_init(GstPlugin*)’:
gstgscreamtx.h:59:4: error: ‘gst_g_scream_tx_get_type’ was not declared in this scope
   (gst_g_scream_tx_get_type())
    ^
gstgscreamtx.cpp:587:7: note: in expansion of macro ‘GST_TYPE_GSCREAMTX’
       GST_TYPE_GSCREAMTX);
       ^~~~~~~~~~~~~~~~~~
gstgscreamtx.h:59:4: note: suggested alternative: ‘gst_g_scream_tx_get_property’
   (gst_g_scream_tx_get_type())
    ^
gstgscreamtx.cpp:587:7: note: in expansion of macro ‘GST_TYPE_GSCREAMTX’
       GST_TYPE_GSCREAMTX);
       ^~~~~~~~~~~~~~~~~~
Makefile:489: recipe for target 'libgstgscreamtx_la-gstgscreamtx.lo' failed
make[2]: *** [libgstgscreamtx_la-gstgscreamtx.lo] Error 1
make[2]: Leaving directory '/home/vortex/code/scream/code/gscream/gst-gscreamtx/gst-plugin/src'
Makefile:406: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/vortex/code/scream/code/gscream/gst-gscreamtx/gst-plugin'
Makefile:338: recipe for target 'all' failed
make: *** [all] Error 2

What am I missing here? Any pointers are much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions