Bitcoin Forum
April 26, 2024, 07:06:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Building master on Visual Studio (MSVC)  (Read 2838 times)
ENikS (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 08, 2014, 03:59:29 PM
 #1

I've created new project which includes bitcoin and all of the dependencies as sub-modules and produces x86 and x64 builds for the BitcoinD.
It builds bitcoin master and masters of all the dependencies without any modifications so unless you want to contribute to the development there are no need to fork it.

Unit tests are executed by running UnitTests project. Some tests are failing at the moment, I am trying to identify if this is the build or the BTC code...
Still work in progress so it is not as stable as official distribution but it was never my intention to replace it anyway.

I did not port QT related code because I am planning to create native dll or perhaps even create managed/unmanaged gateway which could be used by languages like C# directly.


Big thanks to Claire DuSoleil and bc4-old-c-coder for their previous efforts which helped to understand few things.

GitHub: https://github.com/ENikS/bitcoin-dev-msvc
1714158369
Hero Member
*
Offline Offline

Posts: 1714158369

View Profile Personal Message (Offline)

Ignore
1714158369
Reply with quote  #2

1714158369
Report to moderator
1714158369
Hero Member
*
Offline Offline

Posts: 1714158369

View Profile Personal Message (Offline)

Ignore
1714158369
Reply with quote  #2

1714158369
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714158369
Hero Member
*
Offline Offline

Posts: 1714158369

View Profile Personal Message (Offline)

Ignore
1714158369
Reply with quote  #2

1714158369
Report to moderator
1714158369
Hero Member
*
Offline Offline

Posts: 1714158369

View Profile Personal Message (Offline)

Ignore
1714158369
Reply with quote  #2

1714158369
Report to moderator
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
September 08, 2014, 10:59:57 PM
 #2

Very cool.  Might setup a build server for this.

"Ready to ... well, still workign on few bits and peaces."

Should read

"Ready to ... well, still working on few bits and pieces."

ENikS (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 10, 2014, 02:48:13 AM
 #3

Thx, spelling is my curse.
ENikS (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 20, 2014, 12:05:34 AM
 #4

Finally fished out all the unresolved externals in test files. Now all tests, except one, are building and ready to test.
by321
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
September 23, 2014, 05:23:38 AM
 #5

This is not easy, well done !
mtomcdev
Sr. Member
****
Offline Offline

Activity: 310
Merit: 250


View Profile
September 23, 2014, 11:14:26 AM
 #6

Great, thanks for sharing this!
ENikS (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
September 24, 2014, 03:26:56 AM
 #7

After this pull request goes through all of the unit tests should run.

https://github.com/bitcoin/bitcoin/pull/4970  (This part of it: https://github.com/theuni/bitcoin/commit/eb5c80763246cae7733ff5c0440424dc6cf9beed)

Once it is done it would be time to give bitcoind a spin Smiley
ENikS (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
October 22, 2014, 11:26:00 PM
 #8

The latest core builds and runs. Will be working on UI version now.
naplam
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Coin Developer - CrunchPool.com operator


View Profile WWW
November 05, 2014, 11:08:18 AM
 #9


Nice.. which dependencies are you compiling on msvc and which on mingw?

ENikS (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
November 05, 2014, 05:43:50 PM
 #10

Everything is compiled on MSVC, mingw is not required.
old c coder
Sr. Member
****
Offline Offline

Activity: 260
Merit: 250



View Profile WWW
January 23, 2016, 03:27:14 AM
 #11

Everything is compiled on MSVC, mingw is not required.
Hello ENikS,

Have you seen my videos?  At
https://www.youtube.com/channel/UCytoaHvG3H1y9CnxZS819eQ

Ron


LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf 
The day is coming when a single carrot, freshly observed, will set off a revolution.  Paul Cezanne
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!