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.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st August 2010, 19:33   #1  |  Link
JonE
Registered User
 
JonE's Avatar
 
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)
(if I remove "gstreamer-0.10.lib" I get another 10 errors so it is definitely finding this main lib).

There are so many other lib files I'm never gonna find the right ones, so can anybody help ?

TTFN,
Jon
JonE is offline   Reply With Quote
Old 28th August 2010, 23:28   #2  |  Link
tin3tin
Registered User
 
tin3tin's Avatar
 
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).
tin3tin is offline   Reply With Quote
Reply

Tags
gstreamer, project settings, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.