Hello Walter,

I replied with the requested output directly to you so as not to clutter up
the list.

Since then I have found the following in the Eclipse/CDT/MinGW setup guide
at 
http://wiki.wxwidgets.org/Eclipse,_CDT_&_MingW_&_MSYS_Setup_Guide#Building_a
nd_Configuring_wxWidgets

Caution: If you plan to use other libraries which depend on wxWidgets (e.g.
PLplot), be aware that although this method which uses ./configure to create
the makefiles will result in Windows libraries, it will not place them in
the same paths as if you were to use mingw32-make directly with the
pre-existing makefiles. The location of build.cfg may also be a significant
factor. CMake, for example, can search for wxWidgets via two independent
methods labeled 'unix' and 'win32'. This ./configure method is not
compatible with the 'win32' search method.

This is most likely the cause of my problems.

I will follow up on the wx-users list.

Thanks for your help.

Jack Dodds 



> -----Original Message-----
> From: Werner Smekal [mailto:sme...@iap.tuwien.ac.at]
> Sent: September 17, 2009 14:18
> To: Jack Dodds
> Cc: plplot-general@lists.sourceforge.net
> Subject: Re: [Plplot-general] Trouble with MinGW/wxWidgets build
> 
> Hi Jack,
> 
> is C:\MinGW\wxWidgets-2.8.9 the path, where all the source of
> wxWidgets can be found and how did you build wxWidgets?
> 
> To get more information find the debug message macro (something like
> dbg_msg or so) in FindwxWidgets.cmake and uncomment the relevant
> lines, you'll get a lot of debug messages then. Could you send us the
> *complete* output (offlist if you wish) of cmake, so that I can have a
> look, what cmake is doing - with the debug messages it's even more
> useful.
> 
> One thing I spot immediately is that
> 
> > -DwxWidgets_LIB_DIR=C:\MinGW\wxWidgets-2.8.9\lib
> 
> must be
> 
> > -DwxWidgets_LIB_DIR=C:\MinGW\wxWidgets-2.8.9\lib\gcc_dll
> 
> if you build wxWidgets as shared (which you must do if you want to use
> plplot in your wxWidgets application, but not if you just use the
> driver). You can also omit the last option, if you use cmake 2.6.4
> this directory will be chosen automatically based on wxWidgets_ROOT_DIR.
> 
> HTH,
> Werner



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to