tutorials and vs2017

David Vescovi dvescovi at tampabay.rr.com
Mon Jul 1 08:07:02 UTC 2019


I have installed windows 64bit  gstreamer 1.0 and gstreamer dev x86_64
installers.

I set the environment variable GSTREAMER_1_0_ROOT_X86_64 and added the
C:\gstreamer\1.0\x86_64\bin to my PATH

Then downloaded doc file to get tutorials.

I opened solution file and it upgraded solution to vs 2019.

Tried to build basic tutorial-1 and got the "Cannot open include file:
'gst/gst.h' file.

Then went to Property Manager and did the ..Add existing properity sheet... 

added C:\gstreamer\1.0\x86_64\share\vs\2010\libs\gstreamer-1.0.props

now it partly builds but I get 7 unresolved symbols:

1>basic-tutorial-1.c

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_object_unref referenced in function _main

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_mini_object_unref referenced in function _gst_message_unref

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_bus_timed_pop_filtered referenced in function _main

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_element_get_bus referenced in function _main

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_element_set_state referenced in function _main

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_parse_launch referenced in function _main

1>basic-tutorial-1.obj : error LNK2019: unresolved external symbol
__imp__gst_init referenced in function _main

1>C:\gstreamer\1.0\x86_64\\lib\gstreamer-1.0.lib : warning LNK4272: library
machine type 'x64' conflicts with target machine type 'x86'

1>C:\gstreamer\1.0\x86_64\\lib\gobject-2.0.lib : warning LNK4272: library
machine type 'x64' conflicts with target machine type 'x86'

1>C:\gstreamer\1.0\x86_64\\lib\glib-2.0.lib : warning LNK4272: library
machine type 'x64' conflicts with target machine type 'x86'

1>C:\gstreamer\1.0\x86_64\\lib\intl.lib : warning LNK4272: library machine
type 'x64' conflicts with target machine type 'x86'

1>C:\temp\gst_projects\examples\tutorials\vs2010\Debug\basic-tutorial-1.exe
: fatal error LNK1120: 7 unresolved externals

1>Done building project "basic-tutorial-1.vcxproj" -- FAILED.

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 

 

Just can't seem to get rid of these errors, what am I missing?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190701/d8f0ad17/attachment-0001.html>


More information about the gstreamer-devel mailing list