From: Greg J. <gv...@gm...> - 2016-12-15 22:40:54
|
On Tue, Dec 13, 2016 at 2:13 AM, Laurent Berger < lau...@un...> wrote: > Thanks Greg, > > with your patch linking problem is solved. Can you post an answer in this > question https://forums.wxwidgets.org/viewtopic.php?f=19&t=42882&p= > 174262#p174262 > > > https://github.com/maynardGK/wxWidgets/commit/cb28fe5c5c49be4467a5d044f6fa4f7885972931 I first submitted the patch in github around jul 30, 2015 and it went to a discussion somewhere in the bowels of the wxwidgets, where after several back-and-forth about what the issue was, the wx guy decided it was "worthwhile" to consider a fix of somesort - or maybe he just wanted to leave that impression so I would stop replying. I also suggested it be included in the MSYS2 repo mash-up but since it was no one else's problem, evidently not worthy. So providing me another example of the fuitility of propogating patches into a well-worn package. > Now there is still a problem in cmake process because I have to modify > file plplot\buildmingw64\examples\c++\CMakeFiles\wxPLplotDemo.dir\linklibs.rsp > to link wxPlplotDemo > > in this file I have changed all /f/lib/wxWidgets-3.1.0 in > f:/lib/wxWidgets-3.1.0. May be it is not a bug in plot cmake but in cmake. > > > Yes the references in the .rsp file are in native format for me because I have edited the wxconfig file as follows: > # Determine the base directories we require. > > prefix=${input_option_prefix-${this_prefix:-/mingw32}} > > if [ "x${MSYSTEM}" = "xMINGW32" ] || [ "x${MSYSTEM}" = "xMINGW64" ]; then > > prefix=$(cygpath -m ${prefix}) > > fi > > >> exec_prefix=${input_option_exec_prefix-${input_option_prefix-${this_exec_prefix:-${prefix}}}} > > wxconfdir="${exec_prefix}/lib/wx/config" > > |