-   Programming (
-   -   plplot.h can not be found with "plplot-5.5.3-7.fc4.i386.rpm" installed (

aendey 10-26-2005 07:45 PM

plplot.h can not be found with "plplot-5.5.3-7.fc4.i386.rpm" installed
I have install plplot5.5.3 with "plplot-5.5.3-7.fc4.i386.rpm "successfully. But when I use it in my C program ,I can not find "plplot.h" and the other" *.h" which related to plplot5.5.3. What shoud I do? Do I have to find the source code for "plplot-5.5.3"?

acid_kewpie 10-27-2005 03:56 PM

install plplot-devel i assume... header files do not come in the normal library / app rpm's.

aendey 10-27-2005 08:41 PM

Thanks for your advices !Moderator.
I have installed "plplot-devel-5.5.3-7.fc4.i386.rpm" ,then how can I use 'plplot' to draw curves in my own C/C++?I found many articles and posts from some forums,and almost all of them include the files "plplot.h" and "plstreams.h" etc. How can I get them ?
I tried to install plplot-5.5.3 by using "plplot-5.5.3.tar.gz",But there r a lot of errors in step 2,3(make--->make install).How can I install a completely PLPLOT-5.5.3 (or other version)?

acid_kewpie 10-28-2005 07:46 AM

if you've installed the -devel then you will have the headers to compile against. just include them in the c code as any normal library. don't touch the tar.gz, you're sorted already.

aendey 10-31-2005 08:20 PM

THANKS! acid_kewpie!
I have got the header files !
Did you use the 'gnuplot'? What' s the difference between "plplot"and "gnuplot"? Which one will be
more convenient and reasonable?Thank you !

aendey 11-01-2005 08:06 PM

Moderator! I got a example of using PLPLOT .I think I should use the following command:"g++ -o x04 -I /usr/include/plplot -L... -l..." right?
And could you tell me which .so files I should use in the option "-l"?

All times are GMT -5. The time now is 11:31 PM.