[Bug 755864] C++ Linker problem for gst_app_src_push_sample

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 30 03:22:27 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755864

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Normal                      |High
             Status|NEW                         |NEEDINFO
                 CC|                            |ystreet00 at gmail.com
           Severity|normal                      |critical

--- Comment #1 from Matthew Waters <ystreet00 at gmail.com> ---
How are you invoking the compiler?

I cannot reporoduce with the following program/compile switches.

#include <gst/app/gstappsrc.h>

int main (int argc, char *argv[])
{
  gst_app_src_push_sample (NULL, NULL);
  gst_app_src_push_buffer (NULL, NULL);

  return 0;
}

g++ $(pkg-config --cflags gstreamer-app-1.0) file.cpp $(pkg-config --libs
gstreamer-app-1.0)

gcc $(pkg-config --cflags gstreamer-app-1.0) file.cpp $(pkg-config --libs
gstreamer-app-1.0)

(Note that to solve the linker errors you would need to link against
-lgstapp-1.0 which the pkg-config --libs gstreamer-app-1.0 gives you)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list