Building wxFormBuilder From Source on Linux
Purpose
Instruct new users and developers on how to properly build the wxFormBuilder project. wxFormBuilder uses Premake as its primary build system. Premake is a build script generator, so you will notice that wxFormBuilder does not come with any build files only 'premake.lua' files. This is by design and you use Premake, for your platform, to generate the build files of your choice. There is a shell script that you can run to generate makefiles and Code::Blocks projects.
REMEMBER: The only way to get new additions and updates to the build files is to run Premake. This means that it is good practice to run Premake before starting to build or develop wxFormBuilder.
wxFormBuilder Build Steps
- Install wxGTK with a package manager or build wxGTK from source.
- Make sure that wx-config is working. wxFormBuilder will not build without it.
- Get the source code from the Subversion repository.
Version 3.0:svn co https://wxformbuilder.svn.sourceforge.net/svnroot/wxformbuilder/3.x/tags/3.0 wxformbuilder
Current Development:svn co https://wxformbuilder.svn.sourceforge.net/svnroot/wxformbuilder/3.x/trunk wxformbuilder
- Enter the wxformbuilder directory
>$cd wxformbuilder
- Use the included shell script to generate the build files
>$./create_build_files.sh
- Use the generated build files to build wxFormBuilder. (Assumes you have properly setup your system to build with gcc)
Release:
make
Debug:
make CONFIG=Debug
Includes
- wxFormBuilder
- wxFormBuilder SDK
- wxFormBuilder 3rd Party Controls
Notes
- Premake can be found here:
http://premake.sourceforge.net - Subversion is a great free cross-platform version control manager. It can be found here:
http://subversion.tigris.org