Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: CaptChadd on March 03, 2013, 04:46:01 PM



Title: Building Bitcoin-QT With Source Using Windows 7
Post by: CaptChadd on March 03, 2013, 04:46:01 PM
Hi everyone,

I have the source files for Bitcoin and I would like to build my own Bitcoin-qt.

I have tried to do this many times but I have failed.

Can anyone give me a basic guide of what to do and how to get it to build?

Thanks


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: grue on March 03, 2013, 05:12:51 PM
https://github.com/bitcoin/bitcoin/blob/master/doc/build-msw.txt


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: CaptChadd on March 03, 2013, 09:46:07 PM
Thank you so much, I will give this a go.

I love to learn and try new things.


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: CaptChadd on March 04, 2013, 11:14:45 PM
Hi there,

I know that you are all busy and might get this asked a lot but I am trying to but build the Bitcoin-qt under Windows 7.

I have installed QT Creator 5.0.1 and have the Bitcoin master source file.

I have loaded in the .pro file but the build gives errors.

I am just wondering what the next steps are to build the Bitcoin-qt?

I get errors like libleveldb.a cannot be located and such.

I am guessing that I am missing some dependencies or have items in the wrong directories possibly?

I you could just guide me through the next steps so I can successfully build a working Bitcoin-qt client then

I can move on from there and help the community so much more.

I really hope that anyone can help.

Many thanks


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: Evolvex on March 05, 2013, 12:05:11 AM
Oooh gonna give this a go myself I think at somepoint - hope you get it sorted, I seem to think building from source might be easier on linux (even if you dont know linux.....)


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: wiggi on March 06, 2013, 07:31:10 PM
https://github.com/bitcoin/bitcoin/blob/master/doc/build-msw.txt
->"Note: releases are cross-compiled using mingw running on Linux."

in other words, it's probably hopeless for the newer versions.


I'm currently trying to get past the mandatory ssl support in 0.6.1.
Up to 0.6.0, once you have boost, it's easy,
with all the fancy stuff like ssl, qrcode and upnp disabled of course.

Btw, this guide rocks: http://www.rodneybeede.com/Boost_C___libraries_on_Windows_with_MinGW.html


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: CaptChadd on March 07, 2013, 05:36:10 PM
I have looked into this more and it looks like it is better to compile it in Linux using Ubuntu and build a Windows binary that way.


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: old c coder on May 15, 2013, 12:53:43 PM
I have looked into this more and it looks like it is better to compile it in Linux using Ubuntu and build a Windows binary that way.

Why, might I ask?

Ron


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: old c coder on May 23, 2013, 01:06:15 PM
Hi everyone,

I have the source files for Bitcoin and I would like to build my own Bitcoin-qt.

I have tried to do this many times but I have failed.

Can anyone give me a basic guide of what to do and how to get it to build?

Thanks

Hello,

See https://bitcointalk.org/index.php?topic=149479.msg2177060#msg2177060 or the whole thread. It has been done. Don't give up hope! If I can do it, anyone can.

Ron

Of that which you see, believe only a little. Of that which you are told, nothing.
Spanish proverb


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: TheLittleDuke on August 18, 2014, 07:48:37 PM
Checking in to see what the current best practice is?

Is it worth doing builds on Windows 7/8 with Mingw or do the cross-compile from Unbuntu Linux environment?


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: MUSCLEGIRLS on August 19, 2014, 02:45:46 AM
It's a huge pain in the ass. There are good guides available though.


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: TheLittleDuke on August 19, 2014, 03:25:55 AM
It's a huge pain in the ass. There are good guides available though.

Which is the lesser of two evils? 

1. Try and build natively on a Win-7? 
2. Build via cross-compile under Ubuntu Linux?

Both sound about the same, with the Linux route actually sounding less painful (I'm a unix/freebsd/mac osx/linux guy at heart)

-dvd


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: georgem on September 21, 2014, 03:13:01 AM
It's a huge pain in the ass. There are good guides available though.

Which is the lesser of two evils? 

1. Try and build natively on a Win-7? 
2. Build via cross-compile under Ubuntu Linux?

Both sound about the same, with the Linux route actually sounding less painful (I'm a unix/freebsd/mac osx/linux guy at heart)

-dvd

This is important for me to know too.

Have you found out what is the lesser of two evils?

What would you recommend?
I would prefer doing it in Win-7. But have not managed yet.


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: TheLittleDuke on September 21, 2014, 05:24:04 AM
It's a huge pain in the ass. There are good guides available though.

Which is the lesser of two evils? 

1. Try and build natively on a Win-7? 
2. Build via cross-compile under Ubuntu Linux?

Both sound about the same, with the Linux route actually sounding less painful (I'm a unix/freebsd/mac osx/linux guy at heart)

-dvd

This is important for me to know too.

Have you found out what is the lesser of two evils?

What would you recommend?
I would prefer doing it in Win-7. But have not managed yet.

I ended up going the native windows route with MinGW it was surprisingly easy to get working.

-dvd


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: georgem on September 21, 2014, 05:25:31 AM
It's a huge pain in the ass. There are good guides available though.

Which is the lesser of two evils? 

1. Try and build natively on a Win-7? 
2. Build via cross-compile under Ubuntu Linux?

Both sound about the same, with the Linux route actually sounding less painful (I'm a unix/freebsd/mac osx/linux guy at heart)

-dvd

This is important for me to know too.

Have you found out what is the lesser of two evils?

What would you recommend?
I would prefer doing it in Win-7. But have not managed yet.

I ended up going the native windows route with MinGW it was surprisingly easy to get working.

-dvd

I am working thru it as we speak, I use the very helpful thread here: https://bitcointalk.org/index.php?topic=149479.0


Title: Re: Building Bitcoin-QT With Source Using Windows 7
Post by: TheLittleDuke on September 21, 2014, 12:30:58 PM

I ended up going the native windows route with MinGW it was surprisingly easy to get working.

-dvd

I am working thru it as we speak, I use the very helpful thread here: https://bitcointalk.org/index.php?topic=149479.0


+1 -- that's the exact same resource I used -- good stuff

-dvd