yeah...but i think i'm about to give up making this work. i was following the devtome guide, got everything running fine on ubuntu, wallet works and everything, but i can't get it to work with windows. i've tried pretty much every option and have clean installed like 3 times. i don't even want to make a windows wallet anymore. i think my problem is the source code that it links me to and that i cloned from github, when i look at the -qt.pro, the version is: VERSION = 0.6.3
i think this is what is killing me, am i wrong? do i have to re-do the whole fucking coin from square 1 cloning a more current coin?
On 0.6.3 you should link against qt 4.8 and apply these patches:
https://github.com/laanwj/bitcoin/commit/61d85071405b99c3734606eed31ea8f615c0c77ahttps://github.com/bitcoin/bitcoin/commit/6c6255edb54bed780f0879c906dccf6cfa98b4dbI did this, and still having the same problem. But it did go a hell of a lot further than it went previously.
I ran
qmake mycoin-qt.pro
mingw32-make -f Makefile.Release
qmake went through well, but the entire time there were a lot of warnings, but it went through. i don't know if that's normal.
mingw32-make -f Makefile.Release went way further than before, but still...same problem.
In file included from src/bignum.h:13:0,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
src/util.h:22:28: fatal error: boost/thread.hpp: No such file or directory
#include
^
compilation terminated.
Makefile.Release:8341: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1
I see a folder thread in my boost folder, but it is in boost_1_55_0/libs/
Should I rename the folder to just boost? Or would that make a difference? I have a path set to it in the main .pro file and also in the environmental variables settings. I don't know what to do

