Camerabin - how to specify size of image for capture

Tim Müller tim at centricular.com
Mon Feb 17 10:37:45 PST 2014


On Mon, 2014-02-17 at 18:19 +0000, Ian Davidson wrote:

Hi Ian,

> I have cloned the git master and, starting with gstreamer, then
> gst-plugins-base followed by all the others, I have run autogen.sh and
> make - and I believe that for each got a successful conclusion.
> 
> I then tried to complie my program and I got 
> [gst-master] [ian at localhost superRecord]$ gcc -Wall JustTheCamera.c -o
> jtc $(pkg-config --cflags --libs gstreamer-1.0 gtk+-3.0) 
> /home/ian/gst/master/gstreamer/gst/libgstreamer-1.0.la: file not
> recognized: File format not recognized
> collect2: error: ld returned 1 exit status
> 
> Where might I have gone wrong?

To compile something in an uninstalled setup you have to use libtool,
something like:

 $ libtool --mode=link gcc -Wall -g `pkg-config --cflags --libs
gstreamer-1.0 gtk+-3.0` -o jtc JustTheCamera.c

(It's even hidden somewhere in the FAQ :))

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list