-
Notifications
You must be signed in to change notification settings - Fork 7
Building the Projects
Ravbug edited this page Mar 24, 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.
- Open wxTemplate.xcodeproj in Xcode and press Build (cmd + b). If the build is unsuccessful, open the wxcocoa.xcproj in
wxWidgets/build/osx/, build that, and then build the template project.
- Open
wxWidgets\build\msw\and find the SLN that most closely matches your Visual Studio version. For example, openwx_vc15.sln - Select the configuration (example:
Debug x86), and pressBuild -> Build Solution(ctrl + shift + B). Repeat this 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
wxTemplateWin.slnin the template root, select your configuration, and build.
- Ensure you have the required libraries.
- 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
./compile-linux.sh(add-rflag to run the program automatically if the compile succeeds)- The executable will be located in
wxWidgets/build/linux/app.
- The executable will be located in
- (optional) set up your IDE's compile and run commands. Geany is a nice lightweight linux IDE.
See the official wxWidgets installation help page here: https://wiki.wxwidgets.org/Install#Linux