Built libs installation
This small article will guide you through the installation of the wxWidgets 3 libs witch are downloadable from this site.
Quick links for this article:
Do not hesitate to contact me if you want any clarification on a particular point, or for anything else.
The first archive you'll have to download is one of the mandatory ones witch contains the headers files.
It can be downloaded from the official site:
- for the official releases (stable or dev version), you can take the sources archive
- for the developement snapshots, you can download the sources from the corresponding branch and commit on the GitHub page
You will then need at least one of the archives containing the built libs, and if you want, the one containing the documentation (whitch can be replaced, in the case of an official release, by the corresponding archive of the official site).
At this point, your libs are installed and more importantly, you can use them.
However, you can optimize your installation if you have downloaded only one part of the availables configurations.
During a classical compilation process, files to pass to the linker are placed in a folder named "
vc_lib" or "
vc_dll", witch is placed in the "
lib" folder of your installation directory.
If you have a look at the installation tree, you'll find one or more folder whose name is the same as above, followed by a number ("
32" or "
64") and possibly the word "
_Mono". The number shows the architecture of the compiler used (32 or 64 bits) and the word "
_Mono" indicates that it is the monolithic version of the libs.
This is because while compiling, I used the "CFG" parameter to place each configuration result in its own folder so they can coexist together.
Again, you have several options:
- renaming the related folders, back to their originals names, if the downloaded configurations allow this
- leaving them "as-is" : you will then have to make sure the search paths in your compiler options fit these folders names
- using a mix of these two methods (renaming some folders, and leaving the others "as-is")
Overwriting some files
If you've downloaded multiple versions of the libs, you probably had to confirm the overwriting of some files during the decompression process.
This problem concerns an OpenGL related dll file, witch have the same name for the monolithic and the multi-libs configurations.
If you do not intend at all to use this additional library (which, I repeat, is only to be used if you want to integrate wxWidgets OpenGL classes), do not worry about this warning.
If, instead, you want to use it, several choices are availables to you:
- you can decide to use OpenGL with only one defined configurationn. In this case, you simply have to repeat the decompression process for the concerned archive to have the correct file on your system.
- you can decide to place the dll files in two different folders, to keep all the downloaded configurations available in their entirety. For this, the manipulation to perform is a little bit more complicated:
- Delete all the contents of your installation folder (except the downloaded archives)
- Extract the archive containing the headers and sources files
- Select all the multi-libs archives, and decompress them
- Rename the "
bin" folder to "
bin_multi" (or something else, as long as you change its name)
- Select the remaining archives (the ones related to the monolithic versions) and extract their contents
- You can also rename the "
bin" if you wish to, but this is not an obligation
- Do not forget to add the two folders to the "PATH" system variable.