Progress, I guess. Plplot builds with Arjen's suggestions. Thanks, Arjen.
(I don't know what you mean by devel vs. plain version of a pkg.)

I don't know where I got the info to set the -L and -l options years ago,
and couldn't find it in the docs,
but here is what I did before with the following current results:

$ gfortran $PLOT trig_plot.f90
trig_plot.f90:20:34:

    call plparseopts(PL_PARSE_FULL)
                                  1
Error: There is no specific subroutine for the generic 'plparseopts' at (1)

Walt@HP_Envy /cygdrive/c/walt/FortranTools71/Src/Plplot/FT_Examples
$ gfortran $PLOT x00f.f90
x00f.f90:22:8:

     use plf95demolib
        1
Fatal Error: Can't open module file 'plf95demolib.mod' for reading at (1):
No such file or directory
compilation terminated.

Walt@HP_Envy /cygdrive/c/walt/FortranTools71/Src/Plplot/FT_Examples
$ echo $PLOT
-IC:\Fortran_Tools\include -LC:\Fortran_Tools\lib -lplplotf95 -lplplotf95c
-lplplot -lcsirocsa -lplplotcxx -lplf95demolib -lqsastime -lgdi32
-lcomdlg32 -LC:\Fortran_Tools\lib -lgtkfortran -lgtk-3 -lgdk-3
-lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo
-lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl

There is a plfortrandemolib.mod in the include file. Is this the one I want?
What else is changed in the libraries?
Is the example x00f.f90 correct?

Here is what I built Plplot with:

../../Cmake/*/bin/cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=install
-DBUILD_SHARED_LIBS=OFF -DENABLE_cxx=OFF -DENABLE_qt=OFF ../plplot.git >&
cmake.out

Thanks again for looking at this.



On Tue, Apr 16, 2019 at 1:49 PM Arjen Markus <arjen.mar...@deltares.nl>
wrote:

> Hi Walt,
>
>
>
> For MinGW-w64/MSYS2 you need to have the mingw-w64-x86_64-make package
> installed, this contains the make utility which seems to be missing.
>
>
>
> For Cygwin, I would say: add -DENABLE_cxx=OFF -DENABLE_qt=OFF, as C++
> lacks an important library (not sure why that is) and Qt4/5 have only
> partial installations too (partial wrt PLplot, that is). As a general note:
> quite often you need the “devel” version of a package as well as the
> “plain” version. This is due to the way Cygwin packages are set up.
>
>
>
> Regards,
>
>
>
> Arjen
>
>
>
> *From:* Walt Brainerd <walt.brain...@gmail.com>
> *Sent:* 16 April 2019 21:40
> *To:* Arjen Markus <arjen.mar...@deltares.nl>
> *Cc:* Phil Rosenberg <p.d.rosenb...@gmail.com>; Alan W. Irwin <
> alan.w.irwin1...@gmail.com>; plplot_general <
> plplot-general@lists.sourceforge.net>
> *Subject:* Re: [Plplot-general] Building plplot on Windows 10
>
>
>
> Trying with MSYS2 gives me:
>
>
>
> $ ../../Cmake/*/bin/cmake -G "Unix Makefiles"
> -DCMAKE_INSTALL_PREFIX=install -DBUILD_SHARED_LIBS=OFF ../plplot.git
>
> CMake Error: CMake was unable to find a build program corresponding to
> "Unix Makefiles".
>
> CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different
> build tool.
>
> -- Configuring incomplete, errors occurred!
>
> See also "C:/walt/Software/Plplot/build_dir/CMakeFiles/CMakeOutput.log".
>
> =======================================================
>
>
>
> With Cygwin, the result files are attached.
>
>
>
> There are messages about pango and cairo and
>
> CMake Error at C:/cygwin/lib/cmake/Qt5Svg/Qt5SvgConfig.cmake:27 (message):
>
>   The imported target "Qt5::Svg" references the file
>
>
>
>      "C:/cygwin/include/qt5/"
>
>
>
> My C:\cygwin does not contain an "include" directory at all.
>
>
>
> (I think) I have installed ALL of cygwin.
>
>
>
> Any other suggestions? Thanks.
>
>
>
>
>
> On Tue, Apr 16, 2019 at 12:43 AM Arjen Markus <arjen.mar...@deltares.nl>
> wrote:
>
> Hi Walt,
>
>
>
> See below.
>
>
>
> Regards,
>
>
>
> Arjen
>
>
>
> *From:* Walt Brainerd <walt.brain...@gmail.com>
> *Sent:* 15 April 2019 18:12
> *To:* Phil Rosenberg <p.d.rosenb...@gmail.com>
> *Cc:* Alan W. Irwin <alan.w.irwin1...@gmail.com>; Arjen Markus <
> arjen.mar...@deltares.nl>; plplot_general <
> plplot-general@lists.sourceforge.net>
> *Subject:* Re: [Plplot-general] Building plplot on Windows 10
>
>
>
> …
>
> If anyone can sen me a cmake command that works for either MSYS2
>
> or Cygwin, I would like to try it. When I successfully built plplot in
>
> the past, I built a static lib and that is fine for my use now.
>
>
>
>
>
> >>AM: For Cygwin I use the following basic command:
>
>
>
>     cmake ../plplot-git -G “Unix Makefiles” …
>
>
>
> I run the command is run in a clean directory next to the one holding the
> sources (plplot-git in my case). I mostly use a bunch of options (the dots)
> to control what is or is not considered in the build, but that should not
> be necessary at all (some packages I have installed within Cygwin cause
> problems in the actual build step, so I have to suppress them for instance).
>
>
>
> For MinGW64/MSYS2 I use the same basic command and I run it in a clean
> directory as well. The one caveat is that I use the shell started via
> mingw64.exe. Again some packages do not support all the necessary bits and
> pieces, so I have to exclude them via a small number of options.
>
>
>
> A useful option is to explicitly ask for the examples/tests to be built:
> -DBUILD_TEST=ON
>
>
>
> Hope this helps.
>
>
>
>
>
> DISCLAIMER: This message is intended exclusively for the addressee(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient please notify the sender immediately and destroy this
> message. Unauthorized use, disclosure or copying of this message is
> strictly prohibited. The foundation 'Stichting Deltares', which has its
> seat at Delft, The Netherlands, Commercial Registration Number 41146461, is
> not liable in any way whatsoever for consequences and/or damages resulting
> from the improper, incomplete and untimely dispatch, receipt and/or content
> of this e-mail.
>
>
>
>
> --
>
> Walt Brainerd
> DISCLAIMER: This message is intended exclusively for the addressee(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient please notify the sender immediately and destroy this
> message. Unauthorized use, disclosure or copying of this message is
> strictly prohibited. The foundation 'Stichting Deltares', which has its
> seat at Delft, The Netherlands, Commercial Registration Number 41146461, is
> not liable in any way whatsoever for consequences and/or damages resulting
> from the improper, incomplete and untimely dispatch, receipt and/or content
> of this e-mail.
>


-- 
Walt Brainerd
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to