testing video with SDL

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

testing video with SDL

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: testing video with SDL

Benoit Fouet-2
Hi,

Chen Hailiang wrote:
> 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?
>
>  

$ sdl-config --libs gstreamer-0.10
-lSDL -lpthread
Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
[--cflags] [--libs] [--static-libs]

you misused sdl-config command
maybe you meant: `sdl-config --libs` `pkg-config gstreamer-0.10 --libs` ?
and you would still maybe lack the CPPPATH

--
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com


-------------------------------------------------------------------------
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