OpenCPN 개발하기 01.사전설치
전자해도 관련 프로그램을 개발하게 되었습니다.
오픈소스인 OpenCPN을 사용하려 하며, 개발 과정을 적어두려 합니다.
아래의 링크를 따라 설치 할 것이며, 본인은 VS2019 를 사용하고 있기에 VS2017 설치는 하지 않았습니다.
또한 NSIS 는 설치하지 않았습니다.
https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:developer_guide:compiling_windows
Compiling on Windows [OpenCPN Manuals]
Get the wxWidgets 3.1.2 sources and build them cd C:\Users\myname\Sources git clone -b v3.1.2 https://github.com/wxWidgets/wxWidgets cd wxWidgets git submodule init git submodule update cd build\msw nmake /f makefile.vc BUILD=release SHARED=1 CXXFLAGS=/D_U
opencpn.org
개발 메뉴얼 주소입니다. 따라해보도록 하겠습니다.
Prerequisities
-
for OpenCPN v5.0.0
-
with wxWidgets v3.1.2
-
Plugin API starts with API 1.16 (Supports plugins with earlier API but they must be compiled again for OpenCPN v5.0 due to the change in wxWidgets.)
-
Highest chance of success if these steps are followed exactly.
Visual Studio 2017
-
Get Visual Studio Community 2017. Go to this microsoft web page Older Visual Studio and scroll down.
-
Install and select the workload Desktop development with C++ and include component Windows XP support for C++.
-
Also include the appropriate Windows x SDK component. Generally install the most current version, Windows 10 preferred.
Git
-
Get Git for Windows from https://gitforwindows.org
-
Install and let the installer register git in your PATH and select Checkout as-is, commit Unix-style line endings
Git for Windows
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. Git BASH Git for Windows provides a BA
gitforwindows.org

CMake
-
Get the latest CMake installation packages from https://cmake.org/download/
-
Install and let the installer register in the PATH environment variable
Download | CMake
Current development distribution Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that us
cmake.org

POedit
-
Get the latest POedit installation package from https://poedit.net
-
Install
-
Add C:\Program Files (x86)\Poedit\GettextTools\bin to your PATH
Poedit Translation Editor — Poedit
Simple translation editor for gettext and XLIFF
poedit.net



NSIS
-
Download NSIS (Nullsoft Scriptabe Install System) from https://nsis.sourceforge.io/Download
-
Install
Download - NSIS
<!-- Saved in parser cache with key n22049_wiki-wiki_:pcache:idhash:2349-0!canonical and timestamp 20211201010826 and revision id 25576 -->
nsis.sourceforge.io
7-Zip
-
Download 7-Zip from https://www.7-zip.org/download.html
-
Install
Download
Download .7z Any / x86 / x64 LZMA SDK: (C, C++, C#, Java)
www.7-zip.org
이후 wxWidgets 설치는 다음 포스트에 적어두었습니다.
https://94epicenter.tistory.com/25
02 wxWidgets 설치
설치 환경 Windows 10 Pro 64-bit (10.0, Build 19043) Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 CPUs), ~3.8GHz 65536MB RAM 과분하다... 설치 대상 WxWidget ver 3.1.2 C:\OpenCPN_SDK 폴더 생성 후 설치..
94epicenter.tistory.com