-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL
59 lines (47 loc) · 1.68 KB
/
INSTALL
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
===
How to install the s-net(r) tools for the HDLC Daemon
===
Initial download and setup on GNU/Linux:
---
Preparations:
- Install the "GCC toolchain"
- Install the "Boost Libraries"
- Install the "CMake" build system
To compile and install the s-net(r) tools, just follow these steps:
1.) git clone --recursive https://github.com/Strunzdesign/snet-tools.git
2.) cd snet-tools
3.) mkdir build
4.) cd build
5.) cmake ..
6.) make
7.) make install (as root)
All binaries will be installed to "/usr/local/bin/".
Initial download and setup on Microsoft Windows 7:
---
Preparations:
- Download the latest "nuwen MinGW" distribution from https://nuwen.net/mingw.html
- Assure that you pick a MinGW distribution that already includes "Git" and the "Boost Libraries"
- Follow the installation guide, e.g., unpack MinGW to C:\MinGW
- Add MinGW to the path according to the installation guide
- Download and install "CMake" from https://cmake.org/download
To compile and install the s-net(r) tools, just follow these steps:
1.) Go to your projects' folder and open a shell there
2.) git clone --recursive https://github.com/Strunzdesign/snet-tools.git
3.) cd snet-tools
4.) mkdir build
5.) cd build
6.) Pick yourself a directory to install the compiled files, e.g., consider C:\snet-tools
7.) cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=/c/snet-tools ..
8.) If you get an error message on step 10, repeat step 10 once
9.) make
10.) make install
The "snet-tools" binaries will be installed to "C:\snet-tools\bin\" if not specified differently.
Update and recompile your local repository (same for all OS):
---
1.) cd snet-tools
2.) git pull
3.) git submodule update
4.) cd build
5.) make
6.) make install
Have fun :-)