> On Jan 16, 2018, at 10:20 AM, David Bergman via Plplot-general
> <plplot-general@lists.sourceforge.net> wrote:
>
> I would like some assistance getting plplot working with wxWidgets. I've
> been developing GUI's to run various research code I've developed and I'd
> like to use plplot to make 3-dim plots in a window (or panel) within the GUI.
>
> I've been using wxWidgets version 3.1.0, PLplot version 5.13.0, and Visual
> Studio 2017 Community.
>
> Following the instructions here
>
> https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/
>
> <https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_the_Visual_Studio_IDE/>
>
> seemed to work (with appropriate changes for the VS version), generated the
> Release and Debug code and examples. The *.exe all run but I cannot run the
> examples in the IDE with Ctrl+F5.
I am betting that the problem is that the DLL cannot be found. There are a
couple of solutions, the two simplest is to add the location of the plplot dll
to the PATH variable or copy the dll to the example directory. Supposedly
there is some way to configure Visual Studio to do the path, but I could never
get it to workâit was simpler to copy. Your kung-fu is probably better and if
you figure it out, let me know and I will update the documentation.
>
> I am trying to run the wxWidgets example cpp provided with PLplot. The
> project recognizes the widgets library and include paths but not any plplot
> includes.
>
> Following the instructions here
>
> https://sourceforge.net/p/plplot/wiki/Configure_PLplot_for_Visual_CXX_CLI/
>
> led to some errors. The first cmake call seemed to work in that it created
> the files in the build-plplot dir. But nmake generated a bunch of LNK2019
> errors related to cairo, and three fatal errors U1077:
>
> NMAKE : fatal error U1077: '"C:\...\CMake\bin\cmake.exe"' : return code ...
> Stop.
> NMAKE : ... : '"C:\...\VC\Tools\...\nmake.exe"' ...
> NAMKE : ... : same as above
>
> Thank you in advance for your assistance.
> David
Can you attach a file with the output?
Thanks
------------------------------------------------------------------------------
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-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general