Gstreamer on Qt iOS

doon don-prog at mail.ru
Wed Apr 6 22:49:27 UTC 2016


Sebastian Dröge-3 wrote
> On Mi, 2016-04-06 at 05:06 -0700, doon wrote:
>> Yes, of course. Compile output:
>> 
>> Undefined symbols for architecture x86_64:
>>   "_iconv", referenced from:
>>       _g_iconv in GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-
>> gconvert.o)
>>       _g_convert_with_iconv in
>> GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-gconvert.o)
>>       _g_convert_with_fallback in
>> GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-gconvert.o)
>>       __nl_find_msg in GStreamer(libintl_a_x86_64_-dcigettext.o)
>>      (maybe you meant: _g_iconv_close, _g_iconv , _g_iconv_open ,
>> _g_convert_with_iconv )
>>   "_iconv_close", referenced from:
>>       _g_iconv_close in
>> GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-gconvert.o)
>>       _g_convert in
>> GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-gconvert.o)
>>       _g_convert_with_fallback in
>> GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-gconvert.o)
>>      (maybe you meant: _g_iconv_close)
>>   "_iconv_open", referenced from:
>>       _try_conversion in
>> GStreamer(libglib-2_0_a_x86_64_-libglib_2_0_la-gconvert.o)
>>       __nl_find_msg in GStreamer(libintl_a_x86_64_-dcigettext.o)
>>      (maybe you meant: _g_iconv_open)
>>   "_libiconv_set_relocation_prefix", referenced from:
>>       _libintl_set_relocation_prefix in
>> GStreamer(libintl_a_x86_64_-relocatable.o)
> 
> You need to do the equivalent of this commit in your project:
> https://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/commit/?id=77b2656d6d661f422c0ddd1b4357f829a0ef9e5d
> 
> -- 
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> 
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (968 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4676780/0/signature.asc>

Yes, thanks, I already use linking with -liconv.
Now I try to register some plugins for playback test but get an issue with
this - I can't register any plugin. Code:
GST_PLUGIN_STATIC_DECLARE(videotestsrc);
GST_PLUGIN_STATIC_REGISTER(videotestsrc);

Output:
Undefined symbols for architecture x86_64:
  "gst_plugin_videotestsrc_register()", referenced from:
      MainWindow::play() in mainwindow.o
ld: symbol(s) not found for architecture x86_64

Then I tried to link against another libraries(-lgstreamer-1.0 -lgstreamer
-lvideotestsrc etc.) but linker said "library not found for %library name%".
I also tried to find pkg-config but I can't open Libraries
dir(http://i.stack.imgur.com/Voq6b.png). 
How can I register plugins?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-on-Qt-iOS-tp4676773p4676783.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list