How do I compile programs that use GStreamer ?
Developing applications with GStreamerGStreamer uses pkg-config to assist applications with compilationa and linking flags. pkg-config is already used by GTK+, GNOME, SDL, and others; so if you are familiar with using it for any of those, you're set. If you're not familiar with pkg-config to compile and link a small one-file program, pass the --cflags and --libs arguments to pkg-config. For example:
$ libtool --mode=link gcc 'pkg-config --cflags --libs gstreamer-0.10' -o myprog myprog.
How can I use ajc to compile programs for a JVM that is different from the one used to run it?
AspectJ Frequently Asked Questionsajc can be used to develop programs that are targeted at the Java 1.1 platform, even though the ajc compiler won't run on that platform. Here's an example of using ajc in this sort of cross-compilation mode (assuming a Windows platform with all the default installation directories): ajc -target 1.1 -bootclasspath c:\jdk1.1.7\lib\classes.zip \ -classpath c:\aspectj1.0\lib\aspectjrt.jar -extdirs "" \ -argfile jdk11system.lst This same technique can be used if you want to run ajc on a JDK 1. See similar questions...
Can Debian be used to compile libc5 programs?
The Debian GNU/Linux FAQ - Debian??LFS??Gentoo?????? - Linux...Yes. Install libc5-altdev and altgcc packages (from the oldlibs section). You can find the appropriate libc5-compiled gcc and g++ in directory /usr/i486-linuxlibc1/bin. Put them in your $PATH variable to get make and other programs to execute these first. See similar questions...
Why can't I compile programs that require libtermcap?
The Debian GNU/Linux FAQ - Debian??LFS??Gentoo?????? - Linux...Debian uses the terminfo database and the ncurses library of terminal interface routes, rather than the termcap database and the termcap library. Users who are compiling programs that require some knowledge of the terminal interface should replace references to libtermcap with references to libncurses. To support binaries that have already been linked with the termcap library, and for which you do not have the source, Debian provides a package called termcap-compat. See similar questions...
How do I compile my programs?
Java FAQSimply open an MS DOS Window, change to the directory where your files are stored, and type: javac MyProgram.java Note, this assumes that javac is in your system path. See the question on accessing Java from the command line above for how to set this. See similar questions...
Why can't I get my Fortran programs to compile with PAPI on a Cray T3E?
Frequently Asked QuestionsThe Fortran header file you include has to be preprocessed before the Fortran file can use it. To have the cpp process the file before sending the file to the compiler, add the -F flag. For example: See similar questions...
How do I use the GStreamer command line interface ?
Using GStreamerYou access the GStreamer command line interface using the command gst-launch. To decode an mp3 and play it through OSS, you could use
gst-launch filesrc location=thesong.mp3 ! mad ! audioconvert ! audioresample ! osssink . More examples can be found in the gst-launch man page. To automatically detect the right codec in a pipeline, try
gst-launch filesrc location=my-random-media-file.mpeg ! decodebin ! audioconvert ! audioresample ! osssink . See similar questions...
How to use/compile this module ?
NW802 kernel module - Frequently Asked QuestionsFirst, download the sources. Then type make. It should produce nw802.o and usbvideo.o . Then modprobe videodev, insmod usbvideo.o & insmod nw802.o . Now the module is loaded. usbvideo.c & usbvideo.h are included in the CVS tree & in the packages but these files are actually part of the kernel tree. I included them because they may have not been built with your kernel. If you wish, you can copy these from /usr/src/linux/drivers/usb/ (eg. to get newer versions. See similar questions...
How do I compile programs with uClibc?
uClibcYou will need to have your own uClibc toolchain. A toolchain consists of GNU binutils, the gcc compiler, and uClibc, all built to produce binaries for your target system linked with uClibc. You can build your own native uClibc toolchain using the uClibc buildroot system. run 'unset CC'. Then run 'unset CXX'. Some Linux systems (i.e. Gentoo) set variables such as 'CC' in the system environment which really messes things up when cross compiling. Select the things you want to build. See similar questions...
What kind of versioning scheme does GStreamer use ?
Developing applications with GStreamerFor public releases, GStreamer uses a standard MAJOR.MINOR.MICRO version scheme. If the release consists of mostly bug fixes or incremental changes, the MICRO version is incremented. If the release contains big changes, the MINOR version is incremented. If we're particularly giddy, we might even increase the MAJOR number. Don't hold your breath for that though. During the development cycle, GStreamer also uses a fourth or NANO number. If this number is 1, then it's a CVS version. See similar questions...
What do I need to compile and run OpenGL programs?
OpenGL FAQ / 2 Getting StartedTo compile and link OpenGL programs, you'll need OpenGL header files and libraries. To run OpenGL programs you may need shared or dynamically loaded OpenGL libraries, or a vendor-specific OpenGL Installable Client Driver (ICD) specific to your device. Also, you may need include files and libraries for the GLU and GLUT libraries. Where you get these files and libraries will depend on which OpenGL system platform you're using. See similar questions...
Why do Kogut and other Kogut programs take so long to compile?
The Kogut FAQThe generated C programs made by Kogut are rather large, and this is not likely to change in the future. In fact, as further optimizations such as inlining are implemented, the output files will probably be even larger. But don't worry; this makes things much more efficient. See similar questions...
How can I see what GStreamer plugins I have on my system ?
Using GStreamerTo do this you use the gst-inspect command-line tool, which comes standard with GStreamer. Invoked without any arguments,
$ gst-inspect will print out a listing of installed plugins. To learn more about a particular plugin, pass its name on the command line. For example,
$ gst-inspect volume will give you information about the volume plugin. Also, if you install the gst-editor package, you will have a graphical plugin browser available, gst-inspect-gui. See similar questions...
Is C++ a superset of C? Can I use a C++ compiler to compile C code?
Infrequently Asked Questions in comp.lang.cC++ is a superset of something, we're not sure what. You can use a C++ compiler to compile C code, but the results may surprise you. See similar questions...
Which compiler should I use and where can I compile my codes?
You should use the Compaq compiler fort to compile both your fortran 77 and fortran 90 programs. C and C++ programs can be compiled with gcc or g++, respecively. To compile and link your MPI programs to the MPI libraries, use mpif77, mpif90, or mpicc. The mpi scripts use fort to compile and link your fortran MPI programs, and gcc or g++ to compile and link your MPI C or C++ programs. You can compile your codes on any machine, and you do not need to submit a job to compile your codes. See similar questions...
Explore Other Topics
What books should I buy ?How can I learn to use LoadRunner?
How fast does light travel?
How do I know if a school is a "true" Montessori School?
What is the best country to adopt from?
Can I use Goldfish Aquarium as my active desktop?
Where is Belize?
Are there tax consequences to debt settlement?
How can I convert degrees Celsius (°C) to degrees Fahrenheit (°F) or vice versa?
What is the power range of the speakers?
How can an employer sponsor a foreign worker?
How do I forward/unforward my phone?
