Bitcoin Forum
June 01, 2024, 04:36:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: REWARD: Building QT on windows  (Read 924 times)
Bram (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
January 06, 2014, 02:05:14 PM
 #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?
hope ang
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 06, 2014, 02:24:17 PM
 #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://bitcointalk.org/index.php?topic=149479.0

my wallet:17wH89K5k55zkV94KQxH6z3WFLeDGv7BvX
RoxxR
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
January 06, 2014, 02:26:32 PM
 #3

Just append -D__NO_SYSTEM_INCLUDES at the DEFS= in makefile.mingw

if it works: 1BonusDf776X1LKyDAd5mnFBfu7uNr4Qr7 Smiley
Bram (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
January 06, 2014, 02:33:18 PM
 #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://bitcointalk.org/index.php?topic=149479.0

my wallet:17wH89K5k55zkV94KQxH6z3WFLeDGv7BvX


I have all ready tried that. No luck.
Bram (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
January 06, 2014, 02:56:06 PM
 #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.
RoxxR
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
January 06, 2014, 06: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?
Apocalipsis
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
January 06, 2014, 07: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
fusion7
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
January 12, 2014, 06: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
embicoin
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
February 27, 2014, 02:28:53 AM
 #9

Reward still open?

If you want to support my contributions to the crypto space with some caffeine or a beer in form of satoshis: BTC 17z1x4gr1GsjM7Tgh5qYamDNrAx3LvrpTa Wink Thank you very much!!!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!