bitcoin-core / btcdeb

Bitcoin Script Debugger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build on Windows

sfhacker opened this issue · comments

Ciao.
I've just come across this project and tried to build it on Windows 10 x64 but got some compilation errors.

In file included from ../functions.h:9,
from ../functions.cpp:4:
../kerl/kerl.h:16:10: fatal error: sys/errno.h: No such file or directory
16 | #include <sys/errno.h>
| ^~~~~~~~~~~~~
compilation terminated.

Thanks in advance.

What compiler are you trying to build this in?

For Windows, the best option is probably Windows Subsystem for Linux.

Has this project (ever) been tested on different platforms/architectures?
Using Virtual Machines (VMs) is easy and cheap!
We use GCC 11.2.0 compiler.

Can you fix this issue or propose a workaround? We have never had the need to use Windows Subsystem for Linux.

Cheers.

It's been tested on a lot of platforms, yes. I've personally only ever used WSFL to compile in Windows but will look into using GCC for Windows directly.

You're welcome to contribute a patch to make it work, too, of course. It's open source.

Thanks for your response.

Are you so kind as to run this test: 'test-btcdeb' on Windows and post here the output?

Cheers.

Any news/update?
It is OVER a month now and there are several users stuck!

Are you so kind as to run this test: 'test-btcdeb' on Windows and post here the output?

No news/update. You're welcome to dig into this issue on your end, as you seem to have the tools available to do so. I'm limited on time for the foreseeable future so can't commit to getting GCC running on Windows at the moment.