Compiling AgOpenGPS From Source Code

Thought I’d quickly write up something on compiling AgOpenGPS from source code. It’s not that hard if you know how to do it :slight_smile:

  1. Click on this link https://visualstudio.microsoft.com/ , and click the download button.

  2. Once it’s finished downloading, run the installer. Allow it to make changes to your device. Click “Continue”

You’ll get a window like this:

  1. Select “.NET desktop development”

  2. Click "Install.

  3. Get really impatient waiting for everything to download and install :slight_smile:

  4. Once it finishes, click the “Launch” button.

Eventually, a window like this will load:

  1. Click on “Clone a repository”

  2. In the “Repository Location”, enter https://github.com/AgOpenGPS-Official/AgOpenGPS.git, then click "Clone
    Sit and wait a bit, it’ll clone the repo, and open it for you.

Eventually, everything will load and your window will look like this:


Note the “AgOpenGPS” up at the top, that’s your sign that it’s loaded.

  1. Click the left triangle on the top bar. It should build AgOpenGPS then.

  2. Note that you’ll have to switch to AgIO and build that as well (do that by clicking the down arrow by the left green triangle, then clicking the “Build” triangle. (Right green one).

  3. Then, in the file manager, navigate to the project directory. On mine, it was at C:\Users\david\Source\Repos\AgOpenGPS\AgOpenGPS , you can use the lower right hand window in Visual Studio to guide you (see above photo).

  4. Check if the “AgOpenGPS” application is present and runs correctly

  5. Go back one directory and zip up the directory containing the “AgOpenGPS” application. Share it with whatever tablet you want and start the tractor!

Note of interest: Apparently it doesn’t work, or didn’t work for me, to compile AgOpenGPS on a Windows virtual machine. But a normal windows machine works just fine.

5 Likes