File: INSTALL.md

package info (click to toggle)
osmid 0.8.0~repack-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 5,960 kB
  • sloc: cpp: 69,544; ansic: 5,781; java: 3,000; sh: 41; makefile: 6
file content (32 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Build instructions
osmid uses cmake for build management.

## Requisites:
### Windows:
* cmake (version 3.0 or later)
* Microsoft Visual C++ 2015 or Visual C++ 2017 or Visual C++ 2019 (Community or Express editions are fine)

### Linux (you can normally install all these using your distribution package manager)
* cmake (version 3.0 or later)
* gcc compiler (4.9 or later)
* ALSA development libraries

### Mac
Don't know yet...


## Building
* go to the root directory where you have the osmid sources (probably where this file is)
* create `build` directory, and get into it (`mkdir build`, and then `cd build`)
* It is normally enough to do `cmake ..`. If cmake complains about not finding a library make sure that it is installed.
* On Linux, if cmake was succesful then it created the necessary Makefiles. Do `make`, and that will compile the code and create the binaries.
* On Windows, if cmake was successful then it created the necessary Visual Studio solution and Project files. Open the `osmid.sln` file, and Build normally to create the binaries.
  Example of CMake commands.
  ```
  mkdir build
  cd build
  cmake -G "Visual Studio 16 2019" -A x64 ..
  ```