Skip to content

Instantly share code, notes, and snippets.

View ahmednawazkhan's full-sized avatar

Ahmed Nawaz Khan ahmednawazkhan

View GitHub Profile
@ahmednawazkhan
ahmednawazkhan / installing-boost-on-windows.md
Last active September 7, 2023 04:55
Installing C++ Boost Libraries on Windows

Installing C++ Boost Libraries on Windows using MSYS2

  1. Download boost from https://www.boost.org/users/download/
  2. Extract the contents to /c/downloads/boost_1_77_0
  3. Create a folder within for building. /c/downloads/boost_1_77_0/build
  4. Create a folder for Boost Build installation /c/downloads/boost-build
@ahmednawazkhan
ahmednawazkhan / installing-cpp-on-windows.md
Last active September 26, 2023 08:45
Install C++/Mingw-w64/g++ on windows

Installing C++/g++/Mingw-w64 on Windows

  1. Install Msys2 from msys2.org
  2. Complete the steps and open Msys2
  3. Update package databases pacman -Syu
  4. Update rest of base packages pacman -Su
  5. Install Mingw-w64 pacman -S --needed base-devel mingw-w64-x86_64-toolchain
  6. Install CMake pacman -S mingw-w64-x86_64-cmake
  7. Install Ninja pacman -S mingw-w64-x86_64-ninja
  8. Make sure to launch MSYS2 MinGW 64-bit with administrator rights ( This is !mportant...!!!)