On Apr 8, 2008, at 9:36 PM, [EMAIL PROTECTED] wrote: > Hi, > > I am a plplot newbuy, have just installed it to my Kubuntu machine > from > the repository. I could not find in the documentation a single > example of > how to compile and link a program that uses plplot. My attempts to > compile > some test codes by guessing right library names and paths with the > aid of > pkg-config did not lead to any success. > > Could someone provide me with compiling and linking examples that are > known work on Linux with gcc/g++/g77/gfortran?
For simple programs that only depend on PLplot, this works for me on linux: gcc test1.c -o test1 -lplplotd -Hazen ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
