Bitcoin Forum
April 26, 2024, 04:43:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compile a windows -qt or daemon  (Read 660 times)
smeagol (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1005



View Profile
December 12, 2013, 11:20:50 PM
 #1

How does one compile a coin from source on Windows?  It seems as if it can only be done easily on Linux.
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714149834
Hero Member
*
Offline Offline

Posts: 1714149834

View Profile Personal Message (Offline)

Ignore
1714149834
Reply with quote  #2

1714149834
Report to moderator
1714149834
Hero Member
*
Offline Offline

Posts: 1714149834

View Profile Personal Message (Offline)

Ignore
1714149834
Reply with quote  #2

1714149834
Report to moderator
Ditto
Sr. Member
****
Offline Offline

Activity: 330
Merit: 250


View Profile
December 12, 2013, 11:34:00 PM
 #2

How does one compile a coin from source on Windows?  It seems as if it can only be done easily on Linux.
Came here to ask that exact same question. Can some one help a couple of noobs out?
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
December 12, 2013, 11:37:59 PM
 #3

get the allin1 package codeblocks/mingw.  its all 1 download installer with the codeblocks IDE and the mingw C/CPP compiler
Ditto
Sr. Member
****
Offline Offline

Activity: 330
Merit: 250


View Profile
December 12, 2013, 11:43:31 PM
 #4

get the allin1 package codeblocks/mingw.  its all 1 download installer with the codeblocks IDE and the mingw C/CPP compiler
Thanks. But that's for the daemon not Qt, right?
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
December 12, 2013, 11:47:28 PM
 #5

get the allin1 package codeblocks/mingw.  its all 1 download installer with the codeblocks IDE and the mingw C/CPP compiler
Thanks. But that's for the daemon not Qt, right?

it should compile anything that you have the source code for, assuming the code was built for the compiler's architecture.
In other words, if the compiler is trying to spit out an .exe binary for windows, the source code must be for windows.
smeagol (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1005



View Profile
December 13, 2013, 11:29:05 PM
 #6

get the allin1 package codeblocks/mingw.  its all 1 download installer with the codeblocks IDE and the mingw C/CPP compiler
Thanks. But that's for the daemon not Qt, right?

it should compile anything that you have the source code for, assuming the code was built for the compiler's architecture.
In other words, if the compiler is trying to spit out an .exe binary for windows, the source code must be for windows.

Coins are made to be for Windows, mac, and Linux, so what would happen?
super3
Legendary
*
Offline Offline

Activity: 1094
Merit: 1006


View Profile WWW
December 13, 2013, 11:30:30 PM
 #7

There are some rough instructions in the Bitcoin source under /docs

Bitcoin Dev / Storj - Decentralized Cloud Storage. Winner of Texas Bitcoin Conference Hackathon 2014. / Peercoin Web Lead / Primecoin Web Lead / Armory Guide Author / "Am I the only one that trusts Dogecoin more than the Federal Reserve?"
smeagol (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1005



View Profile
December 13, 2013, 11:32:47 PM
 #8

There are some rough instructions in the Bitcoin source under /docs

Rough instructions, but not very detailed.

Is it good to compile on a VM?
super3
Legendary
*
Offline Offline

Activity: 1094
Merit: 1006


View Profile WWW
December 13, 2013, 11:36:47 PM
 #9

There are some rough instructions in the Bitcoin source under /docs

Rough instructions, but not very detailed.

Is it good to compile on a VM?
I recommend just following the many build instructions for Linux for all development and testing purposes. Its going to be a while till I get the time to re-write the windows docs.

Bitcoin Dev / Storj - Decentralized Cloud Storage. Winner of Texas Bitcoin Conference Hackathon 2014. / Peercoin Web Lead / Primecoin Web Lead / Armory Guide Author / "Am I the only one that trusts Dogecoin more than the Federal Reserve?"
peterlustig
Sr. Member
****
Offline Offline

Activity: 812
Merit: 250


The Fourth Generation of Blockchain in DeFi


View Profile
December 13, 2013, 11:39:29 PM
 #10

IIrc gitian is used for the bitcoin-qt client releases and i guess many altcoin devs use it too: http://sourceforge.net/projects/bitcoin/files/Bitcoin/GitianVBox/
https://bitcointalk.org/index.php?topic=42198.0




`````````▄▄▄▄▄▄▄
`````▄█████████████▄
```███████▀▀█▀▀███████
``████████``█``████████
`██████``````````▀██████
█████████```████```██████
█████████`````````███████
█████████```████▄``▀█████
█████████```████▀```█████
`██████```````````▄█████
``████████``█``████████
```███████▄▄█▄▄███████
`````▀█████████████▀
`````````▀▀▀▀▀▀▀

```````▄▄▄▄▄▄▄▄▄▄▄
```███████████████████
```````▀▀▀▀▀▀▀▀▀▀▀
DRK Defi






The Fourth Generation Of Blockchain
                             In Decentralized Finance






Draken Exchange
     DrakenX






Facebook
     Twitter








`````````▄▄▄▄▄▄▄
`````▄█████████████▄
```███████████████████
``█████████████████████
`████████████▀▀▀`````███
████████▀▀▀````▄█````████
████▀▀``````▄██▀````▄████
███▄▄`````███▀``````█████
███████``██`````````█████
`███████`▐`````````█████
``███████▐`████▄▄`▄████
```███████▄███████████
`````▀█████████████▀
`````````▀▀▀▀▀▀▀

```````▄▄▄▄▄▄▄▄▄▄▄
```███████████████████
```````▀▀▀▀▀▀▀▀▀▀▀

.Telegram.
Channel
Ditto
Sr. Member
****
Offline Offline

Activity: 330
Merit: 250


View Profile
December 13, 2013, 11:50:28 PM
 #11

There are some rough instructions in the Bitcoin source under /docs

Rough instructions, but not very detailed.

Is it good to compile on a VM?
I recommend just following the many build instructions for Linux for all development and testing purposes. Its going to be a while till I get the time to re-write the windows docs.
Yeah, building for Linux is pretty straightforward. It would still be nice to know how to build the Qt client on windows, though.
smeagol (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1005



View Profile
December 14, 2013, 01:51:54 AM
 #12

I'm looking for an up-to-date and detailed guide to building on windows, so I'll post on this thread if I find one
BrewCrewFan
Hero Member
*****
Offline Offline

Activity: 672
Merit: 501



View Profile
December 14, 2013, 02:10:27 AM
 #13

The one for BTC can be used but its very hard to do at first. Then if the code is changed a bit where it looks for a dependancy somewhere else than where you installed... ahhh good times. you get good after all the copy paste that used to happen .

Free SIGNs giving everyday. Be part, do not miss!.
SqMe5ceYfdcGsRyVpgvpYb6bRLS9j8omvB

XChat : Addy : XYuZESQpeMtZ2wit8nVVnXKGytfiaTBCo6 PubKey : eteshLzeq8Bh54BRjGSunMTc6Ytxtk7HYaSmDYMQn61z
Tranz
Legendary
*
Offline Offline

Activity: 1540
Merit: 1052


May the force bit with you.


View Profile
December 14, 2013, 02:10:35 AM
 #14

See here for up-to-date
https://bitcointalk.org/index.php?topic=149479.0

See Here for a bit older and a bit easier
https://github.com/Tranz5/HoboNickels/blob/master/doc/build-msw.txt

With great power comes great responsibility.

HBN: https://bitcointalk.org/index.php?topic=303749.0 hobonickels.info
Personal Donations: F1TranzWqFGZyFeTMu6iLbtTQgdXuJPsiL
Donations to the HBN Fund: EhbNfund4PrRFLHMxsnbGLhP25hizJGHEE or 1LVFtCX4a83dMLjd8S7imKKKC58QaG83kw
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!