![]() This is intended, but gets annoying for local bundles not intended to be distributed. Some developers have reported that the install step copies a redundant set of the wxWidgets dynamic library into the install directory, causing OpenCPN to fail. $ cmake -DCMAKE_INSTALL_PREFIX=/Users/dsr/tmp. To avoid this, change the install location with 'cmake' as follows: Everything from /usr/local/bin get's packaged into your DMG which is not desirable. The default install location is (/usr/local/bin). To use the “Run” action you need to build the “OpenCPN” target rather than the default “ALL_BUILD” target. Open the `OpenCPN.xcodeproj` file in Xcode, and use the “Build”, “Run”, “Debug”, etc features as normal. $ mkdir OpenCPN/build & cd OpenCPN/buildīuild Method 1 - From the command line Prepare our build environment:īuild Method 2 - Using Xcode Create the Xcode project: Regardless of which method we choose, the first steps are the same: Get the OpenCPN source:Ĭreate the build directory, where our local builds will take place, so that we don't work directly in the source tree: ![]() ![]() Officially OpenCPN is built from the command line, but it's also possible to use Apple's Xcode IDE for development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |