appsrc- unresolved external

Tim Müller tim at centricular.com
Thu Apr 3 03:07:56 PDT 2014


On Thu, 2014-04-03 at 02:42 -0700, leon wrote:

Hi Leon,

> Im using appsrc in my code.
> 
> I added: 
> #include <gst/app/gstappsrc.h>
> 
> and I think its o.k by Visual Studio (I didn't get any errors on that)
> 
> now, I have those two functions:
> 
> gst_app_src_end_of_stream()
> gst_app_src_push_buffer()
> 
> when I try to build the code I get this error (unresolved external):
> 
> Error LNK2019: unresolved external symbol _gst_app_src_push_buffer
> Error LNK2019: unresolved external symbol _gst_app_src_end_of_stream
> Error LNK1120: 2 unresolved externals
> 
> any idea what am I missing here?

These functions live in a separate helper library from gst-plugins-base
called libgstapp-1.0-0, so you need to add that as dependency to your
linker input settings.

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list