[gst-devel] Re: Native Win32 build of GStreamer 0.8.1

Marc VanDaele Marc_VanDaele at Jabil.com
Fri May 7 07:30:03 CEST 2004


Hello,

After the problems described in the previous mail, I continued with trying
to build libxml2-2.6.9.
The ./configure succeeded but the subsequent make failed because the only
make I have on my system right now is nmake.
I tried nmake but that didn't work too well either. (expects $(SHELL) iso
${SHELL} [curly braces] for example)

Then I tried installing msys. Running the configure for glib and pkg-config
resulted in the same problems as listed below with one (major?) difference.
The configure in msys reports 
	checking for Win32... yes
while the configure under cygwin reports "no".
How should I tell cygwin that I have win32?

Then I tried the configure of libxml2 under msys followed by a make but this
make resulted in errors like
- ./libtool: cygpath: command not found [*** should I worry about this
one??]
- an error in xpath.c within a win32 #ifdef (line 10927) where a closing ')'
was missing
  which I could fix myself
- next a lot of errors occured in nanohttp.c because of undefined WSADATA
Here I gave up a 2nd time today :-(

Any opinions on whether msys/mingw or cygwin is the best approach for me?
Do I also need to install MinGW? 
Should I use gcc iso MSVC cl.exe? or should the latter also work fine?

I understand that these beginners questions are not that relevant for this
list but I do appreciate any help,

Marc



> -----Original Message-----
> From: Marc VanDaele [mailto:Marc_VanDaele at Jabil.com]
> Sent: Friday, May 07, 2004 1:36 PM
> To: 'Thomas Vander Stichele'
> Cc: gstreamer-devel at lists.sourceforge.net
> Subject: RE: [gst-devel] Re: Native Win32 build of GStreamer 0.8.1
> 
> 
> Hello Thomas,
> 
> Thanks for your reply.
> Unfortunately, I still face some problems.
> 
> I did the following
> 1. while unzipping gstreamer-0.8.1.tar.gz, I ran into some 
> 'duplicate' files
> like GstTag.sgml and gsttag.sgml which only differ by case
> 2. next I unzipped glib-2.4.1.tar.gz and tried ./configure;
> after adding the environment variables of vcvars32.bat, this 
> ended with 
> 	checking for pkg-config... no
> 	configure: error: *** pkg-config not found. See
> http://www.freedesktop.org/softw
> 	are/pkgconfig/
> 
> 3. next I installed pkg-config (0.15.0) [which contains 
> glib-1.2.8?] and
> tried ./configure
> This complained about no cc or ld and after copying cl.exe to 
> cc.exe and
> link.exe to ld.exe 
> this ended with 
> 	checking for non-GNU ld... no
> 	configure: error: no acceptable ld found in $PATH
> 	configure: error: ./configure failed for glib-1.2.8
> so I assume this glib-1.2.8 needs a gnu compatible ld?
> 
> Any help appreciated.
> 
> Marc
> 
> 
> > -----Original Message-----
> > From: Thomas Vander Stichele [mailto:thomas at apestaart.org]
> > Sent: Friday, May 07, 2004 11:20 AM
> > To: Marc VanDaele
> > Cc: gstreamer-devel at lists.sourceforge.net
> > Subject: RE: [gst-devel] Re: Native Win32 build of GStreamer 0.8.1
> > 
> > 
> > Hi,
> > 
> > > I'm a complete Linux newbie but I do have a lot of 
> > streaming experience.
> > > I've been developing applications, components and part of 
> > the framework
> > > of TSSA (Trimedia Software Streaming Architecture) which 
> > runs on Philips
> > > Trimedia/Nexperia processors, mainly under psos.
> > 
> > Welcome :)
> > 
> > > We do anticipate building products using Linux in the near 
> > future so 
> > > I would like to get a deeper understanding of gstreamer.
> > 
> > Good idea.
> > 
> > > I'm currently going through the documentation but I would 
> > love to step
> > > through a dummy application (eg disk_source - disk_sink) to 
> > get acquainted
> > > with the framework.
> > > 
> > > Given the posts below, I would expect this to be 
> (almost?) possible.
> > > I'm working under Windows2000 and using MSVC C++ .Net.
> > > I would like to use this as a debugger but I have no 
> > problems in using 
> > > eg cygwin to build the application.
> > 
> > If you have no problems using cygwin, it should already be 
> possible to
> > get GStreamer compiled.
> > 
> > > However, since I have no Linux expertise, I have no clue 
> to how to 
> > > build such a gstreamer application.  Is somebody willing to 
> > help me out?
> > > I guess I need to 
> > > 1. retrieve gstreamer from cvs; I guess I need to install 
> > eg WinCvs but then
> > > I'm lost
> > 
> > You don't need CVS, I'd only recommend getting it if you find 
> > a problem
> > with the released source tarballs.
> > 
> > If you decide you do want to use CVS though, see
> > http://gstreamer.freedesktop.org/dev/
> > 
> > The module you need, if you want to start with a simple filesrc !
> > filesink pipeline, is just "gstreamer".
> > 
> > > 2. retrieve all libs on which gstreamer depends 
> > > 	a. glib from http://ftp.gnome.org/pub/gnome/sources/glib/
> > > 	b. gobject from ?
> > gobject is included in glib.  There might be someone 
> > providing some sort
> > of package for cygwin of glib, I haven't checked in a long time.
> > 
> > > 	c. others?
> > libxml (www.xmlsoft.org) and popt (check
> > .http://www.cygwin.com/ml/cygwin-apps/2003-05/msg00230.html).
> > 
> > That mailing list archive might be useful to you for other 
> > dependencies
> > as well.
> > 
> > Furthermore, you will need stuff like bison and yacc working, and
> > disable the documentation build for now.
> > 
> > > 3. cygwin from http://www.cygwin.com/
> > > 4. what is msys? something similar as cygwin?
> > 
> > I think it's mingw ? I'm not sure.
> > 
> > > 5. I need to build it
> > > 	a. can I use the command below to build glib and the other libs?
> > 
> > which command ? Basically, with cygwin set up properly, it 
> > should be as
> > simple as running ./configure, make, make install from the release
> > tarballs.
> > 
> > 
> > > I do have some questions already though
> > > 1. why do you provide so many convenience functions in the 
> > interfaces? 
> > > IMO, it clutters up the interface.
> > 
> > It's a methodology decision.  Both ways work :) After all, we 
> > could all
> > be coding in assembler as well, and still manage to make 
> code.  (Well,
> > some of us would, and others would give up)
> > 
> > >   I'm always insisting on defining 
> > > primitive interfaces (unless there is a performance issue) and I'm
> > > wondering what your rationale is for these convenience 
> > functions like
> > > - gst_element_factory_make
> > > - GST_CAPS_NEW
> > > - gst_element_link_many
> > 
> > > 2. Why is Gnome opposed to using C++
> > 
> > It's not opposed to it.  As a stack of libraries, GNOME prefers C
> > because it is easier to wrap in other languages, compiles 
> faster than
> > C++, has less ABI issues between different compilers, and for 
> > historical
> > reasons.
> > 
> > My personal opinion is that it doesn't provide a big enough 
> > step up over
> > C, I like to skip by two levels of complexity at once.  So 
> > you'll see me
> > programming barebone logic gates, but not assembler, and C, 
> > but not C++,
> > and python, but not something more abstracted.  Others have 
> different
> > reasons :)
> > 
> > Thomas
> > 
> > 
> > Dave/Dina : future TV today ! - http://www.davedina.org/
> > <-*- thomas (dot) apestaart (dot) org -*->
> > I won't leave you
> > all you have is that spell
> > cast it will you
> > <-*- thomas (at) apestaart (dot) org -*->
> > URGent, best radio on the net - 24/7 ! - http://urgent.fm/
> > 
> > 
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent 
> use to deliver
> higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 





More information about the gstreamer-devel mailing list