From: Alan W. I. <ir...@be...> - 2017-07-10 21:36:32
|
On 2017-07-10 11:20-0700 Alan W. Irwin wrote: > On 2017-07-10 11:05-0000 Arjen Markus wrote: > > [...] >> As far as I can tell, the build should be picking up everything from > the installation and not gather stuff from elsewhere. It is unlikely > it is scavenging the MinGW or Cywin installations. Anyway, got to > check that. > > Hi Arjen: > > I assume you are going to do that check using the nmake VERBOSE=1 > option to discover the actual -I options your PLplot build uses for > the wxwidgets components. At the same time you should check whether > those -I options refer to locations that are too deep into the > wxwidgets header tree so you are finding a private header rather than > the correct public version of the header. And another option is for > you to try a wxwidgets version that you built yourself with the exact > build options you need in case that makes any difference. So there > appears to be plenty of things you can try here to help you find the > solution to the MSVC link error you discovered. Hi again, Arjen: Although it would be good to quickly check the above possibility that CMake might incorrectly find a private header rather than the desired public header, I now think the probability of that happening is low. The reason is the official version of the find module is heavily maintained (and therefore likely to get the -I options right). Furthermore, I have also checked all our changes to cmake/modules/FindwxWidgets.cmake relative to the official version, and they are completely straightforward and have nothing to do with -I options. Anyhow, I now think you have had all the input you need from Phil and me to fix or work around this wxwidgets linking issue you have discovered, and I look forward to hearing from you what the solution turns out to be. 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 __________________________ |