[gst-devel] testing video with SDL

Benoit Fouet ml_benoitfouet at purplelabs.com
Fri Sep 19 09:14:29 CEST 2008


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





More information about the gstreamer-devel mailing list