Android Multilib Build Cheat Sheet - Linux...Android Multilib Build ...
Fork and Build (Linux)
Transcript of Fork and Build (Linux)
2021/10/05 15:09 1/9 Fork and Build (Linux)
OpenCPN Manuals - https://opencpn.org/wiki/dokuwiki/
Fork and Build (Linux)
Requirements
Register with GitHub and obtained a profile. This allows the setting up of repositories where yourcode can be published.GitCMake
Process
- Using GitHub and working from your main GitHub folder make a fork of DR_pi fromhttps://github.com/Rasbats/DR_pi
- Using 'Terminal' clone the plugin onto your machine:
Lastupdate:2017/02/2118:07
opencpn:developer_manual:plugins:learning:fork_and_build_linux https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:plugins:learning:fork_and_build_linux
https://opencpn.org/wiki/dokuwiki/ Printed on 2021/10/05 15:09
- Make the 'build' directory and cd to 'build':
- 'CMake' a 'CodeBlocks' project:
2021/10/05 15:09 3/9 Fork and Build (Linux)
OpenCPN Manuals - https://opencpn.org/wiki/dokuwiki/
- To see what files have been made use 'Files' to navigate to 'learning/DR_pi/build'. The 'CodeBlocks'project is called 'DR_pi.cbp'.
- Start 'CodeBlocks' and 'Build' the project.
Lastupdate:2017/02/2118:07
opencpn:developer_manual:plugins:learning:fork_and_build_linux https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:plugins:learning:fork_and_build_linux
https://opencpn.org/wiki/dokuwiki/ Printed on 2021/10/05 15:09
- There are some warnings but no errors.
- This builds the plugin file 'libDR_pi.so' in the 'build' directory
2021/10/05 15:09 5/9 Fork and Build (Linux)
OpenCPN Manuals - https://opencpn.org/wiki/dokuwiki/
- The .so file can be moved to the plugins folder 'usr/lib/opencpn' using 'Terminal'.
Lastupdate:2017/02/2118:07
opencpn:developer_manual:plugins:learning:fork_and_build_linux https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:plugins:learning:fork_and_build_linux
https://opencpn.org/wiki/dokuwiki/ Printed on 2021/10/05 15:09
Alternative plugin installation using the Software Centre
- It may be easier to make a package and install this using the 'Ubuntu Software Centre'.
- From 'Terminal', in 'build', 'sudo make install', 'sudo make package'. The .deb package is made in the'build' folder.
- Open the .deb file from 'build' in the 'Ubuntu Software Centre'.
2021/10/05 15:09 7/9 Fork and Build (Linux)
OpenCPN Manuals - https://opencpn.org/wiki/dokuwiki/
- A warning
- Carry on!
Lastupdate:2017/02/2118:07
opencpn:developer_manual:plugins:learning:fork_and_build_linux https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:plugins:learning:fork_and_build_linux
https://opencpn.org/wiki/dokuwiki/ Printed on 2021/10/05 15:09
- The plugin libDR_pi.so has been installed in '/usr/lib/opencpn'.
- When you enable the DR plugin you should see the plugin icon on the toolbar.
2021/10/05 15:09 9/9 Fork and Build (Linux)
OpenCPN Manuals - https://opencpn.org/wiki/dokuwiki/
Notes
The next guide will show the DR_pi plugin being renamed as 'oplaydo1_pi' and modified.
'oplaydo1_pi' will allow the user to input start and finish positions. From these positions aGPX file will be created that can be imported and viewed in OpenCPN.
From:https://opencpn.org/wiki/dokuwiki/ - OpenCPN Manuals
Permanent link:https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:plugins:learning:fork_and_build_linux
Last update: 2017/02/21 18:07