Re: gstreamermm on windows



I gave a try to build gstreamermm using MS VC++ 2008 Express after I've
built GTKMM 3.1.8 and XML++ 2.34.1 libraries
(https://github.com/mlt/gtkmm in case someone feels like forking).
I was getting errors like the following:

C:\workspace\gtkmm\gstreamermm-0.10.10\gstreamer\gstreamermm/clock.h(55)
: error C2201: 'CLOCK_TIME_NONE' : must have external linkage in order
to be exported/imported

Line 55 of clock.h looks like

static GLIBMM_API const ClockTime CLOCK_TIME_NONE = GST_CLOCK_TIME_NONE;

Isn't it a generally bad idea to have variables in header file even
declared as static? And what was the purpose of GLIBMM_API anyway? It
compiled fine after I removed GLIBMM_API from those lines.

Now I'm having issue with caps.cc . It uses GstCapsIntersectMode but I
don't see this definition anywhere. Is gstreamer-0.10 from openSUSE
Build Service broken? How gstreamermm is compiled there then?
Surpsisingly enough gst.h doesn't contain anything with 'mode' in it.
Manual says it has been added in 0.10.33  whereas OBS has 0.10.32
however gstreamermm is labeled 0.10.10 . Why is there such inconsistency
with version numbers? Okay, I've rolled back to gstreamermm-0.10.9 and
compiled everything fine.

At the very end I realized that ogg example uses ALSA as a sink. Of
course I don't have ALSA on win32. What should I use as a sink when
using mingw cross-compiled binaries of gstreamer from openSUSE build
service? Most conversations I found with google contain either broken
links or badly old :-(

P.S. Is there any other source of cross-compiled win32 binaries like
those provided by openSUSE Build Service? In particular glib is outdated
in there and I don't feel like rebuilding entire stack for recent GTKMM
:( Also I'm hesitating on using OSSBuild for gstreamer.

Mikhail

On 08/15/2011 03:38 PM, José Alburquerque wrote:
> On Mon, 2011-08-15 at 15:57 -0400, José Alburquerque wrote:
>> On Mon, 2011-08-15 at 13:20 -0500, Mikhail Titov wrote:
>>> I'm also interested in MM part for xml2 & gstreamer! Unfortunately I know nothing about gstreamer yet only that it somehow bridges with DirectShow that I heavily use to capture stuff.
> Sorry, I sort of read your e-mail quickly and thought you wanted to know
> about building gstreamer.  What I should have said is that if you're
> interested in gstreamer, their docs page has lots of information:
>
> http://gstreamer.freedesktop.org/documentation/
>
> On our part, I'm pretty sure that at some point windows binaries will be
> provided in a similar fashion as how they are provided for glibmm/gtkmm.
>
>> The following wiki describes how to build gstreamer with MinGW if that
>> helps any:
>>
>> http://gstreamer.freedesktop.org/wiki/BuildGStreamerWithMinGWAndMsys
>>
>>> Mikhail
>>>
>>>
>>>> -----Original Message-----
>>>> From: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] On
>>>> Behalf Of Jose Alburquerque
>>>> Sent: Monday, August 15, 2011 12:39 PM
>>>> To: lecas malecas
>>>> Cc: gtkmm-list gnome org
>>>> Subject: Re: gstreamermm on windows
>>>>
>>>> On Mon, 2011-08-15 at 18:12 +0100, lecas malecas wrote:
>>>>> Ok, thanks, I'll take a look at the c version then.
>>>> It wont be long until a version will be available for windows.  I
>>>> suggest you look for upcoming releases that report that.  Sorry for not
>>>> being able to be more specific.
>>>>
>>>>> gtkmm3 isn't available as well, for the same reason I guess?
>>>> gtkmm3 should be available some time in the future also.
>>>>
>>>>> 2011/8/15 José Alburquerque <jaalburquerque gmail com>
>>>>>
>>>>>         On Sat, 2011-08-13 at 01:04 +0100, lecas malecas wrote:
>>>>>         > Hey, I've searched a bit but didn't find anything. Is there
>>>>>         a place
>>>>>         > where you could get gstreamermm on windows? (or that just
>>>>>         isn't
>>>>>         > possible?)
>>>>>
>>>>>
>>>>>         It's not that it's not possible, it's just that it hasn't been
>>>>>         done.
>>>>>         This is something that has been planned for a while; I just
>>>>>         haven't had
>>>>>         much time to work on it.
>>>>>
>>>>>         --
>>>>>         José
>>>>>
>>>>>
>>>>>
>>>> --
>>>> José
>>>>
>>>> _______________________________________________
>>>> gtkmm-list mailing list
>>>> gtkmm-list gnome org
>>>> http://mail.gnome.org/mailman/listinfo/gtkmm-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]