I had Plplot working (static) and then installed GTK and it quit working. So I tried to build the dynamic (DLL) version and that now works again.
If anybody is interested, here is the result of pkg-config (after the -L option was changed): $ echo $PLOT_LIB -LC:\Fortran_Tools\lib -lplplotfortran -lplplot -lplfortrandemolib -ltcl.dll -ltk.dll C:/Windows/System32/gdi32.dll C:/Windows/System32/comdlg32.dll -lfreetype.dll -lfreetype.dll -lcsirocsa -lqsastime -LC:/Fortran_Tools/lib/gcc/x86_64-w64-mingw32/8.3.0 -lstdc++.dll -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex Thanks again for the help. I hope I don't have to go through all this again when you guys do another update! On Fri, Apr 26, 2019 at 12:35 AM Arjen Markus <arjen.mar...@deltares.nl> wrote: > Hi Walt, > > > > See below. > > > > Regards, > > > > Arjen > > > > *From:* Walt Brainerd <walt.brain...@gmail.com> > *Sent:* 25 April 2019 17:30 > *To:* Arjen Markus <arjen.mar...@deltares.nl> > *Cc:* Phil Rosenberg <p.d.rosenb...@gmail.com>; Alan W. Irwin < > alan.w.irwin1...@gmail.com>; plplot_general < > plplot-general@lists.sourceforge.net> > *Subject:* Re: [Plplot-general] Building plplot on Windows 10 > > > > Surely others besides me have tried to build and run Plplot on Windows ??? > > > > >>AM: Yes, certainly, which is why it is important to the project in my > opinion to determine what needs to be improved. > > > > The key to the build (cmake) was to use the -D options you suggested. > > > > >>AM: My ideal is that you can build without any such options, but that is > perhaps too idealistic. > > > > The problem with compiling was that I was nowhere close to having the right > > library options (so the order was kind of irrelevant :-(). Setting the > environment variable > > PKG_CONFIG_PATH and executing pkg-config produced all sorts of stuff, > including > > Windows system libraries, DLLs (in spite of the fact that I built static > libs), etc. > > I also had to add one -l option to find a demo lib for one of the supplied > demo *.f90 files. > > > > >>AM: Right, the demo library is not part of the PLplot libraries perse โ > it is intended only for the Fortran examples. > > > > I am not in the same location as the computer on which I did all this, > but, if you think it would > > help, I can send you the result of the pkg-config execution later > (tomorrow?). > > > > >>AM: That would certainly be helpful! > > > > I will do anything I can to help others avoid all of this trauma (and > drama). Just let me know. > > > > Again, thanks for your help. I probably would have given up some time ago > without your > > continued suggestions. > > > > >>AM: Youโre welcome โ a small contribution compared to your contributions > to Fortran, after all ๐. > 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. > -- Walt Brainerd
_______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general