-
Notifications
You must be signed in to change notification settings - Fork 7
Building the Projects
Ravbug edited this page Jul 13, 2019
·
24 revisions
Follow these instructions if you downloaded a fresh copy of the project, or you changed the wxWidgets version. These instructions show you how to compile the projects so you can start using them.
If the builds refuse to work, even though you followed all the instructions, then install a fresh copy of wxWidgets to the project folder. See this wiki page for instructions.
- Open
mac.xcodeprojin Xcode. - Select
AppStaticorAppDynamicfrom the target selector. - Press Build (cmd + b). Everything will compile in one step.
- Open
wxWidgets\build\msw\and find the SLN that most closely matches your Visual Studio version. For example, openwx_vc15.slnif you are using Visual Studio 2015 or later. - Select the configuration (example:
Debug x86), and pressBuild -> Build Solution(ctrl + shift + B). - Repeat step 2 for each configuration you want to use. I recommend compiling Debug and Release for x64 at the very least.
- Alternatively, to build all the possible configurations, go to Build → Batch Build, Select All, and press Build,
- In the template root folder, open
windows.slnin the template root, select your configuration, and build (or build and run).
- Ensure you have the required libraries. If you do not have them, the setup will fail (but it will tell you which one you are missing)
- If you install a library and the setup still fails, try installing the
develversion of the package.
- If you install a library and the setup still fails, try installing the
- Open a shell window in the template folder root.
- Run
./setup-linux.sh. You will be prompted for your administrator password at least once. - Run
makeor./compile-linux.shfor some pre-set make flags. The object files and the executable will be located insidelinux-build/which is created when you compile for the first time.
Additional Linux setup guide: https://wiki.wxwidgets.org/Compiling_and_getting_started
See the official wxWidgets installation help page here: https://wiki.wxwidgets.org/Install