|
NAMEopencpn - Chartplotter and GPS Navigation SoftwareSYNOPSISopencpn [options]DESCRIPTIONOpenCPN is a chartplotter and navigation GUI program supporting navigation under way as well as planning. It supports a wide range of chart formats using a plugin system. Other plugins provides support for e. g. radar, AIS and weather maps. Program is localized in 20+ languages and ported to several OS including MacOS, Windows and Linux.OPTIONS
PLUGIN LOADINGPlugin loading depends on that the opencpn main program can locate the plugin object file and that the plugin can locate it's own data.On Linux, the main program searches for plugin .so-files in a library named opencpn/plugins. By default, this path is searched in ~/.local/lib:/usr/local/lib:/usr/lib. The default search path can be overridden by the OPENCPN_PLUGIN_DIRS environment variable. On other platforms, all plugin object files lives in a single directory defined at installation. A plugin's data directory is a path ending with opencpn/plugins/<plugin_name>. On Linux, this is by default searched in ~/local/share:/usr/local/share:/usr/share. This search path is overridden by XDG_DATA_DIRS as defined by the freedesktop spec. Only plugins adapted for this (i. e., using GetPluginDataDir()) handles this properly. On other platforms, the plugin data directories always lives in a common parent defined at installation time. LIBRARY LOADING AND LD_LIBRARY_PATHIf LD_LIBRARY_PATH exists in the environment opencpn uses it without modifications.Otherwise LD_LIBRARY_PATH is set to the same path as from which plugins are loaded, see above. This ensures that helper binaries can load possible libraries installed in the same directories as the plugin. ENVIRONMENT
FILES
NOTESThe support for OPENCPN_PLUGIN_DIRS and XDG_DATA_DIRS was introduced in version 5.0.0. Prior to this, all plugins was loaded from a single directory and all plugin data directories had a common parent.SEE ALSOhttp://www.opencpn.orghttp://www.freedesktop.org
Visit the GSP FreeBSD Man Page Interface. |