Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st August 2010, 19:33 | #1 | Link |
Registered User
Join Date: Sep 2008
Location: Birmingham (UK)
Posts: 69
|
Using GStreamer in Windows projects
I thought I'd take a look at using GStreamer under windows (Ossbuild). Unfortunately there is little in the way of help - the sdk does not include any sample projects to get you up and running.
This link gives a useful starter program but it is an example for Linux and it is the project setup that is now the issue. After trial and error, I've worked out the four include dirs: "C:\Program Files\OSSBuild\GStreamer\v0.10.6\sdk\include\gstreamer-0.10" "C:\Program Files\OSSBuild\GStreamer\v0.10.6\sdk\include\glib-2.0" "C:\Program Files\OSSBuild\GStreamer\v0.10.6\sdk\include\libxml2\" "C:\Program Files\OSSBuild\GStreamer\v0.10.6\sdk\include\" After configuring the project to use multibyte chars instead of unicode, this gets me to the stage where the 'c' code compiles but won't link, leaving 9 errors Code:
1>MfcTest.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) 1>MfcTest.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) 1>MfcTest.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) 1>MfcTest.obj : error LNK2019: unresolved external symbol _g_log referenced in function "int __cdecl bus_call(struct _GstBus *,struct _GstMessage *,void *)" (?bus_call@@YAHPAU_GstBus@@PAU_GstMessage@@PAX@Z) 1>MfcTest.obj : error LNK2019: unresolved external symbol _g_main_loop_run referenced in function "void __cdecl play_uri(char const *)" (?play_uri@@YAXPBD@Z) 1>MfcTest.obj : error LNK2019: unresolved external symbol _g_object_set referenced in function "void __cdecl play_uri(char const *)" (?play_uri@@YAXPBD@Z) 1>MfcTest.obj : error LNK2019: unresolved external symbol _g_type_check_instance_cast referenced in function "void __cdecl play_uri(char const *)" (?play_uri@@YAXPBD@Z) 1>MfcTest.obj : error LNK2019: unresolved external symbol _g_main_loop_new referenced in function "void __cdecl play_uri(char const *)" (?play_uri@@YAXPBD@Z) There are so many other lib files I'm never gonna find the right ones, so can anybody help ? TTFN, Jon |
28th August 2010, 23:28 | #2 | Link |
Registered User
Join Date: Mar 2005
Posts: 366
|
http://www.gstreamer-winbuild.ylatuya.es/doku.php
https://forja.rediris.es/forum/forum.php?forum_id=1624
__________________
DVD slideshow GUI(Freeware). |
Tags |
gstreamer, project settings, windows |
Thread Tools | Search this Thread |
Display Modes | |
|
|