LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   plplot.h can not be found with "plplot-5.5.3-7.fc4.i386.rpm" installed (https://www.linuxquestions.org/questions/programming-9/plplot-h-can-not-be-found-with-plplot-5-5-3-7-fc4-i386-rpm-installed-377246/)

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"?
THANK YOU!

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

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


All times are GMT -5. The time now is 03:04 AM.