Building gstreamer+sdl program

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Building gstreamer+sdl program

Chen Hailiang
Hi all:
   I'm using gstreamer and sdl to make a very sample vedio player.I put all
the codes in one file; video_test.c.
   My question is: how can i compile it? I tried some commands like"gcc -Wall
`sdl-config --libs gstreamer-0.10` video_test.c -o video_player",it didn't
work.Can someone can help?

Chen
--
Best regards




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building gstreamer+sdl program

Stefan Sauer
Chen Hailiang schrieb:
> Hi all:
>    I'm using gstreamer and sdl to make a very sample vedio player.I put all
> the codes in one file; video_test.c.
>    My question is: how can i compile it? I tried some commands like"gcc -Wall
> `sdl-config --libs gstreamer-0.10` video_test.c -o video_player",it didn't
> work.Can someone can help?
>

gcc -Wall `pkg-config --cflags --libs gstreamer-0.10` video_test.c -o video_player

and also show us the errors, how else should we know what went wrong?
Stefan

> Chen
> --
> Best regards
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel