Hi Walt,

I have seen such behaviour before – with some environments output to the 
console is either buffered or dropped. The command-line options, like “./a -dev 
wingcc” should work though.

If the program stops immediately when run in a Windows console, then there is a 
good chance that it stops because it could not find one or more of the DLLs it 
depends on. If you run it from a file manager like Windows Explorer you may get 
a message box showing the name of the missing DLL. My tool of choice to find 
out which is “dependency walker” – http://www.dependencywalker.com/ or the 
newer rewrite at https://github.com/lucasg/Dependencies.

Regards,

Arjen

From: Walt Brainerd <walt.brain...@gmail.com>
Sent: 24 December 2019 20:43
To: Alan W. Irwin <alan.w.irwin1...@gmail.com>
Cc: plplot_general <plplot-general@lists.sourceforge.net>
Subject: Re: [Plplot-general] Plplot in Msys2

Things have changed a bit with my tinkering.

Pls ignore the statements about the examples--all bogus.
I do have 5.15.0 in my Msys2.

When I compile in an Msys window, ./a just hangs. If I type a "1",
the graph is generated on the screen. The display options usually
do not show up at all.

When I compile with exactly the same compiler in a Windows
command window, it executes and terminates immediately with
no output.

Apparently running an Msys terminal sets something that helps,,
but it is still not right.

If this suggests anything to anybody, please let me know.
In the meantime, I will try to build plplot from source.

I have no confidence that it is the fault of Msys, given my
lack of expertise about all this, so am reluctant to submit
a bug. But maybe I will if I can my own build to work.

Thanks.

On Mon, Dec 23, 2019 at 8:25 PM Alan W. Irwin 
<alan.w.irwin1...@gmail.com<mailto:alan.w.irwin1...@gmail.com>> wrote:
On 2019-12-23 14:40-0700 Walt Brainerd wrote:

[...]
> I see the Fortran examples [for official MSYS2 package version] are quite 
> different, but I did use the latest.
> Why were they rewritten?
[...]

Hi Walt:

The Fortran examples were historically rewritten a long time ago but
not any time recently.  Therefore, I am virtually positive you are
seeing an old version of the PLplot fortran examples because you have
accessed an old official MSYS2 package version of PLplot.

What happens if you do a general update of your MSYS2 platform
following the [MSYS2 instructions for doing
that](https://github.com/msys2/msys2/wiki/MSYS2-installation<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmsys2%2Fmsys2%2Fwiki%2FMSYS2-installation&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815636572&sdata=p5Hk9W4J5Um9OqEORnV1DgDSN4u8SNQenCeWVQfGuH8%3D&reserved=0>)?
  My bet
is you will then have access to the latest official packaged version
of PLplot which is our latest release (5.15.0).

By the way, we are normally quite happy with the MSYS2 platform for
PLplot.  For example, as part of the 5.15.0 pre-release testing, Arjen
has had good Fortran (and much other) success on MSYS2 with a PLplot
version that he built himself.  However, as far as I know he has never
tested the official MSYS2 PLplot package there which has been packaged
by the principal packager for MSYS2 (alexpux) who is familiar with
MSYS2 but not PLplot.  So if it turns out that official MSYS2 packaged
version of PLplot-5.15.0 does not work, you should prepare a bug
report for MSYS2 and revert to using a 5.15.0 version that you built
yourself on MSYS2 just to follow closely what Arjen did for his test.
And with any luck at all, you should be able to replicate Arjen's
Fortran success with that method.

Alan
__________________________
Alan W. Irwin

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors 
(freeeos.sf.net<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffreeeos.sf.net&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815636572&sdata=%2FCMEqUG4IkWXqu7s%2Bn3rp8IfSVo5f%2BuEt96axOVAGFM%3D&reserved=0>);
 the Time
Ephemerides project 
(timeephem.sf.net<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftimeephem.sf.net&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815646563&sdata=sxtjLdA%2FO1mXtp5wQd3ezLJEV71Khsjq9Sk5sbeZ2og%3D&reserved=0>);
 PLplot scientific plotting
software package 
(plplot.org<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplplot.org&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815646563&sdata=s3v3YIs34rLGq7GCYnveCdmqocgQfycNuBjwFhANTJc%3D&reserved=0>);
 the libLASi project
(unifont.org/lasi<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Funifont.org%2Flasi&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815646563&sdata=BbXaULKZ0U0L6XdOrPA9XySQlWVynHMJimVQ2xbT4Kc%3D&reserved=0>);
 the Loads of Linux Links project 
(loll.sf.net<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Floll.sf.net&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815656556&sdata=4MD%2FUjk%2BL2jROUv05PyU%2B9%2FLdjYTbi2zr7rGxBpwbKA%3D&reserved=0>);
and the Linux Brochure Project 
(lbproject.sf.net<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flbproject.sf.net&data=02%7C01%7C%7C831500c32ab84bfb131908d788a97af0%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637128133815656556&sdata=EysoSTvxSmGekuNMEH%2BztYZXazvdLMprgdyG2m7wdIc%3D&reserved=0>).
__________________________

Linux-powered Science
__________________________


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

Reply via email to