Skip to content

Building HPX on Windows

Beldunordj509 edited this page Jun 19, 2018 · 4 revisions
  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
> 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 hwloc:x64-windows
  1. Clone HPX
> git clone https://github.com/STEllAR-GROUP/hpx.git
  1. Open CMAKE GUI
  • set the source code to the path of HPX source.
  • set the build the binary to where you want HPX to be1. built.
  • add the following entries: set CMAKE_TOOLCHAIN_FILE (it's a filepath) vcpkg\scripts\buildsystems\vcpkg.cmake set CMAKE_BUILD_TYPE (it's a string) Debug
  1. Configure
  2. Generate
  3. Open Project
  4. Right click on any target and click build (click on ALL_BUILD to build all).
Clone this wiki locally