Building the code on linux & windows10 using linux subsystem (ubuntu) - night-ghost/minimosd-extra GitHub Wiki

1. Install Windows Subsystem for Linux / Ubuntu

(Original Howtogeek's Instructions)

  • Under Control Panel >> Programs >> Turn Windows Features on and off enable "Windows Subsystem for Linux"
  • Download and install Ubuntu from MicrosoftStore

2. Clone the repository

  • navigate to the directory you want to clone into and run git clone https://github.com/night-ghost/minimosd-extra.git
  • init and update submodules git submodule init and git submodule update

3. Install the build requisites

4. Build the code using the 0-build script

  • navigate to the cloned minimosd-extra repo
  • navigate to folder MinimOsd_Extra
  • type ./0-build.sh to build mavlink version for atmega328p hardware by default
  • if required, edit build script to desired protocol / hardware version
  • binaries can be found in folder MinimOsd_Extra/build-[yourhardwaretype]