-
Notifications
You must be signed in to change notification settings - Fork 1
CompileGuide
Lukáš Karas edited this page Mar 22, 2016
·
1 revision
Compiling the client application is fairly easy as it only depends on Qt. The preprocessor application on the other hand has more dependencies.
https://monav.googlecode.com/svn/tags/release-0.3
- Qt
- Qt-Mobility
- Qt
- Qt
- Mapnik
- libxml2
- libbz2
- libprotobuf
- protobuf-compiler
- Qt, libxml2, libbz2, protobuffer and mapnik should be available
- Only tested with gcc > 4.4.2
- Compile client / preprocessor-gui:
- release: qmake CONFIG+=release monav-client.pro && make
- debug: qmake CONFIG+=debug monav-client.pro && make
- Compile console preprocessor / routing daemon:
- release: qmake CONFIG+=release CONFIG+=nogui X.pro && make
- debug: qmake CONFIG+=debug CONFIG+=nogui X.pro && make
Some Visual Studio version define a max/min macro. This breaks MoNav. If you encounter releated compiling issues try to append {{{DEFINES+=NOMINMAX}}} to the qmake command line.
- Client:
- Install Visual Studio 2005 / 2008
- Download / compile Qt and Qt-Mobility binaries. A static build is recommended for Windows Mobile as each application has only 32MB virtual address space
- Compile client:
- release: qmake CONFIG+=release monavclient.pro && nmake
- debug: qmake CONFIG+=debug monavclient.pro && nmake
- Routing Daemon:
- Compile routing daemon:
- release: qmake CONFIG+=release CONFIG+=nogui X.pro && mmake
- debug: qmake CONFIG+=debug CONFIG+=nogui X.pro && mmake
The easiest way to build for those platforms is to use the QtCreator. Just open the .pro file and add the desired platform as a target. Maemo is supported officially, but Symbian is not.
While it is possible to build MoNav for Android, it is not supported right now ( the SVN contains build scripts, though ).