I am learning how to write a gstreamer plugin. I got the example plugin from git, and unfortunately failed to build it -- no gstreamer installed. On the machine I am working I don't have root privileges and cannot install gstreamer. I downloaded gstreamer and compiled it in my home folder. My question is how do I tell makefiles to look for those libraries in my home folder? Which config file should I be editing? Any pointers will be appreciated. thanx ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
You can try to work with uninstalled-gstreamer: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-developing.html#developing-uninstalled-gstreamer
when in your uninstalled: use the cflags from: pkg-config gstreamer-0.10 gstreamer-plugins-base-0.10 --cflags use the libs from: pkg-config gstreamer-0.10 gstreamer-plugins-base-0.10 --libs 2009/7/11 Rad E. <[hidden email]>
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
This is the makefile I am using: http://pastebin.ca/1491706 based on Tiago Katcipis Makefiles.
It seems to be ok nevertheless when I execute make this is the result: /home/miki/gstreamer//git/gstreamer/pkgconfig/../gst/libgstreamer-0.10.la: file not recognized: File format not recognized Where libgstreamer-0.10.la comes from "pkg-config gstreamer-0.10 gstreamer-plugins-base-0.10 --libs" and asking on #gstreamer .la is libtool related, anybody knows how to solve this? Thanks El 11 / juliol / 2009 08:25, Miquel Àngel Farré <[hidden email]> ha escrit: You can try to work with uninstalled-gstreamer: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-developing.html#developing-uninstalled-gstreamer ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Doesn't it work if you simply ./configure --prefix=/home/you/gst/ and
then set PKG_CONFIG_PATH=/home/you/gst/lib/pkgconfig when building plugins? Philip 2009/7/11 Miquel Àngel Farré <[hidden email]>: > This is the makefile I am using: http://pastebin.ca/1491706 based on Tiago > Katcipis Makefiles. > It seems to be ok nevertheless when I execute make this is the result: > /home/miki/gstreamer//git/gstreamer/pkgconfig/../gst/libgstreamer-0.10.la: > file not recognized: File format not recognized > > Where libgstreamer-0.10.la comes from "pkg-config gstreamer-0.10 > gstreamer-plugins-base-0.10 --libs" and asking on #gstreamer > .la is libtool related, anybody knows how to solve this? > > Thanks > > El 11 / juliol / 2009 08:25, Miquel Àngel Farré <[hidden email]> ha > escrit: >> >> You can try to work with uninstalled-gstreamer: >> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-developing.html#developing-uninstalled-gstreamer >> >> when in your uninstalled: >> use the cflags from: pkg-config gstreamer-0.10 gstreamer-plugins-base-0.10 >> --cflags >> use the libs from: pkg-config gstreamer-0.10 gstreamer-plugins-base-0.10 >> --libs >> >> >> 2009/7/11 Rad E. <[hidden email]> >>> >>> I am learning how to write a gstreamer plugin. I got the example plugin >>> from git, and unfortunately failed to build it -- no gstreamer installed. On >>> the machine I am working I don't have root privileges and cannot install >>> gstreamer. I downloaded gstreamer and compiled it in my home folder. My >>> question is how do I tell makefiles to look for those libraries in my home >>> folder? Which config file should I be editing? >>> >>> Any pointers will be appreciated. >>> thanx >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Enter the BlackBerry Developer Challenge >>> This is your chance to win up to $100,000 in prizes! For a limited time, >>> vendors submitting new applications to BlackBerry App World(TM) will have >>> the opportunity to enter the BlackBerry Developer Challenge. See full >>> prize >>> details at: http://p.sf.net/sfu/Challenge >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>> >> > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Philip Jägenstedt ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In my case I am not writing a plugin, I am trying to compile an own application
using apsink and an uninstalled gstreamer. 2009/7/11 Philip Jägenstedt <[hidden email]> Doesn't it work if you simply ./configure --prefix=/home/you/gst/ and ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by rad_e
On Fri, 2009-07-10 at 22:48 -0700, Rad E. wrote:
> I am learning how to write a gstreamer plugin. I got the example > plugin from git, and unfortunately failed to build it -- no gstreamer > installed. On the machine I am working I don't have root privileges > and cannot install gstreamer. I downloaded gstreamer and compiled it > in my home folder. My question is how do I tell makefiles to look for > those libraries in my home folder? Which config file should I be > editing? > > Any pointers will be appreciated. You can install GStreamer into your home directory if you like, no root privileges required. In that case you would need to set PKG_CONFIG_PATH to the pkgconfig directory with the GStreamer .pc files, and possibly also LD_LIBRARY_PATH to the lib directory with all the libraries. If set up correctly, pkg-config --cflags gstreamer-0.10 should show the includes in your home directory. Cheers -Tim ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thank you all for replies.When I set pkgconfig's path, configure works fine but I get these errors when I do make. I understand what error says, but not sure how to solve the problem :) Any ideas? Thanks ../libtool: line 459: CDPATH: command not found ../libtool: line 1262: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2 libtool: and run autoconf again. make[2]: *** [libgstplugin_la-gstplugin.lo] Error 63 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |