Code Monkey home page Code Monkey logo

autonomousmissionplanner's Introduction

AutonomousMissionPlanner

Planning software for autonomous surface and underwater vehicles.

Building on Windows 10

These were the steps followed using the lastest versions at the time. May also work with different versions.

  • Installed Visual Studio Community 2017
  • Installed QT 5.9.1 (offline installer) (selecting VS 2017 64bit libraries)
  • Installed CMake 3.9.1
  • Built GDAL 2.2.1 from source.

Building GDAL

  • edited nmake.opt modifiying GDAL_HOME to desired install location
  • opened x64 Native Tools COmmand Prompt for VS 2017
  • cd'ed to GDAL source directory
  • nmake -f makefile.vc MSVC_VER=1910 WIN64=1
  • nmake -f makefile.vc MSVC_VER=1910 WIN64=1 devinstall

Building AutonomousMissionPlanner

  • Using CMake GUI, choose source directory and build directory (created ./build/ in source directory)
  • Picked Visual Studio 15 2017 Win64 as the generator.
  • Help CMake find QT5 by pointing Qt5_DIR at C:\Qt\Qt5.9.1\5.9.1\msvc2017_64\lib\cmake\Qt5
  • Specify GDAL header and library locations
  • Customized CMAKE_INSTALL_PREFIX. (Default gave access errors trying to install)
  • Generate project
  • Opened AutonomousMissionPlanner.sln in build directory.
  • Built INSTALL target.

Contributed by @shujaatak to solve issue with finding proj4 dll at runtime:

Building PROJ4

  • Download PROJ4 - https://github.com/OSGeo/proj.4
  • Unzip it.
  • In the source directory, edit nmake.opt modifiying INSTDIR to desired install/build location
  • Run "VS2015 x64 Native Tools Command Prompt" for VS 2015
  • Change directory to PROJ4 source directory
  • Run these commands one after other:
    • nmake /f makefile.vc MSVC_VER=1910 WIN64=1
    • nmake /f makefile.vc MSVC_VER=1910 WIN64=1 install-all
  • After completion, you will find the compiled PROJ4 lib, include and bin folders in your specified install/build location, From bin folder, copy proj.dll to the AutonomousMissionPlanner.exe folder. Done!

autonomousmissionplanner's People

Contributors

rolker avatar valschmidt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.