Building RMAExpress

Special notes

As of 0.4 release RMAExpress through 1.0beta2 was built using wxWidgets 2.6.2, while earlier versions of wxWidgets might work, only wxWidgets 2.6.2 has been tested.

Begining with 1.0beta3 RMAExpress was built using wxWidgets 2.8.4.

Beginning with 1.0beta4 the Windows builds have been made using Visual C++ Express Edition 2005 and wxWidgets 2.8.6

Beginning with 1.0beta6 the Windows builds have been made using Visual C++ Express Edition 2008 and wxWidgets 2.8.7

How to build on Linux machines.

You will need to have wxWidgets installed on your machine. Exactly how you install this may be dependent on your Linux distribution. In the case of Fedora 8 I use yum install wxGTK wxGTK-devel to install pre-built versions of wxWidgets and its development code. You can also build wxWidgets from source code.

Once you have wxWidgets installed you can build RMAExpress by
cp Makefile.unx Makefile
make all

How to install a cross-compiler on a Linux machine to produce RMAExpress Windows binaries.

These are the instructions for using a Linux machine to compile the source code and produce binaries that will be executable. This is the method that was used to build the windows binaries up until 1.0 beta 3.
  1. The first step is to install a cross-compiler on your machine. To make it easy use the provided shell script.

    Use build-cross.sh to download, configure, build and install the cross-compiler and requisite tools on your machine

  2. Next you should download and put these scripts somewhere in your path (eg /usr/local/bin or ~/bin)
    cross-configure.sh
    cross-make.sh

  3. The next step is to download and install wxWidgets into the cross-compiled environment.

    First download wxWidgets-2.8.4.tar.gz. Next extract and build the library.

    tar xzvf wxWidgets-2.8.4.tar.gz
    cd wxWidgets-2.8.4
    cross-configure.sh --prefix=/usr/local/cross-tools
    cross-make.sh
    cross-make.sh install

  4. Finally you'll want to actually build the RMAExpress applications. So change to the location where you placed the source code for RMAExpress then

    cp Makefile.dos Makefile
    make all
    make console

How to build RMAExpress on a Windows machine using MingW.

These are instructions for installing requisite software on to a Windows machine so that you have a sufficient environment within which to compile the source code for RMAExpress. Note this procedure has not been fully tested in several years and was found to explicity not work on Microsoft Vista at the time of last testing.
  1. From http://www.mingw.org/download.shtml download and install the following
    MinGW-3.1.0-1.exe
    MSYS-1.0.10.exe
    msysDTK-1.0.1.exe
  2. Next we want to download the source code for wxWidgets and build it. In particular download
    wxAll-2.6.2.tar.gz

    Uncompress the source code and put it somewhere. Then launch MSYS, navigate to where you uncompressed the source code for wxWindows (eg cd /c/wxWindows-2.6.2)

    configure
    make
    make install

  3. Unpack the source code for RMAExpress and change (within MSYS) to the location where you stored the source code.

    cp Makefile.msw Makefile
    make
    make console

  4. Finally, you might want to test your compilation by running it. The first thing to do is put the /usr/local/lib directory in your path. Or copy the dlls to somewhere in your path.

    export PATH=$PATH:/usr/local/lib

    Finally lets test it.
    RMAExpress
    RMAExpressConsole