Author

Topic: REWARD: Building QT on windows (Read 956 times)

sr. member
Activity: 249
Merit: 250
February 26, 2014, 09:28:53 PM
#9
Reward still open?
newbie
Activity: 34
Merit: 0
January 12, 2014, 01:27:15 AM
#8
Hi

It's a compile issue on mingw.
Remove pthread_t definition and replace it with diffs in this commit.
https://github.com/laanwj/bitcoin/commit/61d85071405b99c3734606eed31ea8f615c0c77a

src/util.cpp  and src/util.h

13G3U4vXLGYYomw29yfV7Uj6xpWLd52RoR

Thanks  Smiley
full member
Activity: 147
Merit: 100
January 06, 2014, 02:13:33 PM
#7
I am trying to build the LiteCoin (or any other scrypt) QT on windows and am stumped.
I can build Bitcoin-QT  and it works fine.
When I try to build the other coin, I the following error:

Code:
src/util.h: At global scope:
src/util.h:555:16: error: conflicting declaration 'typedef void* pthread_t'
 typedef HANDLE pthread_t;

I have tried QT 4.8.5, 5.2 but the same issue on with Both.

I am offering .2 BTC REWARD to resolve this issue and build the QT wallet of LTC on windows 7.

Anyone?

answered in pm
full member
Activity: 209
Merit: 148
January 06, 2014, 01:55:25 PM
#6
Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 Smiley

I have that in the make file.

Can you post the contents of that file so we can help?
newbie
Activity: 41
Merit: 0
January 06, 2014, 09:56:06 AM
#5
Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 Smiley

I have that in the make file.
newbie
Activity: 41
Merit: 0
January 06, 2014, 09:33:18 AM
#4
HI,
replace build_unix/db.h  under db folder

Code:
typedef pthread_t db_threadid_t;
with
Code:
typedef u_int32_t db_threadid_t;

according to this post:https://bitcointalksearch.org/topic/building-headless-bitcoin-and-bitcoin-qt-on-windows-149479

my wallet:17wH89K5k55zkV94KQxH6z3WFLeDGv7BvX


I have all ready tried that. No luck.
full member
Activity: 209
Merit: 148
January 06, 2014, 09:26:32 AM
#3
Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 Smiley
newbie
Activity: 1
Merit: 0
January 06, 2014, 09:24:17 AM
#2
HI,
replace build_unix/db.h  under db folder

Code:
typedef pthread_t db_threadid_t;
with
Code:
typedef u_int32_t db_threadid_t;

according to this post:https://bitcointalksearch.org/topic/building-headless-bitcoin-and-bitcoin-qt-on-windows-149479

my wallet:17wH89K5k55zkV94KQxH6z3WFLeDGv7BvX
newbie
Activity: 41
Merit: 0
January 06, 2014, 09:05:14 AM
#1
I am trying to build the LiteCoin (or any other scrypt) QT on windows and am stumped.
I can build Bitcoin-QT  and it works fine.
When I try to build the other coin, I the following error:

Code:
src/util.h: At global scope:
src/util.h:555:16: error: conflicting declaration 'typedef void* pthread_t'
 typedef HANDLE pthread_t;

I have tried QT 4.8.5, 5.2 but the same issue on with Both.

I am offering .2 BTC REWARD to resolve this issue and build the QT wallet of LTC on windows 7.

Anyone?
Jump to: