Hi, I am compiling the pluign code in Visual studio. I
had specified for a '.dll' output.
Now, it is giving linking errors for the functions
within gstreamer. All the .h files were included.
My first doubt is- whether i should compile for a
'.dll' output.
1>------ Build started: Project: TEL_MP3_DECODER, Configuration: Debug Win32 ------ 1>Linking... 1> Creating library F:\TELmp3\TEL_MP3_DECODER\Debug\TEL_MP3_DECODER.lib and object F:\TELmp3\TEL_MP3_DECODER\Debug\TEL_MP3_DECODER.exp 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _g_type_register_static referenced in function _gst_telmp3dec_get_type 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_element_get_type referenced in function _gst_telmp3dec_get_type 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_element_class_set_details referenced in function _gst_telmp3dec_base_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_element_class_add_pad_template referenced in function _gst_telmp3dec_base_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_static_pad_template_get referenced in function _gst_telmp3dec_base_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _g_type_check_class_cast referenced in function _gst_telmp3dec_base_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol __gst_debug_register_funcptr referenced in function _gst_telmp3dec_class_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _g_type_class_peek_parent referenced in function _gst_telmp3dec_class_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_segment_new referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_use_fixed_caps referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_set_query_function referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_element_add_pad referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _g_type_check_instance_cast referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_set_chain_function referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_set_event_function referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_new_from_static_template referenced in function _gst_telmp3dec_init 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_segment_free referenced in function _gst_telmp3dec_dispose 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_object_unref referenced in function _gst_telmp3dec_query 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_query referenced in function _gst_telmp3dec_query 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_get_peer referenced in function _gst_telmp3dec_query 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_object_get_parent referenced in function _gst_telmp3dec_query 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_event_default referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_event_new_new_segment referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_mini_object_get_type referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_segment_set_newsegment referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_event_parse_new_segment referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_push_event referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_mini_object_unref referenced in function _gst_telmp3dec_sink_event 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_buffer_join referenced in function _gst_telmp3dec_chain 1>gstTELmp3.obj : error LNK2001: unresolved external symbol __imp__g_thread_functions_for_glib_use 1>gstTELmp3.obj : error LNK2001: unresolved external symbol __imp__g_threads_got_initialized 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_push referenced in function _gst_telmp3dec_audio_frame 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _g_print referenced in function _gst_telmp3dec_audio_frame 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_util_uint64_scale_int referenced in function _gst_telmp3dec_audio_frame 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_alloc_buffer_and_set_caps referenced in function _gst_telmp3dec_audio_frame 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_caps_unref referenced in function _gst_telmp3dec_negotiate 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_pad_set_caps referenced in function _gst_telmp3dec_negotiate 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_caps_new_simple referenced in function _gst_telmp3dec_negotiate 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_util_uint64_scale referenced in function _gst_telmp3dec_src_convert 1>gstTELmp3.obj : error LNK2019: unresolved external symbol _gst_element_register referenced in function _plugin_init 1>F:\TELmp3\TEL_MP3_DECODER\Debug\TEL_MP3_DECODER.dll : fatal error LNK1120: 40 unresolved externals 1>Build log was saved at "file://f:\TELmp3\TEL_MP3_DECODER\TEL_MP3_DECODER\Debug\BuildLog.htm" 1>TEL_MP3_DECODER - 41 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks Bob The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Tue, Aug 26, 2008 at 2:25 AM, Bob <[hidden email]> wrote:
> > Hi, > > I am compiling the pluign code in Visual studio. I had specified for a > '.dll' output. > Now, it is giving linking errors for the functions within gstreamer. All the > .h files were included. > My first doubt is- whether i should compile for a '.dll' output. This just looks like you forgot to link your plugin to the gstreamer and glib libraries - there's nothing particularly special about gstreamer in this regard, you just need to fix up your build system. Mike ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |