Files
monero_c/docs/Writerside/topics/Windows.md
cyan d04dcf67ec initial work on docs (#69)
* initial work on docs
* fix DOCKER_VERSION
* update location
* add the path **properly**
* Update docs workflow
2024-10-17 10:50:22 +02:00

1.4 KiB

Windows

Building on windows has been tested on

  • debian:bullseye (docker tag)
  • Ubuntu 22.04 WSL

Install dependencies

$ apt update $ apt install -y build-essential pkg-config autoconf libtool \ ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf \ gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 $ apt update $ apt install -y build-essential pkg-config autoconf libtool \ ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf \ gcc-mingw-w64-i686 g++-mingw-w64-i686

Prepare source

If you are running in docker or have not configured git you may need to do the following:

git config --global --add safe.directory '*'
git config --global user.email "ci@mrcyjanek.net"
git config --global user.name "CI mrcyjanek.net"
$ git clone https://github.com/mrcyjanek/monero_c --recursive
$ cd monero_c
$ ./apply_patches.sh monero

Building

$ ./build_single.sh monero x86_64-w64-mingw32 -j$(nproc) $ ./build_single.sh monero i686-w64-mingw32 -j$(nproc)

Known issues

Dynamically loaded dependencies

There are some dynamically loaded dependencies which are copied over from the OS package repository. All of them are available in release/ directory.