Build the Algorand Node Natively on Windows 10

Build it natively! No more emulators or even WSL, just build it from source using mingw64 on Windows 10 x64. Learn more by following this step-by-step tutorial:

Source code to synced in about 30 minutes! (depending on your build environment, use of Fast Catchup and network speed)

Please let us know how it’s going in the comments below…

2 Likes

Hi,

I’m going through the tutorial but having trouble running the ‘make’ command. I’m seeing the following errors:

I’ve tried running as Administrator but getting the same results. Is there something I’m doing wrong with the install?

Thanks

These seems to be the four components installed by configure_dev-deps.sh.

Did you run it ?

I ran configure_dev-deps.sh separately and got this as output.

Can you send the full output of ./scripts/configure_dev.sh?

Sorry, I’m unable to post it directly in the forum due to the number of links in the output. I’ve uploaded it to PasteBin instead. Output of ./scripts/configure_dev.sh - Pastebin.com
Cheers

Is $GOPATH/bin in your $PATH?
See

@fabrice Thanks for pointing me in the right direction. It looks like during the install a separate ‘go’ folder was created in my windows Users directory and so there were some files in ‘C:\Users\peter\go’ and some in ‘C:\msys64\home\peter\go’. I manually copied the folder contents from Users into Home and then ‘make’ was able to locate the missing dependencies.

Hi @Genma_Saotome we are about to update the tutorial and move full setup of Go language outside script execution.

Please check if applying the changes in this branch, just after cloning the repo, helps.

Kind regards.

@mxmauro I cloned the repo and copied over the three files

  • makefile
  • scripts/build_package.sh
  • scripts/configure_dev-deps.sh

Went through without a hitch running ./scripts/configure_dev.sh with those changes. Everything correctly copied into C:\msys64\home\peter\go\bin rather than my %USERPROFILE% directory.

Excellent @Genma_Saotome. I’ll work this weekend on some changes and update the tutorial.

BTW: Sorry for the late response. I don’t enter the forum frequently :slight_smile: