Hello CryptoWorld,
i tried to fork the bitcoin 0.21 and to compile it throught WSL and Ubuntu 18.04TLS.
i followed the full doc/build.windows but when i run
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 # not required when building from tarball
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=$PWD/depends/x86_64-w64-mingw32/
make
sudo bash -c "echo 1 > /proc/sys/fs/binfmt_misc/status"
it just trow me an error compiling the bitcoind on line 21:
In file included from ./logging.h:11:0,
from ./util/system.h:21,
from bitcoind.cpp:21:
./threadsafety.h:58:1: error: expected class-name before ‘{’ token
{
and as you know in the threadsecurity.h on line 57 the class is well definited.
Is in here someone able to give me a good advice?