I started this forum in order to discuss about how to program and cross-compile GStreamer user space applications for the SBC-i.MX51, making use of the freescale's gstreamer plugins:
One of my 1st questions: how do I specify to the compiler to use the gst-fsl-plugins??
Today we are using oe/btmxc/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-gcc to cross-compile simple programs that, for example, uses i2c to read the TVP5147 device status. In that case, we use the following includes:
Attached is a simple source file that we use to access the i2c bus from a user-space application in order to read the TVP5147 Output Formatter 1 Register and display it in human readable terms.
To compile it we do:
oe/btmxc/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-gcc output_formatter_1.c -o output_formatter_1.o
And then we execute inside the SBC-i.MX51 with no problems.
My question is what should I include to our source file to make use of the Freescale's GStreamer Plugins?
Or should I use gstreamer pkg-config to get compiler and linker flags as the GStreamer App Dev Manual specifies in chapter 10.2?
Original Attachment has been moved to: 605-output_formatter_1.c