edit: yes when i run
qmake mycoin-qt.pro
i get a whole lot of
Warning: ignoring element
but it does complete. is this causing a problem as well ?
edit2: well changing the name of the boost folder did get me past that error (and yes i did change all path names as well to account for this), but now i have a new error:
c:\Users\XXX>mingw32-make -f Make
file.Release
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -fdiagnostics-show-option -Wa
ll -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fexceptions -mthrea
ds -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV
6 -DUSE_UPNP=1 -DSTATICLIB -DWIN32 -D_MT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI
_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"src" -I"src\json" -I"src\qt" -I"..\..\..\
..\..\deps" -I"..\..\..\..\..\deps\boost" -I"..\..\..\..\..\deps\db-4.8.30.NC\bu
ild_unix" -I"..\..\..\..\..\deps\openssl-1.0.1e\include" -I"..\..\..\..\..\Qt\5.
2.1\qtbase-opensource-src-5.2.1\include" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opens
ource-src-5.2.1\include\QtWidgets" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opensource-
src-5.2.1\include\QtGui" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\
include\QtCore" -I"build" -I"build" -I"..\..\..\..\..\Qt\5.2.1\qtbase-opensource
-src-5.2.1\mkspecs\win32-g++" -o build\bitcoin.o src\qt\bitcoin.cpp
In file included from ..\..\..\..\..\deps\boost/boost/bind/bind.hpp:29:0,
from ..\..\..\..\..\deps\boost/boost/bind.hpp:22,
from ..\..\..\..\..\deps\boost/boost/thread/detail/thread.hpp:2
9,
from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:22,
from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
from src/util.h:22,
from src/bignum.h:13,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/bind/arg.hpp: In constructor 'boost::arg::arg
(const T&)':
..\..\..\..\..\deps\boost/boost/bind/arg.hpp:37:22: warning: typedef 'T_must_be_
placeholder' locally defined but not used [-Wunused-local-typedefs]
typedef char T_must_be_placeholder[ I == is_placeholder::value? 1: -
1 ];
^
In file included from ..\..\..\..\..\deps\boost/boost/tuple/tuple.hpp:33:0,
from ..\..\..\..\..\deps\boost/boost/thread/detail/async_func.h
pp:37,
from ..\..\..\..\..\deps\boost/boost/thread/future.hpp:22,
from ..\..\..\..\..\deps\boost/boost/thread.hpp:24,
from src/util.h:22,
from src/bignum.h:13,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/tuple/detail/tuple_basic.hpp: In function 'typen
ame boost::tuples::access_traitss::cons >::type>::const_type boost::tuples::get(const boost::tuples::con
s&)':
..\..\..\..\..\deps\boost/boost/tuple/detail/tuple_basic.hpp:228:45: warning: ty
pedef 'cons_element' locally defined but not used [-Wunused-local-typedefs]
typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
^
In file included from src/bignum.h:13:0,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h: At global scope:
src/util.h:39:29: error: expected ',' or '...' before 'for'
#define loop for (;;)
^
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h:96:43: note: in expansion of macro 'loop'
explicit QEventLoopLocker(QEventLoop *loop);
^
src/util.h:39:34: error: expected ')' before ';' token
#define loop for (;;)
^
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h:96:43: note: in expansion of macro 'loop'
explicit QEventLoopLocker(QEventLoop *loop);
^
src/util.h:39:36: error: expected unqualified-id before ')' token
#define loop for (;;)
^
..\..\..\..\..\Qt\5.2.1\qtbase-opensource-src-5.2.1\include/QtCore/../../src/cor
elib/kernel/qeventloop.h:96:43: note: in expansion of macro 'loop'
explicit QEventLoopLocker(QEventLoop *loop);
^
In file included from ..\..\..\..\..\deps\boost/boost/interprocess/errors.hpp:37
:0,
from ..\..\..\..\..\deps\boost/boost/interprocess/exceptions.hp
p:20,
from ..\..\..\..\..\deps\boost/boost/interprocess/shared_memory
_object.hpp:17,
from ..\..\..\..\..\deps\boost/boost/interprocess/ipc/message_q
ueue.hpp:17,
from src\qt\bitcoin.cpp:23:
..\..\..\..\..\deps\boost/boost/interprocess/detail/win32_api.hpp:903:116: warni
ng: declaration of 'void* boost::interprocess::winapi::CreateMutexA(boost::inter
process::winapi::interprocess_security_attributes*, int, const char*)' with C la
nguage linkage [enabled by default]
extern "C" __declspec(dllimport) void * __stdcall CreateMutexA(interprocess_sec
urity_attributes*, int, const char *);
^
In file included from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_data.h
pp:11:0,
from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:15,
from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
from src/util.h:22,
from src/bignum.h:13,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/thread/win32/thread_primitives.hpp:144:55: warni
ng: conflicts with previous declaration 'void* boost::detail::win32::CreateMutex
A(boost::detail::win32::_SECURITY_ATTRIBUTES*, int, const char*)' [enabled by de
fault]
__declspec(dllimport) void* __stdcall CreateMutexA(_SECURITY_AT
TRIBUTES*,int,char const*);
^
In file included from ..\..\..\..\..\deps\boost/boost/interprocess/errors.hpp:37
:0,
from ..\..\..\..\..\deps\boost/boost/interprocess/exceptions.hp
p:20,
from ..\..\..\..\..\deps\boost/boost/interprocess/shared_memory
_object.hpp:17,
from ..\..\..\..\..\deps\boost/boost/interprocess/ipc/message_q
ueue.hpp:17,
from src\qt\bitcoin.cpp:23:
..\..\..\..\..\deps\boost/boost/interprocess/detail/win32_api.hpp:908:127: warni
ng: declaration of 'void* boost::interprocess::winapi::CreateSemaphoreA(boost::i
nterprocess::winapi::interprocess_security_attributes*, long int, long int, cons
t char*)' with C language linkage [enabled by default]
extern "C" __declspec(dllimport) void * __stdcall CreateSemaphoreA(interprocess
_security_attributes*, long, long, const char *);
^
In file included from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_data.h
pp:11:0,
from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:15,
from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
from src/util.h:22,
from src/bignum.h:13,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/thread/win32/thread_primitives.hpp:145:55: warni
ng: conflicts with previous declaration 'void* boost::detail::win32::CreateSemap
horeA(boost::detail::win32::_SECURITY_ATTRIBUTES*, long int, long int, const cha
r*)' [enabled by default]
__declspec(dllimport) void* __stdcall CreateSemaphoreA(_SECURIT
Y_ATTRIBUTES*,long,long,char const*);
^
src\qt\bitcoin.cpp: In function 'int qMain(int, char**)':
src\qt\bitcoin.cpp:150:5: error: 'setCodecForTr' is not a member of 'QTextCodec'
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
^
src\qt\bitcoin.cpp:151:5: error: 'setCodecForCStrings' is not a member of 'QText
Codec'
QTextCodec::setCodecForCStrings(QTextCodec::codecForTr());
^
src\qt\bitcoin.cpp:151:37: error: 'codecForTr' is not a member of 'QTextCodec'
QTextCodec::setCodecForCStrings(QTextCodec::codecForTr());
^
In file included from ..\..\..\..\..\deps\boost/boost/thread/shared_mutex.hpp:18
:0,
from ..\..\..\..\..\deps\boost/boost/thread/detail/thread_group
.hpp:9,
from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:13,
from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
from src/util.h:22,
from src/bignum.h:13,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp: In instantiation
of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boos
t::shared_mutex::state_data]':
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:124:103: require
d from here
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:52:99: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
*reinterpret_cast
(&comparand));
^
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:52:99: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:53:52: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
return *reinterpret_cast(&res);
^
..\..\..\..\..\deps\boost/boost/thread/win32/shared_mutex.hpp:53:52: warning: de
referencing type-punned pointer will break strict-aliasing rules [-Wstrict-alias
ing]
In file included from ..\..\..\..\..\deps\boost/boost/interprocess/detail/window
s_intermodule_singleton.hpp:26:0,
from ..\..\..\..\..\deps\boost/boost/interprocess/detail/tmp_di
r_helpers.hpp:22,
from ..\..\..\..\..\deps\boost/boost/interprocess/shared_memory
_object.hpp:22,
from ..\..\..\..\..\deps\boost/boost/interprocess/ipc/message_q
ueue.hpp:17,
from src\qt\bitcoin.cpp:23:
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp: In instantiation of 'static ThreadSafeGlobalMap& boost::interprocess::ipcd
etail::intermodule_singleton_common::get_map() [with Thread
SafeGlobalMap = boost::interprocess::ipcdetail::intermodule_singleton_helpers::w
indows_semaphore_based_map]':
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:126:48: required from 'static void boost::interprocess::ipcdetail::interm
odule_singleton_common::initialize_singleton_logic(void*&,
volatile uint32_t&, void* (*)(ThreadSafeGlobalMap&), bool) [with ThreadSafeGloba
lMap = boost::interprocess::ipcdetail::intermodule_singleton_helpers::windows_se
maphore_based_map; uint32_t = unsigned int; boost::interprocess::ipcdetail::inte
rmodule_singleton_common::singleton_constructor_t = void*(b
oost::interprocess::ipcdetail::intermodule_singleton_helpers::windows_semaphore_
based_map&)]'
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:337:103: required from 'static void boost::interprocess::ipcdetail::inter
module_singleton_impl::atentry_work()
[with C = boost::interprocess::ipcdetail::windows_bootstamp; bool LazyInit = tr
ue; bool Phoenix = true; ThreadSafeGlobalMap = boost::interprocess::ipcdetail::i
ntermodule_singleton_helpers::windows_semaphore_based_map]'
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:326:26: required from 'static C& boost::interprocess::ipcdetail::intermod
ule_singleton_impl::get() [with C = b
oost::interprocess::ipcdetail::windows_bootstamp; bool LazyInit = true; bool Pho
enix = true; ThreadSafeGlobalMap = boost::interprocess::ipcdetail::intermodule_s
ingleton_helpers::windows_semaphore_based_map]'
..\..\..\..\..\deps\boost/boost/interprocess/detail/tmp_dir_helpers.hpp:45:97:
required from here
..\..\..\..\..\deps\boost/boost/interprocess/detail/intermodule_singleton_common
.hpp:205:93: warning: dereferencing type-punned pointer will break strict-aliasi
ng rules [-Wstrict-aliasing]
return *static_cast(static_cast(&mem_holde
r.map_mem[0]));
^
In file included from ..\..\..\..\..\deps\boost/boost/system/system_error.hpp:14
:0,
from ..\..\..\..\..\deps\boost/boost/thread/exceptions.hpp:22,
from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_primit
ives.hpp:16,
from ..\..\..\..\..\deps\boost/boost/thread/win32/thread_data.h
pp:11,
from ..\..\..\..\..\deps\boost/boost/thread/thread_only.hpp:15,
from ..\..\..\..\..\deps\boost/boost/thread/thread.hpp:12,
from ..\..\..\..\..\deps\boost/boost/thread.hpp:13,
from src/util.h:22,
from src/bignum.h:13,
from src/main.h:9,
from src/wallet.h:9,
from src/init.h:9,
from src\qt\bitcoin.cpp:11:
..\..\..\..\..\deps\boost/boost/system/error_code.hpp: At global scope:
..\..\..\..\..\deps\boost/boost/system/error_code.hpp:222:36: warning: 'boost::s
ystem::posix_category' defined but not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
..\..\..\..\..\deps\boost/boost/system/error_code.hpp:223:36: warning: 'boost::s
ystem::errno_ecat' defined but not used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
..\..\..\..\..\deps\boost/boost/system/error_code.hpp:224:36: warning: 'boost::s
ystem::native_ecat' defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
Makefile.Release:10542: recipe for target 'build/bitcoin.o' failed
mingw32-make: *** [build/bitcoin.o] Error 1
c:\Users\XXX>