-
Install MSYS2 https://www.msys2.org/
winget install --id=MSYS2.MSYS2 -e
-
Open the MSYS2 terminal and update the package database and core system packages:
pacman -Syu
-
After updating, close the terminal and open it again to continue the update process:
pacman -Su
-
Install Required Packages in MSYS2
pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-pkg-config
-
Clone the librdkafka repository:
git clone https://github.com/edenhill/librdkafka.git cd librdkafka
-
Create a build directory and navigate into it:
mkdir build cd build
-
Build librdkafka, this will install DLLs under C:/Program Files (x86)/RdKafka/bin/
${MINGW_PREFIX}/bin/cmake -G "MSYS Makefiles" .. make install
-
Clone the JR repository
git clone https://github.com/ugol/jr cd jr
-
Install and configure Go
pacman -S mingw-w64-x86_64-go export GOROOT=${MINGW_PREFIX}/lib/go make all make copy_templates make copy_config make install
Last active
August 8, 2024 09:40
-
-
Save gphilipp/de0f67107b1567aef71b086ebca3bab9 to your computer and use it in GitHub Desktop.
Build and run JR on Windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment