MinGW
From Roadnav
Setting Up the Build Environment
1) Download a Subversion client (e.g. svn-1.4.6-setup.exe)
2) Install the Subversion client, accepting the default settings.
3) Download the Automated MinGW Installer (MinGW-5.1.3.exe)
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780
4) Install MinGW, accepting the default settings + full install - download and install, current package, full install, c:\MinGW destination.
5) Download the current release of the MSYS Base System (MSYS-1.0.10.exe)
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963
6) Install the MSYS Base System, accepting the defaults - c:\msys\1.0, i386. Indicate to the post install script that MinGW is installed in c:/MinGW.
7) Download the current stable release of wxMSW.
http://www.wxwidgets.org/downloads/
8) Install wxMSW, accepting the defaults, c:\wxWidgets-2.8.7.
9) Set the environmental variable WXWIN to c:\wxWidgets-2.8.7.
10) Launch MSYS (icon on desktop), compile wxWidgets:
cd $WXWIN ./configure --enable-optimise --enable-stl --enable-unicode --enable-static --disable-shared --enable-monolithic make make install
Compiling LibRoadnav/Roadnav
1a) If you have not checked out LibRoadnav/Roadnav before, open an MSYS window and check out LibRoadnav and Roadnav:
cd ~ svn co http://roadnav.svn.sourceforge.net/svnroot/roadnav/libroadnav/trunk libroadnav svn co http://roadnav.svn.sourceforge.net/svnroot/roadnav/roadnav/trunk roadnav
1b) Alternately, if you already have a copy of LibRoadnav/Roadnav checked out using SVN, then open an MSYS window and update it to the latest version:
cd ~/libroadnav svn update cd ~/roadnav svn update
2) In the same MSYS window, compile LibRoadnav and Roadnav:
cd ~/libroadnav ./configure make make install cd ~/roadnav ./configure CPPFLAGS="-I/usr/local/include" make
3) Assemble the skins, roadnav.exe, and dependencies into the same directory:
cd ~/roadnav mkdir win32-out cp src/roadnav.exe win32-out strip win32-out/roadnav.exe cp -r skins win32-out cp /mingw/bin/mingwm10.dll win32-out
4) Launch the resulting roadnav.exe:
cd win32-out roadnav
Notes
- Microsoft SAPI 5.1 (speech) support is not available in the MinGW build.
