HI I am referring to Gstreamer Examples - > http://cgit.freedesktop.org/gstreamer/gstreamer/tree/tests/examples .Any idea how can I compile the whole Tree and get the executables.
There is a Makefile.am in the Top directory and in the sub-folders of each directory.This is generally used by the automake tool to generate Makefile.But Along with that it also uses autoconf tool which takes configure.in file as an input.
Can some plz assit how to compile them and export any other Path variable needed for this. I can use gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs gstreamer-0.10) but I wanted to know and make use of Makefile.am kept in the folders and at the top level.
Rgds, Saurabh _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
On Thu, May 3, 2012 at 4:58 AM, s.rawat <[hidden email]> wrote: > HI > I am referring to Gstreamer Examples - >> http://cgit.freedesktop.org/gstreamer/gstreamer/tree/tests/examples .Any > idea how can I compile the whole Tree and get the executables. > There is a Makefile.am in the Top directory and in the sub-folders of each > directory.This is generally used by the automake tool to generate > Makefile.But Along with that it also uses autoconf tool which takes > configure.in file as an input. > Can some plz assit how to compile them and export any other Path variable > needed for this. You have to run ./autogen.sh in the base directory, which will create appropriate Makefiles for every subdirectory containing source code. If you're running Windows, I'm not sure what you'd do -- probably run MinGW or Cygwin and use the bash interpreter in there; you can still build with whatever toolchain you want. For non-Windows platforms you'll just need an sh / bash interpreter (should be standard on Mac, Linux, Solaris, BSD, etc), autoconf, automake, and a make implementation roughly compatible with GNU Make... the autogen script should handle the rest. BTW you can tweak the configuration options either by supplying command line arguments to autogen.sh, or to the configure script that is created when you run autogen.sh. Try "./configure --help" . -Sean > > > I can use gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs > gstreamer-0.10) but I wanted to know and make use of Makefile.am kept in > the folders and at the top level. > > > Rgds, > Saurabh > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
HI Sean,
Where can I find this autogen.sh.I have copied all teh examples from teh above link and my directory tree looks like : 4096 2012-05-03 12:12 adapter 4096 2012-05-03 12:15 controller
4096 2012-05-03 12:27 helloworld 4096 2012-05-03 12:17 launch 639 2012-05-03 12:24 Makefile.am 4096 2012-05-03 12:26 manual 4096 2012-05-03 12:19 metadata 4096 2012-05-03 12:20 queue
4096 2012-05-03 12:21 stepping 4096 2012-05-03 12:23 streams 4096 2012-05-03 12:24 typefind There is Only Makefile.am in the base Directory. The method you have specified holds good for building the Gstreamer sources I guess, Which I agree.
Rgds, Saurabh _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |