Plugin for openCPN that displays AIS targets in a radar view style
C++ CMake Other
Latest commit 9d9254a Mar 7, 2016 @Verezano Merge pull request #9 from nohal/packaging
Update translations

AIS Radar View plug-in for OpenCPN


  • This plugin now builds out of the OpenCPN source tree
git clone


mkdir radar_pi/build
cd radar_pi/build
cmake ..
cmake --build .

Windows note: You must place opencpn.lib into your build directory to be able to link the plugin DLL. You can get this file from your local OpenCPN build, or alternatively download from

Debugging: If you check out the plugin source into the plugins subdirectory of your OpenCPN source tree, you can build it as part of it.

Windows Specific Libraries

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 opencp

Creating a package


make package


cmake --build . --config release --target package

Build on Mac OS X:

Tools: Can be installed either manually or from Homebrew (

#brew install git #If I remember well, it is already available on the system
brew install cmake
brew install gettext
ln -s /usr/local/Cellar/gettext/0.19.2/bin/msgmerge /usr/local/bin/msgmerge
ln -s /usr/local/Cellar/gettext/0.19.2/bin/msgfmt /usr/local/bin/msgfmt

To target older OS X versions than the one you are running, you need the respective SDKs installed. The easiest way to achieve that is using

Building wxWidgets

(do not use wxmac from Homebrew, it is not compatible with OpenCPN) Get wxWidgets 3.0.x source from Configure, build and install

cd wxWidgets-3.0.2
./configure --enable-unicode --with-osx-cocoa --with-macosx-sdk=/Applications/
sudo make install

Building the plugin

Before running cmake, you must set the deployment target to OS X 10.7 to be compatible with the libraries used by core OpenCPN


Packaging on OS X

Get and install the Packages application from

make create-pkg


The plugin code is licensed under the terms of the GPL v2 or, at your convenience, later version.