appsink-src.c file compilation error
kunasiramesh
kunasiramesh at gmail.com
Wed Feb 21 06:33:14 UTC 2018
Hi,
I am getting compilation error while compiling appsink-src.c file by this
command "*gcc -Wall appsink-src.c -o appsink-src $(pkg-config --cflags
--libs gstreamer-1.0 gstreamer-audio-1.0)*".
The error message is:
In function `on_new_sample_from_sink':
appsink-src.c:(.text+0x60): undefined reference to `gst_app_sink_get_type'
appsink-src.c:(.text+0x7c): undefined reference to
`gst_app_sink_pull_sample'
appsink-src.c:(.text+0xd4): undefined reference to `gst_app_src_get_type'
appsink-src.c:(.text+0xf4): undefined reference to `gst_app_src_push_buffer'
/tmp/ccVGzia6.o: In function `on_source_message':
appsink-src.c:(.text+0x184): undefined reference to `gst_app_src_get_type'
appsink-src.c:(.text+0x1a0): undefined reference to
`gst_app_src_end_of_stream'
collect2: error: ld returned 1 exit status
Can anyone help me to resolve this issue?
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list