Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Bram on January 06, 2014, 02:05:14 PM



Title: REWARD: Building QT on windows
Post by: Bram on January 06, 2014, 02:05:14 PM
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?


Title: Re: REWARD: Building QT on windows
Post by: hope ang on January 06, 2014, 02:24:17 PM
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://bitcointalk.org/index.php?topic=149479.0

my wallet:17wH89K5k55zkV94KQxH6z3WFLeDGv7BvX


Title: Re: REWARD: Building QT on windows
Post by: RoxxR on January 06, 2014, 02:26:32 PM
Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 :)


Title: Re: REWARD: Building QT on windows
Post by: Bram on January 06, 2014, 02:33:18 PM
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://bitcointalk.org/index.php?topic=149479.0

my wallet:17wH89K5k55zkV94KQxH6z3WFLeDGv7BvX


I have all ready tried that. No luck.


Title: Re: REWARD: Building QT on windows
Post by: Bram on January 06, 2014, 02:56:06 PM
Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 :)

I have that in the make file.


Title: Re: REWARD: Building QT on windows
Post by: RoxxR on January 06, 2014, 06:55:25 PM
Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 :)

I have that in the make file.

Can you post the contents of that file so we can help?


Title: Re: REWARD: Building QT on windows
Post by: Apocalipsis on January 06, 2014, 07:13:33 PM
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


Title: Re: REWARD: Building QT on windows
Post by: fusion7 on January 12, 2014, 06:27:15 AM
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 (https://github.com/laanwj/bitcoin/commit/61d85071405b99c3734606eed31ea8f615c0c77a)

src/util.cpp  and src/util.h

13G3U4vXLGYYomw29yfV7Uj6xpWLd52RoR

Thanks  :)


Title: Re: REWARD: Building QT on windows
Post by: embicoin on February 27, 2014, 02:28:53 AM
Reward still open?