Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-23 Thread Phil Rosenberg
Cannot compile plplot using VS 2017 Hi, https://sourceforge.net/p/plplot/plplot/ci/4a5f94a70ac259d696dfaa8117cead7ad89b13f3/ : It works thanks! New file is now // Headers needed for Rand #ifdef _WIN32 // This include must occur before any other include of stdlib.h due to // the #define _CRT_

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-23 Thread Laurent Berger
Hi, https://sourceforge.net/p/plplot/plplot/ci/4a5f94a70ac259d696dfaa8117cead7ad89b13f3/ : It works thanks! New file is now // Headers needed for Rand #ifdef _WIN32 // This include must occur before any other include of stdlib.h due to // the #define _CRT_RAND_S #define _CRT_RAND_S #include

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-23 Thread Phil Rosenberg
Excellent, thanks Alan On Sun, 23 Sep 2018 at 01:25, Alan W. Irwin wrote: > > On 2018-09-22 23:16+0100 Phil Rosenberg wrote: > > > Hi Laurent > > > > I have implemented your first solution. If you could let me know that > > things now work for you that would be great. > > Hi Phil: > > Although

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-22 Thread Alan W. Irwin
On 2018-09-22 23:16+0100 Phil Rosenberg wrote: Hi Laurent I have implemented your first solution. If you could let me know that things now work for you that would be great. Hi Phil: Although your question was addressed to Laurent, it should interest you to know your fix causes no issues for

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-22 Thread Phil Rosenberg
Hi Laurent I have implemented your first solution. If you could let me know that things now work for you that would be great. Thanks Phil On Sat, 22 Sep 2018 at 11:44, Laurent Berger wrote: > > I tried 2 solutions : > > FIRST solution > > don't change wxwidgets_dev.cpp > > and change include

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-22 Thread Phil Rosenberg
Hi Laurent Okay, well if your solution works, the I think we should add it in. Could I please ask for you to check what the minimum list of headers to be included needs to be? Would just adding wx/wx.h be sufficient or do all those headers need to be added? Phil Phil On Sat, 22 Sep 2018 at

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-21 Thread Phil Rosenberg
Hi Laurent What a strange set of compilation errors. They are all from windows sockets headers, rather than from wxWidgets. Here is my guess at what is happening - but I have not been able to reproduce the error (I am using VS 2015 still). In the code before your edits following the #includes

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-21 Thread Alan W. Irwin
On 2018-09-21 18:38+0200 Laurent Berger wrote: Hi, I have just done a git clone : (Date:   Thu Sep 20 22:36:48 2018 -0700 ) commit caf4801dfef32207b74f5374eff52bf2a4c24e3d and delete cmakecache.txt and I I'm trying to build plplot in static BUILD_SHARED_LIBS:BOOL=OFF and

[Plplot-devel] Cannot compile plplot using VS 2017

2018-09-21 Thread Laurent Berger
Hi, I have just done a git clone : (Date:   Thu Sep 20 22:36:48 2018 -0700 ) commit caf4801dfef32207b74f5374eff52bf2a4c24e3d and delete cmakecache.txt and I I'm trying to build plplot in static BUILD_SHARED_LIBS:BOOL=OFF and ENABLE_DYNDRIVERS:BOOL=OFF and I have got 59 errors compiling