Giter Site home page Giter Site logo

acoat / radar_pi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from verezano/aisradar_pi

0.0 1.0 0.0 3.48 MB

Plugin for openCPN that displays AIS targets in a radar view style

License: GNU General Public License v3.0

C++ 72.48% C 0.78% Perl 0.56% CMake 16.71% Python 0.68% Batchfile 1.90% Shell 6.88%

radar_pi's Introduction

AIS Radar style View plug-in for OpenCPN

Source Repository : https://github.com/Verezano/AISradar_pi

Maintance Repository: https://github.com/rgleason/AISradar_pi/

Please submit PR's to both repositories. Thank you.

History

This plugin was created in 2011 to show AIS targets in a radar style view. While there were no radar plugins at the time it was inadvertently named radar_pi. Over time this has been corrected to aisradar_pi and so is the repostory name. Since the plugin is packaged in some distributions its name aisradar_pi cannot be changed, because that would break things. All references to radar in the code have been changed to ais or aisview to reflect the real purpose of this plugin. As suggested by r.gleason the repository is renamed to AISradar_pi.git

Plugin Manager

This plugin is easily available from within OpenCPN using Options > Plugin Manager for many supported OS.

Compiling

git clone https://github.com/Verezano/AISradar_pi.git

###Build:

mkdir AISradar_pi/build
cd AISradar_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 http://sourceforge.net/projects/opencpnplugins/files/opencpn_lib/

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 Linux

make package

Windows

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

###Build on Mac OS X: Tools: Can be installed either manually or from Homebrew (http://brew.sh)

#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 https://github.co

####Building wxWidgets (do not use wxmac from Homebrew, it is not compatible with OpenCPN) Get wxWidgets 3.0.x source from http://wxwidgets.org Configure, build and install

cd wxWidgets-3.0.2
./configure --enable-unicode --with-osx-cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7
make
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

export MACOSX_DEPLOYMENT_TARGET=10.7

####Packaging on OS X Get and install the Packages application from http://s.sudre.free.fr/Software/Packages/about.html

make create-pkg

License

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

radar_pi's People

Contributors

rgleason avatar verezano avatar nohal avatar bdbcat avatar rasbats avatar hakansv avatar alexandrerio avatar scarns avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.