How to operate on GstMapInfo

dingoegret sephvelut at gmail.com
Wed Mar 15 03:43:01 UTC 2017


I'm attempting to use GstAdapter but I can't seem to get it to be included
for the compiler.

I get a undefined reference to `gst_adapter_push'
undefined reference to `gst_adapter_available'
undefined reference to `gst_adapter_map'
collect2: error: ld returned 1 exit status

Is this normal? I've tried `#include <gst/base/gstadapter.h>` and the way
I'm compiling it is by

g++ -std=c++11 -I/usr/local/include -pthread -I/home/dingo/googleapis/gens 
-c -o main4.o main4.cpp `pkg-config --cflags --libs gstreamer-1.0`
&&
g++ main4.o googleapis.ar -L/usr/local/lib `pkg-config --libs grpc++ grpc
gstreamer-1.0` -Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed
-lprotobuf -lpthread -ldl -o main

I never had a problem compiling with gstreamer until using GstAdapter. What
am I doing wrong?


> View this message in context: http://gstreamer-devel.966125.n4.nabble
> .com/How-to-operate-on-GstMapInfo-tp4682202.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


signature.asc (188 bytes)
<http://gstreamer-devel.966125.n4.nabble.com/attachment/4682220/0/signature.asc>


Quoted from: 
http://gstreamer-devel.966125.n4.nabble.com/How-to-operate-on-GstMapInfo-tp4682202p4682220.html




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-operate-on-GstMapInfo-tp4682202p4682222.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list