A GPA calculator and interface written in C.
Requires ncurses and CMake
- Installing ncurses
sudo apt-get update
sudo apt-get install libncurses5-dev libncursesw5-dev
For compiling and building on Windows, it's recommended to use vcpkg
to manage library.
-
Install GNU gettext binaries. https://mlocati.github.io/articles/gettext-iconv-windows.html
-
Installing vcpkg
> git clone https://github.com/microsoft/vcpkg
> cd vcpkg
> bootstrap-vcpkg.bat
- Installing required dependencies
> vcpkg install pdcurses:x64-windows
> vcpkg install gettext:x64-windows
In order to use vcpkg with Visual Studio, run the following command (may require administrator elevation):
> .\vcpkg\vcpkg integrate install
Adding the following to your workspace settings.json
will make
CMake Tools automatically use vcpkg for libraries:
{
"cmake.configureSettings": {
"CMAKE_TOOLCHAIN_FILE": "[vcpkg root]/scripts/buildsystems/vcpkg.cmake"
}
}