How to install multiple instances of wxWindows.

Robin Dunn robin at alldunn.com
Tue May 13 09:23:40 PDT 2008


David Fernandez wrote:
> Hi there,
> 
>  I'm trying to set up __in_the_proper_way__ an environment with, for
>  example, two instances of the wxWindows libraries: one configured as
>  "--disable-shared --disable-sockets" and another with the opposite
>  switches, and both 2.8.7.
> 
>  Can both be installed in the same folder (e.g. /usr/local)?
> 
>  What would be the way for selecting one or the other (e.g. should I
>  use 'wx-config --shared=[yes|no] --cppflags' to get the flags for one
>  or the other)?
> 
>  Can I have several versions in the same folder (e.g. 2.6.4 and 2.8.7,
>  both in /usr/local)? And do the similar to choose one or the other
>  (e.g. wx-config --version={2.8|2.6} --cppflags)?

By default multiple major.minor versions should co-exist side-by-side 
with no problems, as will unicode/ansi, debug/release, and 
static/shared.  To have side-by-side installs of builds with other 
configuration options than these you can use different flavours when you 
configure (--with-flavour=NAME) and then use the flavour name when 
running wx-config to select the build.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the wx-users mailing list