Hi
I wrote a simple C code with gstreamer libs( gstreamer example code manual ref )
On my ubuntu linux, the gstreamer headers are inside /usr/include/gstreamer-0.10/gst
Inside my C code I wrote:
#include <stdlib.h>
#include <gstreamer-0.10/gst/gst.h>
....
.... I have this error: there are unresolved includes inside <gstreamer-0.10/gst/gst.h>
inside gstreamer-0.10/gst/gst.h I find: #include <glib.h>
#include <gst/glib-compat.h>
#include <gst/gstenumtypes.h>
#include <gst/gstversion.h>
#include <gst/gstbin.h>
#include <gst/gstbuffer.h>
#include <gst/gstbufferlist.h>
#include <gst/gstcaps.h> .... ....
But On my ubuntu I have
Assuming you're using gcc, you can specify extra include directories with -I<path>, e.g:
tells the compiler to look in /usr/include/gstreamer-0.10.
You should probably include -I/usr/include/gstreamer-0.10 and -I/usr/include/glib-2.0, and then #include <gst/gst.h> in your source file. That way, you can use new versions of the headers by just changing the -I flags on your command line.
If I delete these two lines, the code is successfully constructed
what is the problem?
These are linker errors - you need to link with the pre-compiled gstreamer library. This means you need to find where that library is and, if it's not in a standard directory like /lib/ or /usr/lib/, pass that as an -L option to specify the library directory to gcc, much like you did with -I (uppercase 'i'), and then you need to pass an -l (lowercase 'L') option, e.g. the following:
Will tell gcc to look for library files in /usr/lib/gstreamer-0.10/, and will look for libgstreamer.so.
I don't know if you'll want to use -lgstreamer, you'll have to find out from their documentation.
Hi,
In our HP-UX B.11.11. I could not find dev/urandom and dev/random
Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom.
Please help (4 Replies)
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Hi,
How can i check that i am using RAW devices for storage in my AIX machine...
Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number
eg:
dcback1(root):/dev>ls -lrt | grep disk12
crw------- 1 root ... (4 Replies)
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
hello,
i have downloaded the gstreamer from following location
Index of /pkg/redhat/9/i386/SRPMS.gst
and i placed in the root/Zoom directory.
now i want to install that on my system so that i can devolop some gstreamer related applications and run it.
now how i need to install it on my... (0 Replies)
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)