Bitcoin core will not compile on Windows 11 #25195

issue LordOfDisdain openend this issue on May 24, 2022
  1. LordOfDisdain commented at 7:37 am on May 24, 2022: none

    I have ran into several issues during my compiling of Bitcoin. I have tried to compile this thing but each time I try to do so, there is a new issue. For reference I am using Ubuntu Bash terminal to compile Bitcoin. My operating system is Windows 11 and I have tried everything I know to troubleshoot this issue. I have downloaded clang, mingw g++ and I will attach the a photo to explain this issue. Each time I try to use the ./configure, ./autogen.sh and sudo make, there seems to be issues and this will not compile at all. Any help will be greatly appreciated. Thank you! PS. I have also created a virtual environment and I have installed the necessary tools for it as well. Bitcoin Error

    config.log

  2. hebasto commented at 7:50 am on May 24, 2022: member

    I have also created a virtual environment

    Do you mean WSL?

  3. LordOfDisdain commented at 12:30 pm on May 24, 2022: none

    WSL? I’m lost with the acronyms at times.

    I have also created a virtual environment

    Do you mean WSL?

  4. hebasto commented at 12:35 pm on May 24, 2022: member

    @LordOfDisdain

    I mean, there are two supported ways to build Bitcoin Core on Windows:

    • using Windows Subsystem for Linux (WSL)
    • using Microsoft VS tools

    I was trying to understand what does “using Ubuntu Bash terminal to compile Bitcoin” mean exactly…

  5. LordOfDisdain commented at 12:53 pm on May 24, 2022: none

    @LordOfDisdain

    I mean, there are two supported ways to build Bitcoin Core on Windows:

    * using Windows Subsystem for Linux (WSL)
    
    * using Microsoft VS tools
    

    I was trying to understand what does “using Ubuntu Bash terminal to compile Bitcoin” mean exactly…

    I understand now. I was using the WSL because my OS is Windows 11.

  6. hebasto commented at 1:14 pm on May 24, 2022: member

    Ok. From you screenshot it is not clear if you follow https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md#building-for-64-bit-windows, especially, building depends

    0cd depends
    1make HOST=x86_64-w64-mingw32
    2cd ..
    

    ?

  7. LordOfDisdain commented at 3:15 pm on May 24, 2022: none

    Ok. From you screenshot it is not clear if you follow https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md#building-for-64-bit-windows, especially, building depends

    0cd depends
    1make HOST=x86_64-w64-mingw32
    2cd ..
    

    ?

    I did not follow that. I will look into that and if I have some issues I will update this issue list. Thanks!

  8. hebasto commented at 3:20 pm on May 24, 2022: member
    Closing for now. Feel free to reopen this issue at anytime.
  9. hebasto closed this on May 24, 2022

  10. hebasto added the label Questions and Help on May 24, 2022
  11. hebasto added the label Windows on May 24, 2022
  12. LordOfDisdain commented at 6:51 am on May 25, 2022: none

    I am still having issues with the install. I always get this error MakeFile: 741. I’ll attach the config log. Also I have one other question. How do I use this bash script exactly: PATH=$(echo “$PATH” | sed -e ’s/:/mnt.*//g’) # strip out problematic Windows %PATH% imported var sudo bash -c “echo 0 > /proc/sys/fs/binfmt_misc/status” # Disable WSL support for Win32 applications. cd depends make HOST=x86_64-w64-mingw32 cd .. ./autogen.sh CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure –prefix=/ make # use “-j N” for N parallel jobs sudo bash -c “echo 1 > /proc/sys/fs/binfmt_misc/status” # Enable WSL support for Win32 applications.

    Do I use that in the configure script or am I misunderstanding something. Any help will be appreciated. Thanks!

  13. LordOfDisdain commented at 6:53 am on May 25, 2022: none
    Here is the config log! My apologizes for not attaching it in the prior message. Uploading config.log…
  14. DrahtBot locked this on May 25, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-28 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me