Using Qt 5.2 (last step in the guide)
C:\bitcoin-0.8.6>mingw32-make -f Makefile.Release
cd C:/bitcoin-0.8.6/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMP
ILE mingw32-make OPT="-pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2"
libleveldb.a libmemenv.a && ranlib C:/bitcoin-0.8.6/src/leveldb/libleveldb.a &&
ranlib C:/bitcoin-0.8.6/src/leveldb/libmemenv.a
'CC' is not recognized as an internal or external command,
operable program or batch file.
Makefile.Release:319: recipe for target 'C:/bitcoin-0.8.6/src/leveldb/libleveldb
.a' failed
mingw32-make: *** [C:/bitcoin-0.8.6/src/leveldb/libleveldb.a] Error 1
Thanks
Did you build bitcoind? If not you should build leveldb and comment out genleveldb command in your .pro file before compiling.
bitcoind fails (followed the guide AS IS)
C:\bitcoin-0.8.6>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\XXX\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=PC
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\XXX
LOCALAPPDATA=C:\Users\XXX\AppData\Local
LOGONSERVER=\\PC
NUMBER_OF_PROCESSORS=6
OS=Windows_NT
Path=C:\mingw32\bin;C:\Python33\;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\sys
tem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\
v1.0\;C:\Qt\5.2.1\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2d07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTDIR=C:\Qt\5.2.1
QTSRC=C:\Qt\5.2.1\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\XXX\AppData\Local\Temp
TMP=C:\Users\XXX\AppData\Local\Temp
USERDOMAIN=PC
USERNAME=XXX
USERPROFILE=C:\Users\XXX
windir=C:\WindowsC:\bitcoin-0.8.6>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/i686-w64-mingw32/4.8.2/lto-wra
pper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-4.8.2/configure --host=i686-w64-mingw32 --buil
d=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c
/mingw482/i686-482-posix-dwarf-rt_v3-r2/mingw32 --with-gxx-include-dir=/mingw32/
i686-w64-mingw32/include/c++ --enable-shared --enable-static --disable-multilib
--enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=ye
s --enable-threads=posix --enable-libgomp --enable-lto --enable-graphite --enabl
e-checking=release --enable-fully-dynamic-string --enable-version-specific-runti
me-libs --disable-sjlj-exceptions --with-dwarf2 --disable-isl-version-check --di
sable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --en
able-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-
werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tun
e=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw482/prerequisite
s/i686-w64-mingw32-static --with-mpfr=/c/mingw482/prerequisites/i686-w64-mingw32
-static --with-mpc=/c/mingw482/prerequisites/i686-w64-mingw32-static --with-isl=
/c/mingw482/prerequisites/i686-w64-mingw32-static --with-cloog=/c/mingw482/prere
quisites/i686-w64-mingw32-static --enable-cloog-backend=isl --with-pkgversion='i
686-posix-dwarf, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.ne
t/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw482/i686-482-posix-dwarf-rt_v3-
r2/mingw32/opt/include -I/c/mingw482/prerequisites/i686-zlib-static/include -I/c
/mingw482/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/
c/mingw482/i686-482-posix-dwarf-rt_v3-r2/mingw32/opt/include -I/c/mingw482/prere
quisites/i686-zlib-static/include -I/c/mingw482/prerequisites/i686-w64-mingw32-s
tatic/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw482/i686-482-posix-dwarf-rt_v3
-r2/mingw32/opt/lib -L/c/mingw482/prerequisites/i686-zlib-static/lib -L/c/mingw4
82/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: posix
gcc version 4.8.2 (i686-posix-dwarf, Built by MinGW-W64 project)C:\bitcoin-0.8.6\src>mingw32-make -f makefile.mingw
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par
ameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS
AFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/l
eveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4
.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/main.o main.cpp
g++ -c -mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par
ameter -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS
AFE -DUSE_IPV6=1 -IC:/bitcoin-0.8.6/src/leveldb/include -IC:/bitcoin-0.8.6/src/l
eveldb/helpers -I"C:/bitcoin-0.8.6/src" -I"c:/deps/boost_1_55_0" -I"c:/deps/db-4
.8.30.NC/build_unix" -I"c:/deps/openssl-1.0.1e/include" -o obj/net.o net.cpp
net.cpp: In function 'void ThreadOpenConnections()':
net.cpp:1288:34: error: expected ';' before '=' token
for (int64 nwhile (true) = 0;; nwhile (true)++)
^
net.cpp:1288:34: error: expected primary-expression before '=' token
net.cpp:1288:38: error: expected primary-expression before ';' token
for (int64 nwhile (true) = 0;; nwhile (true)++)
^
net.cpp:1288:38: error: expected ')' before ';' token
net.cpp:1288:40: error: name lookup of 'nwhile' changed for ISO 'for' scoping [-
fpermissive]
for (int64 nwhile (true) = 0;; nwhile (true)++)
^
net.cpp:1288:40: note: (if you use '-fpermissive' G++ will accept your code)
net.cpp:1288:52: error: 'nwhile' cannot be used as a function
for (int64 nwhile (true) = 0;; nwhile (true)++)
^
net.cpp:1288:55: error: expected ';' before ')' token
for (int64 nwhile (true) = 0;; nwhile (true)++)
^
net.cpp:1902:1: error: expected '}' at end of input
}
^
net.cpp:1902:1: error: expected '}' at end of input
makefile.mingw:135: recipe for target 'obj/net.o' failed
mingw32-make: *** [obj/net.o] Error 1Do I need to change it back to LOOP to run it now?