11-02-2008
Access libraries in C++
Hi,
I've a C++ project that uses cairo graphics libraries (see
cairographics.org).
In my class I do
#include <cairo.h>
If I must install the cairo graphics program, I must be root. What I want is that this library only be acessed by this project. Talking in Java language, I would love that cairo library would be a jar, that will be acessed in my project. How can this be possible in C++ world?
Thanks,
Pedro
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
2. Programming
I can not locate package sys/mkdev.h on HP-UX or Linux. Is it a special package or something? (9 Replies)
Discussion started by: laila63
9 Replies
3. IP Networking
How is Libnet and libpcap are useful in sending a packet through DLL layer
and sniff network layer?
and how sinffers are used to track ip adresses provided Mac adresses? (1 Reply)
Discussion started by: netsavy
1 Replies
4. UNIX for Dummies Questions & Answers
I am slowly ploughing my way through the list of links to on-line tutorials you provided to newbies. I for one am grateful for such a comprehensive list, so first of all thank you for that.
What i cannot seem to find, is information on C++ libraries:
The two links on libraries in your list... (0 Replies)
Discussion started by: pil888
0 Replies
5. Shell Programming and Scripting
Hello,
I need to use two different libraries like /usr/local/bin/expect and /usr/bin/ksh at the same script. Is it possible? (4 Replies)
Discussion started by: fozay
4 Replies
6. Programming
I'm a rookie to C and i'm looking for some libraries to learn,something likes the C++ STL or Boost ,does any1 can tell me some of them?Thanks a lot:)
Eric (3 Replies)
Discussion started by: homeboy
3 Replies
7. UNIX for Dummies Questions & Answers
hi all,
i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies
8. IP Networking
Hi
Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies
9. Solaris
Hi All,
I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.
Regards,
Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies
10. Proxy Server
Dear all experts here,
:)
I would like to install a proxy server on Linux server to perform solely to control the access of Web server.
In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server.
I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies
LEARN ABOUT DEBIAN
mlpost
MLPOST(1) General Commands Manual MLPOST(1)
NAME
mlpost - wrapper around OCaml and Metapost for the Mlpost library
SYNOPSIS
mlpost [options] files...
DESCRIPTION
mlpost is a program that compiles OCaml files to PostScript or PDF files using the Mlpost library.
OPTIONS
-pdf Generate .mps files (default)
-mp Generate .mp files
-png Generate .png files
-ps Generate .1 files
-latex <main.tex>
Scan the LaTeX prelude
-eps Generate encapsulated postscript files
-xpdf WYSIWYG mode using xpdf remote server (the name of the remote server is "mlpost")
-v Be a bit more verbose. Otherwise nothing is printed except in case of error.
-ocamlbuild
Use ocamlbuild to compile
-native
Compile to native code
-ccopt <options>
Pass <options> to the Ocaml compiler
-execopt <options>
Pass <options> to the compiled program
-version
Print Mlpost version and exit
-no-magic
Do not parse mlpost options, do not call Metapost.dump
-depend
output dependency lines in a format suitable for the make(1) utility
-contrib <contrib-name>
compile with the specified contrib
-dumpable
output one name of dumpable file by line. So it print all the figures which will be created by the .ml file.
-get-include-compile {cmxa|cma|dir|file}
output the libraries which are needed by the library Mlpost if you want not to use the mlpost tool :
- cmxa print the needed cmxa file (opt version)
- cma print the needed cma file (byte version)
- dir print the directories needed to be include
- file print the file name inside this directory without extension
-compile-name <compile-name>
Keep the compiled version of the .ml file and name it <compile-name>.
-dont-execute
Don't execute the mlfile. So mlpost generates no figures. With this option you can check that a file compile without wasting time to
generate the figures. The options -dont-execute and -compile-name can be used in conjunction to create a program which generates
some figures according to some command line options.
-dont-clean
Don't remove intermediates files. The metapost backend use some intermediates files which are removed without this option.
-cairo Use the cairo backend instead of metapost
-t1disasm
Set the program used to decrypt PostScript Type 1 font, only with cairo (default built-in one). This option will disappear soon.
-help, --help
Display the list of options
SEE ALSO
mpost(1), ocamlc(1), xpdf(1).
AUTHOR
Mlpost was written by Romain Bardou, Francois Bobot, Johannes Kanig, Stephane Lescuyer and Jean-Christophe Filliatre.
This manual page was written by Stephane Glondu <steph@glondu.net> and completed by the Mlpost authors for the Debian project (but may be
used by others).
August 2009 MLPOST(1)