-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCompilation.txt
48 lines (36 loc) · 1.96 KB
/
Compilation.txt
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
Compiling for Windows
=====================
Only Microsoft Visual Studio 2017 has been tested so far.
You must compile OpenCPN before trying to compile meteovache_pi.
If you don't know how to do, refer to OpenCPN's developers manual (https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual).
* Clone MeteoVache repository : git clone git://github.com/Rodemfr/meteovache_pi.git
copy the file "opencpn.lib" which is generated in OpenCPN/build after compiling OpenCPN.
This file must be copied to meteovache_pi/buildwin
* open "X86 Native Tools Command Prompt for VS2017"
* go in meteovache_pi directory : cd [...]\meteovache_pi
* create a build directory : mkdir build
* go in build directory : cd build
* prepare makefiles : cmake ..
* compile : cmake --build .
Compiling for Linux
===================
You must compile OpenCPN before trying to compile meteovache_pi.
If you don't know how to do, refer to OpenCPN's developers manual (https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual).
* Clone MeteoVache repository : git clone git://github.com/Rodemfr/meteovache_pi.git
* open a shell prompt
* go in meteovache_pi directory : cd [...]/meteovache_pi
* create a build directory : mkdir build
* go in build directory : cd build
* prepare makefiles : cmake ..
* compile : make
Compiling for Raspberry
=======================
* Install required software : sudo apt install git build-essential cmake wx3.0-headers libwxgtk3.0-dev gettext
* Clone MeteoVache repository : git clone git://github.com/Rodemfr/meteovache_pi.git
* go in meteovache_pi directory : cd meteovache_pi
* create a build directory : mkdir build
* go in build directory : cd build
* prepare makefiles : cmake -DCMAKE_BUILD_TYPE=Release ..
* compile pulgin and produce a Debian package : make package
* To install the plugin : sudo dpkg --install meteovache_pi_0.7.0-1_armhf.deb
Note that meteovache_pi Debian package can only be installed if OpenCPN as already been installed as aDebian package