Giter Site home page Giter Site logo

bremen77jodypurba / chartdldr_pi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nohal/chartdldr_pi

0.0 2.0 0.0 1.42 MB

Chart Downloader plugin for OpenCPN

CMake 2.00% HTML 1.71% Shell 0.30% C 12.09% C++ 83.67% Batchfile 0.01% Makefile 0.22%

chartdldr_pi's Introduction

Chart downloader plugin Plugin for OpenCPN

Compiling

You have to be able to compile OpenCPN itself - Get the info at http://opencpn.org/ocpn/developers_manual

  • This plugin now builds out of the OpenCPN source tree
git clone git://github.com/nohal/chartdldr_pi.git

###Build:

mkdir chartdldr_pi/build
cd chartdldr_pi/build
cmake .. # To produce a binary compatible with Windows XP, you must set the respective toolset - use 'cmake -T v120_xp ..'
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

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

There are also some libraries and an external program needed: http://sourceforge.net/projects/opencpnplugins/files/opencpn_packaging_data/cURL-vc12.7z/download

On Windows, also the CA certificates bundle must be part of the package. Get it from http://sourceforge.net/projects/opencpnplugins/files/chartdldr_pi/curl-ca-bundle.crt/download and place into the buildwin directory

For Mingw, only a single file "libcurl.dll" is needed for libcurl, for visual studio, several files. For visual Studio put all the files in opencpn\build\plugins\buildwin. You may have to create the buildwin directory first.

###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.com/devernay/xcodelegacy

####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.sdk/ --with-macosx-version-min=10.7 --enable-aui --disable-debug --enable-opengl
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 will, later.

Icons made by Freepik (http://www.freepik.com) and Google (http://www.google.com) from Flaticon (http://www.flaticon.com) and are licensed under Creative Commons BY 3.0

UnRAR source code by Alexander L. Roshal
UnRAR source code may be used in any software to handle RAR archives without limitations free of charge, but cannot be used to develop RAR (WinRAR) compatible archiver and to re-create RAR compression algorithm, which is proprietary. Distribution of modified UnRAR source code in separate form or as a part of other software is permitted, provided that full text of this paragraph, starting from "UnRAR source code" words, is included in license, or in documentation if license is not available, and in source code comments of resulting package.

wxCurl licensed under wxWidgets Licence - Copyright (c) 2004 Casey O'Donnell. All rights reserved.

tinyxml - licensed under zlib license, original code by Lee Thomason (www.grinninglizard.com)

chartdldr_pi's People

Contributors

nohal avatar transmitterdan avatar sethdart avatar

Watchers

 avatar 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.