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

Reply via email to