forked from seandepagnier/weatherfax_pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
51 lines (37 loc) · 1.86 KB
/
README
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
Weather Fax Plugin for OpenCPN
=======================================
Implement weather fax ability for opencpn. This includes retrieval via sound card (radio fax) as well as the internet, or local image files.
Compiling
=========
* git clone git://github.com/seandepagnier/weatherfax_pi.git
Build Normally (linux)
mkdir build
cd build
cmake ..
make
sudo make install
Compiling on windows (visual studio):
* cd ..
* cd build
* cmake .. # To produce a binary compatible with Windows XP, you must set the respective toolset - use 'cmake -T v120_xp ..'
* make
* make install
Windows Specific Libraries
==========================
The Windows compilation is dependent on these files
Under windows, you must find the file "opencpn.lib" (Visual Studio) or "libopencpn.dll.a" (mingw) which is built in the build directory after compiling opencpn. This file must be copied to the plugin directory.
There are also some libraries and an external program needed:
http://sourceforge.net/projects/opencpnplugins/files/opencpn_packaging_data/portaudio-vc12.7z/download
http://sourceforge.net/projects/opencpnplugins/files/opencpn_packaging_data/PVW32Con.exe/download (not an archive, this one just copy to buildwin)
and unpack all these files into the buildwin directory as the compile is dependent on these.
OSX Specific Libraries
==========================
The OS X compilation is dependent on these files
Under OS X the port audio library is needed. Install it using ```brew install portaudio```
There is a zip file containing header and library files:
http://sourceforge.net/projects/opencpnplugins/files/weatherfax_pi/OSXportaudiofiles.zip/download
Download this file and unzip it in the /usr/local directory as the compile is dependent on these.
The make create-pkg command will include the library in the package.
License
=======
The plugin code is licensed under the terms of the GPL v3+