This program is CC21 compliant (https://github.com/SmallSatMakers/CC21).
Program to calculate the trajectory of a model rocket.
For Windows, Mingw-w64 is required to compile and / or run the program.
To install Mingw-w64, follow steps 3 and 4 under the 'Prerequisites' section of the following document, which are also listed below:
https://code.visualstudio.com/docs/cpp/config-mingw
-
Proceed to https://www.msys2.org/.
-
Follow the instructions under the red "Installation" header beginning with downloading the MSYS2 installer. For clarity, some of those instructions have been mirrored below.
-
Once the MSYS2 terminal has opened automatically, run the following command:
pacman -Syu
Note that this may take a minute... -
Once the MSYS2 terminal closes, use the Windows Start menu to search for and open "MSYS2 MSYS".
-
Once the MSYS2 terminal has opened, run the following command:
pacman -Su
Note that this may take a minute... -
To install mingw-w64, run the following command:
pacman -S --needed base-devel mingw-w64-x86_64-toolchain
Note that this may take a minute... -
Now that Mingw-w64 is installed, it must be added to the windows
PATH
environment variable. To do so, begin by making note of the path to Mingw-w64'sbin
folder. By default it isC:\msys64\mingw64\bin
. -
Search "Edit the system environment variables" in the Windows Start menu and select the entry of the same name.
-
Click the "Environment Variables..." option.
-
Find the variable labeled "Path", click the entry, and then click the "Edit..." button.
-
Click the "New" button and paste in the Mingw-w64 path found in step 7.
-
Select OK to confirm. Close and reopen any active console windows.
Double-click on make.bat
or open Command Prompt in the RocketrySuite/ directory and execute
make.bat
(./make.bat
for PowerShell)
Open Terminal in the RocketrySuite/ directory and execute
make
After compilation or having downloaded the executable from the Releases page (https://github.com/mitbailey/RocketrySuite/releases), either double-click RocketrySuite.exe
or run RocketrySuite.exe
in a CMD window opened within the repository directory. Then, follow the on-screen prompts.
After compilation, run ./sim.out
in a Terminal from within the repository directory. Then, follow the on-screen prompts.
Copyright (C) 2021 Mit Bailey
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.