On 2014-04-03 20:44+0200 Thorsten Behrens wrote: > Hi! > > After being able to build PLplot including the examples I went on > compiling all sources with Visual Studio 2010. > > I encountered three projects (as it is called within Visual Studio) that > can't be built due to errors in the linker include definition. wxwidgets, > plplotwxwidgets and wxPLplotDemo all contain four linker includes each > that are not correctly defined for Visual Studio. Instead of giving these > libs as winmm.lib, comctl32.lib, rpcrt4.lib and wsock32.lib they are given > as -L+winmm.lib, -L+comctl32.lib, -L+rpcrt4.lib and -L+wsock32.lib. > Removing the prefix "-L+" within the properties of all three projects > makes them build without further problems. I assume this prefix might be > used either on a Unix platform or with some other compiler environment. A > search for the string "-L+" reveals > .\cmake\modules\language_support\cmake\CMakeDInformation.cmake as the only > source file containing it. > > Can someone knowledgeable in CMake have a look at this?
Hi Thorsten: Thanks for this report. But could you send more details please? In particular I need the exact command-line command you used to invoke cmake, the complete stderr and stdout from running that command, and the resulting CMakeCache.txt file. Please wrap those various results in a compressed tarball which you attach to a post to this mailing list. All your above linking issues were with wxwidgets components of the PLplot build so it is possible that the CMake find module for wxwidgets is giving strangely formatted build information on your particular Windows platform which is confusing the PLplot build system. Of course, to investigate that possibility I need all the requested information above. 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 __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel