Hi David
Can I as what toolset you are using to build with?
Libltdl appears to be gnu related, but I thought you were building with the 
standard windows toolset.

Phil

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



From: David Bergman
Sent: Sunday, February 4, 03:41
Subject: Re: [Plplot-general] More questions about install
To: Phil Rosenberg


Scratch this last email, I discovered a typo in my cmake command.  However, 
after getting past this I am now getting the following,

Could not open driver module wxwidgets
libltdl error: No error information
NMAKE : fatal error U1077: '..\dll\test-drv-info.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017
\Community\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\nmake.exe"' : return code '
0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017
\Community\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\nmake.exe"' : return code '
0x2'
Stop.



On Saturday, February 3, 2018, 8:59:14 PM EST, David Bergman 
<davidrberg...@yahoo.com> wrote:


Phil,

I have the latest but I'm getting new build errors.
The IDE install failed for most projects and eventually hung.  This occurred 
before but restarting usually fixes.
The DOS install failed on the nmake command,

NMAKE : fatal error U1073: don't know how to make 'C:\\all'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017
\Community\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\nmake.exe"' : return code '
0x2'
Stop.

There were no errors in the cmake command and I'm doing this the same as before 
(after help from Arjen to turn off cairo devices).

Could I manually add the code snippet to the header or do the libs need to be 
rebuilt with the change?

Thanks,
David




On Saturday, February 3, 2018, 4:12:57 PM EST, Phil Rosenberg 
<p.d.rosenb...@gmail.com> wrote:


Hi David
I just had another look at the code comparing to the release you are using and 
you were absolutely right, there is a bug there. I have just fixed that and 
pushed the resulting code up to our git repo. You can pull the latest code from 
there at 
https://sourceforge.net/p/<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>plplot<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>/<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>plplot<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>/<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>ci<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>/master/tree/<https://sourceforge.net/p/plplot/plplot/ci/master/tree/>
 in your browser, or using git using the command

git clone git://git.code.sf.net/p/plplot/plplot

Let us know if you are having any difficulties grabbing it.

Phil
From: David Bergman <davidrberg...@yahoo.com>
Sent: Saturday, February 3, 2018 6:49:13 PM
To: Phil Rosenberg
Subject: Re: [Plplot-general] More questions about install

Phil,
Would the bug be in the header or the the call in the test code *.cpp?
If it's the header then I'd like the new version.  But if it's the driver then 
would the documentation on wxWidgets classes be informative?
I notice typical declarations have wxTemplate<Type> * x = something(NULL), to 
initialize the variable.
No such input appears in the driver.
Thanks,
David


On Saturday, February 3, 2018, 11:20:08 AM EST, Phil Rosenberg 
<p.d.rosenb...@gmail.com> wrote:


Hi David
Can I just confirm which version of PLplot you are using or if it is a version 
grabbed from the git repo?

I ask because the line numbers don't seem to match up with the version I have. 
But looking at my code I have a feeling that bug has been fixed.

Phil


On Feb 3, 2018 15:56, "David Bergman" 
<davidrbergman<mailto:davidrberg...@yahoo.com>@yahoo.com<mailto:davidrberg...@yahoo.com>>
 wrote:
I tried running the wxPLplotDemo example and got the following compilation 
error:

error C4703: potentially uninitialized local pointer variable 'drawDc' used on 
line 378 of wxplplotwindow.h

Looking through the code it appears that every declaration of drawDC is as 
follows

wxDC *drawDc = m_memoryDc;

except the last function

void wxPLplotwindow<WXWINDOW>:: setUseGraphicsContext( bool useGraphicsContext )
{
    wxDC *drawDc;
...
}

I am not familiar with the details of the code but it appears that the variable 
is set to something before it is used.  This is not modified code.

Please advise.
Thanks,
David








On Saturday, February 3, 2018, 4:01:05 AM EST, Phil Rosenberg 
<p.d.rosenb...@gmail.com<mailto:p.d.rosenb...@gmail.com>> wrote:


Hi David
Yes, that's exactly what you need to do. <Type> can be pretty much any wxWidget 
window class, although I suggest using wxPanel. Using wxFrame works on Windows, 
but is apparently not good practice and some things don't work properly if you 
render directly to a wxFrame on Linux.

In terms of a demo, check out wxPLplotDemo.cpp in the PLplot source code. It is 
in examples/c++

Phil

