@mainpage
This repository aims to autonomously control a mars tractor for terraforming.
-
Install Visual Studio Community Edition from this link
-
During installation, click on Desktop development with C++ workload and install.
- Type this command in your terminal
-
sudo apt-get install gcc g++
Windows:
- Install CMake from this link
- CMake
- Make sure to get the msi installer instead of the source files.
Linux:
- Type this command in your terminal
-
sudo apt-get install cmake
Windows:
- Install git from this link
- Git
- During installation, leave default/recommended options.
Linux:
- Type this command in your terminal
-
sudo apt-get install git
Both:
- Enter these commands into your terminal with your github username and email
-
git config --global user.name "John Doe"
-
git config --global user.email johndoe@example.com
Windows;
- Clone vcpkg anywhere using command
-
git clone https://github.com/microsoft/vcpkg
- Type this command in your administrative terminal inside of your vcpkg folder
-
.\bootstrap-vcpkg.bat
Linux:
- Clone vcpkg anywhere using command
-
git clone https://github.com/microsoft/vcpkg
- Type this command in your terminal inside of your vcpkg folder
-
./bootstrap-vcpkg.sh
Both:
- Type this command to list all available triplets. Determine what triplet your computer is from this list
-
vcpkg help triplet
-
Open a terminal in your vcpkg directory and type these commands to install the dependencies of this repository ( replace the word triplet with your computer's triplet ex. vcpkg install opencv4:x64-windows)
-
vcpkg install opencv4:triplet
-
vcpkg install opencv4[contrib]:triplet --recurse
-
vcpkg install gtest:triplet
-
vcpkg install jsoncpp:triplet
-
vcpkg install boost-signals2:triplet
-
vcpkg install boost-asio:triplet
-
vcpkg install qt5-base:triplet
-
-
Type this command in your terminal inside of the vcpkg directory and copy the path to vcpkg.cmake
-
vcpkg integrate install
-
-
Set this path as an environmental variable named VCPKG
- Download Doxygen binary installer at Doxygen
- Install doxygen inside your vcpkg directory at vcpkg/downloads/tools/
- Download vs code at VSCode
- Inside vs code go to extensions and install the C/C++ extension and the CMake Tools extension
- Clone the project by typing this command in your terminal
- Open the folder in vs code and build the project