This repository was archived by the owner on Jan 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-msw.txt
More file actions
57 lines (33 loc) · 1.47 KB
/
build-msw.txt
File metadata and controls
57 lines (33 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Copyright (c) 2024 Makoto Sakuyama
WINDOWS BUILD NOTES
===================
Compilers Supported
-------------------
MinGW GCC
# Install MSYS2: download and install MSYS2 from the official website.
# Update MSYS2: Open the MSYS2 terminal and update the package database and the core system packages by running:
pacman -Syu
# After the initial update, close the terminal and reopen it. Then, run the command again to ensure everything is up to date:
pacman -Syu
# Install base-devel git vim and mingw-w64 toolchains:
pacman -S --needed base-devel mingw-w64-x86_64-toolchain git vim
#Install wxWidgets: There are different versions available
I#f not using x86 64 bit use pacman -Ss wxwidgets to search for the right version
pacman -S mingw-w64-x86_64-wxwidgets3.2-msw
# Run wx-config to confirm it has installed correctly. These two commands give you the include and lib directories
# If you get an error in the build process run this commands and check against the makefile
wx-config --cxxflags
wx-config --libs
# Install boost and berkeley-db
pacman -S mingw-w64-x86_64-boost mingw-w64-x86_64-db
# pacman doesn't support cryptopp so we need to build
git clone https://github.com/weidai11/cryptopp.git
cd cryptopp
make
make install
# Get the alphacash source code
git clone https://github.com/sakuyama2024/alphacashbeta
cd alpahcashbeta
make alphacashd
# run the program. Wait until the chain is downloaded and then turn on generate coins in the menu
./alphacashd