From: David B. <stu...@gm...> - 2019-10-17 20:16:21
|
Tom, That file already has the following: // 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 <stdlib.h> #else #include <fstream> #endif Clearly the lines are in there but dependent on _WIN32. I'm trying to build on a Dell with Windows 10 (64 bit machine and OS) but using MinGW compiler. Should I comment out the #ifdef or could that cause other issues? On 10/17/2019 3:47 PM, Tom Schoonjans wrote: > Hey David, > > The error is coming out > of C:\temp\src\plplot-5.15.0\drivers\wxwidgets_dev.cpp, so you will > need to patch that file. I guess this fix should also go into the > PLplot git repo. > > Best, > > Tom > >> On 17 Oct 2019, at 20:41, David Bergman <dav...@ya... >> <mailto:dav...@ya...>> wrote: >> >> Tom, thanks for your input but I'm not even writing code yet. This >> is a build error and I'm using the out of the box make, cmake and >> other scripts so I wouldn't know what file to put those lines of code >> in. Any thoughts? >> >> Sent from Yahoo Mail on Android >> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> >> >> On Thu, Oct 17, 2019 at 2:46 PM, Tom Schoonjans via Plplot-general >> <plp...@li... >> <mailto:plp...@li...>> wrote: >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> <mailto:Plp...@li...> >> https://lists.sourceforge.net/lists/listinfo/plplot-general >> >> <Untitled.txt><Untitled.txt> > -- David Bergman David R Bergman Music LLC "Have Guitar Will Travel" Morristown NJ 551-655-4720 stu...@gm... www.davidrobertbergmanmusic.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |