From: Alan W. I. <ir...@be...> - 2017-06-23 11:04:38
|
On 2017-06-23 09:40-0000 Arjen Markus wrote: > Hi Alan, > > > >> -----Original Message----- >> From: Alan W. Irwin [mailto:ir...@be...] >> Sent: Friday, June 23, 2017 11:03 AM >> >> As expected since my changes had nothing to do with the find issue that you >> discovered and solved a couple of days ago. >> > Right, I reinstalled this change and got further into the build process. > >> Please do start the comprehensive tests I requested when you solved the find >> problem (at least for the "Unix Makefiles" generator) a couple of days ago. The >> reason I have requested those tests is because in my view sorting out any >> remaining wxwidgets problems for the MinGW-w64/MSYS2 platform is release >> critical. >> Hi Arjen: Thanks very much for that quick turnaround. > I get compile errors as can be seen in the attached tarball (output from CMake and make, as well as the config header file). We need to sort out these things before a comprehensive build is going to stand any chance. >From what I can tell from your current extremely limited make.out (please generate that next time with VERBOSE=1), it looks like these build issues have nothing to do with PLplot code and instead are wxwidgets header incompatibilities _for the compile flags that are being generated by your current Unix wxwidgets find method_. Therefore, I am pretty sure the current build issue is caused by your build using Unix wxwidgets compile and link flags when it should be using Windows wxwidgets compile and link flags for the MinGW-w64/MSYS2 platform. So to get access to the latter flags, I suggest you use the _Windows_ wxwidgets find method (which I understand you automatically obtain if you use the "MSYS Makefiles" generator.) If I have understood correctly what you said before, the Windows wxwidgets find method currently does not work for the MinGW-w64/MSYS2 platform. Nevertheless, since our wxwidgets code with old IPC method did build correctly on MSVC before with this find method, I assume whatever correction you have to make to cmake/modules/findwxWidgets.cmake to get the Windows find method to work correctly on the MinGW-w64/MSYS2 platform should be quite small. And as per usual, the cmake options --debug-output --trace are extremely useful for debugging find modules, but if those are not sufficient to discover the problem, you can always locally insert message(...) commands in cmake/modules/findwxWidgets.cmake. Anyhow, good luck with this debugging of the Windows wxwidgets find method on MinGW-w64/MSYS2. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |