[gst-devel] newbie developer's question
Regis Guyomarch
regis.guyomarch at laposte.net
Fri Mar 4 03:16:21 CET 2005
Hello,
I'm trying to compile the documentation's simple gstreamer
initialisation prog on my gentoo box
> #include "gst/gst.h"
>
> int
> main (int argc,
> char *argv[])
> {
> guint major, minor, micro;
>
> gst_init (&argc, &argv);
>
> gst_version (&major, &minor, µ);
> printf ("This program is linked against GStreamer %d.%d.%d\n",
> major, minor, micro);
>
> return 0;
> }
Gstreamer is installed
I've tried this
gcc init.c -I/usr/include/gstreamer-0.8/ -I/usr/include/glib-2.0/
-I/usr/lib/glib-2.0/include/ -I/usr/include/libxml2/ -o init
Error Message
> /tmp/ccod3x4M.o(.text+0x18): In function `main':
> : undefined reference to `gst_init'
> /tmp/ccod3x4M.o(.text+0x29): In function `main':
> : undefined reference to `gst_version'
> collect2: ld a retourné 1 code d'état d'exécution
Thanks for your help !
More information about the gstreamer-devel
mailing list