From: David Bergman 
<davidrbergman<mailto:davidrberg...@yahoo.com>@yahoo.com<mailto:davidrberg...@yahoo.com>>
Sent: Saturday, February 3, 2018 1:59:39 AM
To: 
plplot<mailto:plplot-devel@lists.sourceforge.net>-<mailto:plplot-devel@lists.sourceforge.net>devel<mailto:plplot-devel@lists.sourceforge.net>@lists.
 sourceforge.net<mailto:plplot-devel@lists.sourceforge.net>; Phil Rosenberg
Subject: Re: [Plplot-general] More questions about install

Phil,

I am at the point where I have been able to successfully build new projects for 
wxWidgets and PLplot independently from scratch, compile-link-run.
I copied some code from a wxPLplotDemo into a new GUI I've developed.

The following declaration gives an error,

wxPLplotwindow* plotwindow;

"argument list missing"

Should the format be

wxPLplotwindow<type> etc

or is there still an issue with the wx drivers?  I have header, lib, and dll 
for wxwidgets functions, and enable_wxwidgets = ON was present in the cmake 
output.

Thanks in advance for our help.
David


On Friday, February 2, 2018, 12:14:04 PM EST, Phil Rosenberg 
<p.d.rosenb...@gmail.com<mailto:p.d.rosenb...@gmail.com>> wrote:


Hi David
Integrating wxWidgets into PLplot should be as simple as defining the WXWIN 
system variable before running cmake. Cmake should see that and automagically 
find wxWidgets and build that backend for the library along with the example.

Where things may get complicated is matching the library settings for Unicode, 
static vs dynamic runtimes and debug vs release builds. I'm not sure if these 
only need matching for static libraries or if dlls need these matching too.

If you have any trouble just drop us an email.

Phil

On Feb 2, 2018 14:37, "David Bergman" 
<davidrbergman<mailto:davidrberg...@yahoo.com>@yahoo.com<mailto:davidrberg...@yahoo.com>>
 wrote:
Phil,

Thanks for reaching out.
At this point the VS IDE build and install has never worked right, without 
massive errors.  The latest trial produced the release version without error 
but not the debug.

Following the instructions for a command line build, with help from Arjen, in 
windows (not Cygwin) produced a directory without errors.  The IDE build and 
the command prompt build are significantly different in the content (in my 
opinion).

I've been able to build a VS project from scratch using PLplot headers and dll 
and it worked.  So, I'm counting that as a success.  I have not yet had a 
chance to do more complex plots, fully test the functions, or integrate with 
widgets which is my intent.  I may need more help in the future.

I will say that there was one dll that the VS compiler/linker said was 
corrupted but I don't recall which one.
Just to get past it and get something working I deleted this from the project.  
It may come back to bite me later.

David



On Friday, February 2, 2018, 9:23:06 AM EST, Phil Rosenberg 
<p.d.rosenb...@gmail.com<mailto:p.d.rosenb...@gmail.com>> wrote:


Hi David
I would have gotten involved in this thread earlier if I had realised it had 
moved to Visual Studio an wxWidgets and away from Cygwin. Sorry for just 
reading the title and not the text.

I always use the visual studio IDE, I don't know if that is the route you ended 
up going down. Have you found the instructions at https://sourceforge.net/p/ 
<https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/>
 
plplot<https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/>/wiki/Configure_PLplot_
 
for_the_Visual_Studio_IDE/<https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/>?
 They are a little out of date, but I don't think much has changed.

Phil

On 26 January 2018 at 14:57, David Bergman via Plplot-general 
<plplot<mailto:plplot-gene...@lists.sourceforge.net>-general@lists. 
sourceforge.net<mailto:plplot-gene...@lists.sourceforge.net>> wrote:
That worked.  Are there any good tutorials for using this with wxWidgets and 
VC++?
I think I need to set up the wxWidgets driver.
You may hear from me again...
David


On Friday, January 26, 2018, 9:38:32 AM EST, Arjen Markus 
<arjen.mar...@deltares.nl<mailto:arjen.mar...@deltares.nl>> wrote:


Hi David,

That is easier – did you install the stuff via “nmake install” or are you 
working from the build directory?

That is what I usually do and then I have to expand the PATH environment 
variable:

set PATH=d:\plplot-build-dir\dll;% PATH%
cd examples\cxx
x01.exe

Fill in the right directory for “plplot-build-dir” above.

Regards,

Arjen

From: David Bergman [mailto:davidrbergman@yahoo. 
com<mailto:davidrberg...@yahoo.com>]
Sent: Friday, January 26, 2018 3:34 PM
To: Arjen Markus
Cc: Plplot<mailto:plplot-gene...@lists.sourceforge.net>-general@lists. 
sourceforge.net<mailto:plplot-gene...@lists.sourceforge.net> 
(plplot<mailto:plplot-gene...@lists.sourceforge.net>-general@lists. 
sourceforge.net<mailto:plplot-gene...@lists.sourceforge.net>)
Subject: Re: RE: RE: [Plplot-general] More questions about install

