Hi Walt
I have had success with the visual studio generator and use it routinely. I 
updated the wiki instructions recently. Check them out and see if they help 
https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/

My first guess might be that by not using the -G option to select a generator, 
maybe you are getting a 32 bit generator on a 64 bit system? My second guess 
might be that you are running from a standard command prompt. You must use the 
visual studio command prompt as it has extra environment variables set.

Hope this helps.

Phil

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Arjen Markus <arjen.mar...@deltares.nl>
Sent: Monday, April 15, 2019 1:48:46 PM
To: Alan W. Irwin; Walt Brainerd
Cc: plplot_general
Subject: Re: [Plplot-general] Building plplot on Windows 10

Hi Walt, Alan,

The message appears to come from Visual Studio, so Walt uses the "Visual 
Studio" generator. My personal experience with that generator (or I should say 
generators, as there are at least seven, one of each supported version of 
Visual Studio and then you have the choice of architecture (ARM or Win64 or 
IA64, choose two, depending on the VS version, and there may be more as my 
installation is geared to 64-bits, IIRC). My preference is the "NMake 
Makefiles" generator, as that allows me to run the whole build procedure via a 
small batchfile.

My suggestion at the moment is that Walt use this particular generator, though 
I am interested to know which generator he used.

Regards,

Arjen

-----Original Message-----
From: Alan W. Irwin <alan.w.irwin1...@gmail.com>
Sent: 15 April 2019 00:30
To: Walt Brainerd <walt.brain...@gmail.com>
Cc: plplot_general <plplot-general@lists.sourceforge.net>
Subject: Re: [Plplot-general] Building plplot on Windows 10

On 2019-04-14 15:54-0600 Walt Brainerd wrote:

> I am trying again without success to build plplot on Windows.
>
> cmake.exe -DCMAKE_INSTALL_PREFIX=install ../plplot.git >& cmake.out
>
> produces
>
>    Build FAILED.
>
>
> "C:\walt\Software\Plplot\build_dir\CMakeFiles\3.14.2\VCTargetsPath.vcxproj"
> (default target) (1) ->
>
> C:\walt\Software\Plplot\build_dir\CMakeFiles\3.14.2\VCTargetsPath.vcxproj(14,2):
> error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props"
> was not found. Confirm that the path in the <Import> declaration is
> correct, and that the file exists on disk.
>
> That file (of course?) does not exist in the C directory.
> Help please for someone who does not know much about C++ or cmake.
> I just want to build it to use it with Fortran. I can use Cygwin or MSYS.
> Thanks.

I can't help you with platform specifics since I don't have good access to any 
Windows platform other than Wine, and current Wine bugs stop me from trying out 
either MinGW-w64/MSYS2 or Cygwin on that platform.

However, I do want to make the comment that in general, PLplot users have good 
luck with it on Windows.  This claim is based on the fact that roughly half our 
users use various Windows platforms yet from the lack of complaints (other than 
yours) they appear to be having success with PLplot.  Furthermore, Arjen's 
extensive tests of the Cygwin, MinGW-w64/MSYS2, and MSVC platforms give good 
results in general.  So my guess is whatever the issue is for you, it is likely 
a small unique one related to how your platform is configured to build software 
rather than any general problem with PLplot on Windows.

Note, we do not support MSYS since the MinGW-w64/MSYS2 project has long 
superseded that.  But to help find the source of what appear to be unique 
problems in your case please do give extensive details (e.g., much more than 
above such as a full CMake cache file, full cmake output, full build output) 
for your Cygwin platform.  And also please try to install MinGW-w64/MSYS2 
following the well-documented steps at 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmsys2%2Fmsys2%2Fwiki&amp;data=02%7C01%7C%7C89174c21237c4f10f84108d6c128c7f6%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C636908778237522820&amp;sdata=ukmRkI5y6z6j2pYBe9hw7Ga3FzWl6Pq%2Bv5fhLKcOK4Y%3D&amp;reserved=0>
 and give us detailed PLplot configuration and build results for that case as 
well.

I assume once you give those details on one or both of those well-tested 
platforms, other PLplot users here with access to those platforms should be 
able to weigh in on what might be specifically wrong in your case.

Alan
__________________________
Alan W. Irwin

Programming affiliations with the FreeEOS equation-of-state implementation for 
stellar interiors (freeeos.sf.net); the Time Ephemerides project 
(timeephem.sf.net); PLplot scientific plotting software package 
(plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux 
Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fplplot-general&amp;data=02%7C01%7C%7C89174c21237c4f10f84108d6c128c7f6%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C636908778237522820&amp;sdata=78YP7kOvDp7W2iM%2F6EJufnoxYxgYxybvJwClK1Kibrk%3D&amp;reserved=0
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
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to