Developer guide for building, extending and troubleshooting the OpenCPN navigation software, provided by Xi'an Rongcheng Technology.
This manual covers the latest beta development status, compilation instructions for Linux, macOS and Windows, plugin API details, and problem‑solving tips for OpenCPN. It also describes the vector colour palette, user‑interface style definitions, bug tracking, and the release history of the software.
The document includes step‑by‑step build commands, Git workflow guidance, code formatting rules, and instructions for creating patches and submitting them to the OpenCPN project. It serves developers who want to contribute to or customize the OpenCPN application. This manual is written in Chinese.
Clone the beta branch from the OpenCPN GitHub repository with the command: git clone -b beta31_stable https://github.com/OpenCPN/OpenCPN.git
Install the required development packages (e.g., libgtk2.0-dev, git, cmake, gpsd, libtinyxml, libportaudio), run cmake .., then make and sudo make install.