Skip to main content

Thread: gstreamer and Makefile


hello,

getting compiler error when running program gstreamer.
makefile
code:
prog     = player  srcs     = main.c    objs     = $(srcs:.c=.o)  cflags = -o2 -wall -werror -ansi `pkg-config gtk+-2.0 gstreamer-0.10 --cflags`  ldlibs   = -lpthread `pkg-config gtk+-2.0 gstreamer-0.10 --libs`  include  =  depfile  = deps.mak    .phony: clean    $(prog): $(objs)  		$(cc) $^ $(ldlibs) -o $@    # how make object files:  .c.o:  		$(cc) $(cflags) -c $<    deps:  		$(cc) -mm $(ccflags) $(srcs) > $(depfile)    # cleaning target (only works fileutils):  clean:  		$(rm) $(objs) $(prog)    -include $(depfile)
error
code:
cc -o2 -wall -werror -ansi `pkg-config gtk+-2.0 gstreamer-0.10 --cflags` -c main.c  package gstreamer-0.10 not found in pkg-config search path.  perhaps should add directory containing `gstreamer-0.10.pc'  pkg_config_path environment variable  no package 'gstreamer-0.10' found
how add gstreamer-0.10 pkg_config_path environment variable?

so have package "libgstreamer0.10-dev" installed?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk gstreamer and Makefile


Ubuntu

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial