title: GStreamer hello world program in visual studio 2010
body: <p>I m trying to run a simple GStreamer Program (<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html" rel="noreferrer">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html</a>) in visual studio 2010.</p>
  
  <p>I have included the library and other header files required .
  <img src="https://i.stack.imgur.com/jTysS.png" alt="Executable Directories">
  <img src="https://i.stack.imgur.com/HACJx.png" alt="Include Directories">
  <img src="https://i.stack.imgur.com/gII4T.png" alt="Library Directories">
  <img src="https://i.stack.imgur.com/cv9fa.png" alt="Reference Directories"></p>
  
  <p>Now the program compiles but gives me linking errors. </p>
  
  <pre><code>gstream.obj : error LNK2019: unresolved external symbol _gst_object_get_type referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_main_loop_run referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_element_set_state referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_print referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_signal_connect_data referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_element_link_many referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_element_link referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_bin_add_many referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_bin_get_type referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_object_unref referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_bus_add_watch referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_pipeline_get_bus referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_pipeline_get_type referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_object_set referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_type_check_instance_cast referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_element_factory_make referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_pipeline_new referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_printerr referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_main_loop_new referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _gst_init referenced in function _main
  gstream.obj : error LNK2019: unresolved external symbol _g_error_free referenced in function "int __cdecl bus_call(struct _GstBus *,struct _GstMessage *,void *)" (?bus_call@@YAHPAU_GstBus@@PAU_GstMessage@@PAX@Z)
  gstream.obj : error LNK2019: unresolved external symbol _g_free referenced in function "int __cdecl bus_call(struct _GstBus *,struct _GstMessage *,void *)" (?bus_call@@YAHPAU_GstBus@@PAU_GstMessage@@PAX@Z)
  gstream.obj : error LNK2019: unresolved external symbol _gst_message_parse_error referenced in function "int __cdecl bus_call(struct _GstBus *,struct _GstMessage *,void *)" (?bus_call@@YAHPAU_GstBus@@PAU_GstMessage@@PAX@Z)
  gstream.obj : error LNK2019: unresolved external symbol _g_main_loop_quit referenced in function "int __cdecl bus_call(struct _GstBus *,struct _GstMessage *,void *)" (?bus_call@@YAHPAU_GstBus@@PAU_GstMessage@@PAX@Z)
  gstream.obj : error LNK2019: unresolved external symbol _gst_pad_link referenced in function "void __cdecl on_pad_added(struct _GstElement *,struct _GstPad *,void *)" (?on_pad_added@@YAXPAU_GstElement@@PAU_GstPad@@PAX@Z)
  gstream.obj : error LNK2019: unresolved external symbol _gst_element_get_static_pad referenced in function "void __cdecl on_pad_added(struct _GstElement *,struct _GstPad *,void *)" (?on_pad_added@@YAXPAU_GstElement@@PAU_GstPad@@PAX@Z)
  MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
  C:\Users\vickey\Documents\Visual Studio 2010\Projects\gstream\Debug\gstream.exe : fatal error LNK1120: 27 unresolved externals
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>What is that I'm missing?</p>