Building HPX on Windows - STEllAR-GROUP/hpx GitHub Wiki

  1. Install Visual Studio (Visual Studio)

  2. Install Git (Git)

  3. Install CMake (CMake)

  4. Build Vcpkg (in Git Bash) in the desired folder:

> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg
> .\bootstrap-vcpkg.bat
> .\vcpkg integrate install
  1. Install hwloc
> .\vcpkg.exe install hwloc:x64-windows
  1. Install Boost (This may take a long time ~ 2hrs).
> .\vcpkg.exe install boost:x64-windows
  1. Clone HPX
> git clone https://github.com/STEllAR-GROUP/hpx.git
  1. Open the CMAKE GUI.
  • Set the source code to the path of the HPX source.
  • Set the build the binary to where you want HPX to be built.
  • Add the following entries: set CMAKE_TOOLCHAIN_FILE (it's a file path) vcpkg\scripts\buildsystems\vcpkg.cmake set CMAKE_BUILD_TYPE (it's a string) to Debug.
  1. Configure
  2. Generate
  3. Open Project
  4. Right-click on any target and click build (click on ALL_BUILD to build all).