Arjen,
Thanks, that worked to get past this hurdle.  nmake and nmake install worked.
Frankly, I'm not sure what state plplot is in but I tried running an example 
exe and got an error message that plplotcxx.dll is not installed on my computer.
However, this *.dll does exists in the dll folder.
How does that work?
David


On Friday, January 26, 2018, 8:15:24 AM EST, Arjen Markus 
<arjen.mar...@deltares.nl<mailto:arjen.mar...@deltares.nl>> wrote:


Hi David,

I was a bit hasty, I think – the cairo device driver actually consists of a 
whole slew of them and you would have to set all of them to off to avoid the 
cairo device (things like PLD_wincairo and PLD_epscairo). If I read the CMake 
files correctly, then you should be able to turn off that family of devices by 
-DDEFAULT_NO_CAIRO_DEVICES=ON. (I hope I am right this time)

Regards,

Arjen


From: David Bergman [mailto:davidrbergman@yahoo. 
com<mailto:davidrberg...@yahoo.com>]
Sent: Thursday, January 25, 2018 2:12 PM
To: Arjen Markus
Cc: Plplot<mailto:plplot-gene...@lists.sourceforge.net>-general@lists. 
sourceforge.net<mailto:plplot-gene...@lists.sourceforge.net> 
(plplot<mailto:plplot-gene...@lists.sourceforge.net>-general@lists. 
sourceforge.net<mailto:plplot-gene...@lists.sourceforge.net>)
Subject: Re: RE: [Plplot-general] More questions about install

Arjen,
Thanks.  I tried again with your suggestion but the following warning.

CMake Warning:
  Manually-specified variables were not used by the project:

PLD_cairo

I tried variant, e.g. all cap, etc, just in case there was a typo.  No luck.

Any other suggestions would be appreciated.
On another note, not sure is you saw my other email status.  Installing from 
the IDE seemed to work for the Release build but not the Debug, several 
projects failed to build.  I cannot decipher why one would build and the other 
not.  Additionally the *.exe for the examples did not get created as in 
previous installs.  It seems that each try produces a different state.

Thank you in advance.
David



On Thursday, January 25, 2018, 2:44:51 AM EST, Arjen Markus 
<arjen.mar...@deltares.nl<mailto:arjen.mar...@deltares.nl>> wrote:


Hi David,

Wrt your message (it got caught in my spam filter for reasons best known to 
itself):

“Arjen,

I just installed CMake 3.9.4 and tried the build from a DOS command prompt (not 
using VS INSTALL).  Same issues, partial output is attached.
It crashes at ciaro [26%].  Do I need ciaro to use plplot?

David”

Apparently the build system is finding libraries that are connected to the 
cairo device. Unfortunately, they are not truly compatible. The best way to 
take care of that is to use the option –DPLD_cairo=OFF, forcing the build 
system to ignore that device. This kind of things sometimes happens.

Regards,

Arjen



Arjen Markus
Sr. Adviseur/Onderzoeker
T

+31(0)88 335 8559

E

<mailto:arjen.mar...@deltares.nl>
arjen.mar...@deltares.nl




 www.deltares.com<http://www.deltares.com/>

Postbus<http://www.deltares.com/>
177<http://www.deltares.com/>

2600 MH Delft<http://www.deltares.com/>



Please consider the environment before printing this 
email<http://www.deltares.com/>
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 '<http://www.deltares.com/>Stichting<http://www.deltares.com/> 
<http://www.deltares.com/> Deltares<http://www.deltares.com/>', 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. <http://www.deltares.com/>
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.
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.

------------------------------ ------------------------------ ------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
______________________________ _________________
Plplot-general mailing list
Plplot<mailto:plplot-gene...@lists.sourceforge.net>-general@lists. 
sourceforge.net<mailto:plplot-gene...@lists.sourceforge.net>
https://lists.sourceforge.net/ 
lists/<https://lists.sourceforge.net/lists/listinfo/plplot-general>listinfo<https://lists.sourceforge.net/lists/listinfo/plplot-general>/<https://lists.sourceforge.net/lists/listinfo/plplot-general>plplot<https://lists.sourceforge.net/lists/listinfo/plplot-general>-general<https://lists.sourceforge.net/lists/listinfo/plplot-general>





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to