Thanks to you guys, I eventually succeeded to build plplot and  
fortran sample code on Cygwin. Thank you very much.

I would like to ask you two basic mattes after building of plplot.

When I built plplot on Cygwin at the first time, make install command  
was automatically installed plplot files which doesn't work to /usr/ 
local/bin. So there are plplot folders in that location even now. How  
to install new working plplot files to /usr/local/bin, and should I  
remove those old plplot files?

Actually plplot creates execute files in f77. When I ran those file  
from cygwin shell and X-window as ./x**f.exe, nothing shows. Also I  
tried to add -dev ps and -dev jpg options, result is same. How to  
show and get the results?

Regards,
Hiroyasu


On 2007/10/31, at 4:15, Arjen Markus wrote:

> Hello,
>
> it is clear to me now why:
>
> gfortran -o x01f x01f.f `pkg-config --libs plplotd-f77`
>
> gives the error message:
>
> /bin/ld: cannot find -lplplotf77d
>
> The file it should link against is called libplplotf77d-9.1.1.dll
> (and the other one is libplplotf77cd-9.1.1.dll)
>
> If I change the plplotd-f77.pc file to:
>
> libdir=/usr/local/bin
> includedir=/usr/local/include/plplot
> drvdir=/usr/local/lib/plplot5.8.0-RC1/driversd
>
> Name: PLplot F77
> Description: Scientific plotting library (F77 bindings, double  
> precision)
> Requires: plplotd
> Version: 5.8.0-RC1
> Libs: -L${libdir} -lplplotf77d-9.1.1 -lplplotf77cd-9.1.1
> Cflags: -I${includedir}
>
> then it works.
>
> I had to change two lines:
>
> libdir points to the _bin_ subdirectory
> Libs must specify the complete name of the libraries (well, without
> the extension).
>
> 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-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel



-------------------------------------------------------------------------
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-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to