Skip to content

Instantly share code, notes, and snippets.

@smellman
Last active January 20, 2016 05:55
Show Gist options
  • Save smellman/049d1fef1237fc21f822 to your computer and use it in GitHub Desktop.
Save smellman/049d1fef1237fc21f822 to your computer and use it in GitHub Desktop.
build memo for Maps.ME in OSX

maps.me memo

build maps.me

install depend packages

brew install boost
brew install qt5

git clone and init project

git clone --depth=1 --recursive https://github.com/mapsme/omim.git
cd omim
echo | ./configure.sh

build

QMAKE=/usr/local/opt/qt5/bin/qmake tools/unix/build_omim.sh -r

copy some files from data directory to Maps.ME.app/Contents/Resources folder

cp -fr data/* ../omim-build-release/out/release/Applications/MAPS.ME.app/Contents/Resources/

download map data from direct.mapswithme.com/direct/latest

mkdir ~/Library/Application Support/MapsWithMe
cd ~/Library/Application Support/MapsWithMe
curl -O http://direct.mapswithme.com/direct/latest/Japan_Kanto.mwm
curl -O http://direct.mapswithme.com/direct/latest/Japan_Kanto.mwm.routing

copy ../omim-build-release/out/release/Applications/MAPS.ME.app to Application Folder and run.

build osrm-backend

install depend packages

brew install tbb
brew install luabind
brew install libstxxl
brew install osm-pbf

build

QMAKE=/usr/local/opt/qt5/bin/qmake tools/unix/build_omim.sh -o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment