Skip to content

Instantly share code, notes, and snippets.

@abrodkin
Created March 8, 2023 15:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abrodkin/cb6a788e0f0933d5efc61cd109252e21 to your computer and use it in GitHub Desktop.
Save abrodkin/cb6a788e0f0933d5efc61cd109252e21 to your computer and use it in GitHub Desktop.
Build Speedcrunch on Windows

Install MSYS2

Install additional packages

make
mingw-w64-ucrt-x86_64-cmake
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-qt5-base
mingw-w64-ucrt-x86_64-qt5-tools

Clone the Speedcrunch repo

git clone https://bitbucket.org/heldercorreia/speedcrunch.git

Set build environemnt & build

export Qt5_DIR=/ucrt64/lib/cmake/Qt5
export Qt5Core_DIR=/ucrt64/lib/cmake/Qt5Core
export Qt5Help_DIR=/ucrt64/lib/cmake/Qt5Help

cd speedcrunch
mkdir build

/ucrt64/bin/cmake ../src

ninja

Copy built binary to a preferable location

cp speedcrunch.exe \\Program\ Files\\Speedcrunch

Update Windows environment so that shared libs used for building are visible to the binary

Add C:\msys64\ucrt64\bin to your PATH variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment