vasant j wrote: >Hi all, > > I am new to PLPLOT...I have installed the library....I >want to compile one example(x01c.c) program..... > >i did this...... > >gcc x01c.c -c x01c plplot-config --cflags --libs > >but it is showing error as > >undefined --cflags&--libs > >Send me one very simple program to print X & Y axes on plplot and how >to compile the program !! > >Kindly reply to this as soon as possible. > > > Hello Vasant,
you made a small error in the command: gcc -o x01c x01c.c `plplot-config --cflags --libs` Note: "-c" is for compiling the source files only "-o name" names the output file, in this case the executable You need backticks (`) around the plplot-config, as the results from that command are substituted then. Regards, Arjen ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general