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! |
install plplot-devel i assume... header files do not come in the normal library / app rpm's.
|
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)? |
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.
|
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 ! |
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. |