scream
scream copied to clipboard
GStreamer plugins build fails
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.
Hi
This plugin has unfortunately not been maintained for a while now and it is unclear if it will be fixed.
/Ingemar
From: sandman [email protected] Sent: den 17 februari 2021 01:25 To: EricssonResearch/scream [email protected] Cc: Subscribed [email protected] Subject: [EricssonResearch/scream] GStreamer plugins build fails (#36)
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 https://protect2.fireeye.com/v1/url?k=9280d2fb-cd1bea19-92809260-86073b36ea28-9ac20e4254804798&q=1&e=d01174c6-99f8-49f2-a0c3-b4adac9ed5f6&u=https%3A%2F%2Fgithub.com%2FEricssonResearch%2Fscream%2Fblob%2Fmaster%2Fcode%2Fgscream%2Freadme.txt page of gscream. Unfortunately the 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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://protect2.fireeye.com/v1/url?k=af77f8c3-f0ecc021-af77b858-86073b36ea28-6b90e57332d79fcf&q=1&e=d01174c6-99f8-49f2-a0c3-b4adac9ed5f6&u=https%3A%2F%2Fgithub.com%2FEricssonResearch%2Fscream%2Fissues%2F36 , or unsubscribe https://protect2.fireeye.com/v1/url?k=4cf54ed5-136e7637-4cf50e4e-86073b36ea28-d7f5cd01707ec4dc&q=1&e=d01174c6-99f8-49f2-a0c3-b4adac9ed5f6&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACRZ2GDJQOZTYUZ3IR6SIKDS7MEGJANCNFSM4XXMJPKA . https://github.com/notifications/beacon/ACRZ2GH7G7DUBDYISL4P6Z3S7MEGJA5CNFSM4XXMJPKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MCDY2PQ.gif
Thanks for your reply. Is it ok if I email you with a few questions related to the algorithm/assumptions?
Sure. Please email questions to
Ingemar.s.johansson [strange alpha sign] ericsson.com
/Ingemar
From: sandman @.> Sent: den 17 mars 2021 19:08 To: EricssonResearch/scream @.> Cc: Ingemar Johansson S @.>; Comment @.> Subject: Re: [EricssonResearch/scream] GStreamer plugins build fails (#36)
Thanks for your reply. Is it ok if I email you with a few questions related to the algorithm/assumptions?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://protect2.fireeye.com/v1/url?k=178f0759-48143e1d-178f47c2-861d41abace8-859dfd87285f70e7&q=1&e=535d6d90-7d76-4182-9241-4d113eeaa716&u=https%3A%2F%2Fgithub.com%2FEricssonResearch%2Fscream%2Fissues%2F36%23issuecomment-801298387 , or unsubscribe https://protect2.fireeye.com/v1/url?k=94607d78-cbfb443c-94603de3-861d41abace8-a0d64ecac34c1fb0&q=1&e=535d6d90-7d76-4182-9241-4d113eeaa716&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACRZ2GGTA3KDT6LY3H2DGY3TEDVXLANCNFSM4XXMJPKA . https://github.com/notifications/beacon/ACRZ2GCDZABK5LGNZUBIJPDTEDVXLA5CNFSM4XXMJPKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF7BNPUY.gif
I’ve fixed this two years ago… check #46 in which it should at least compile (can’t test as I have no camera).