Reccomendations for Darkcoin Dev. Tools

souptacular

Well-known Member
Foundation Member
Jun 7, 2014
62
73
158
TX
www.hudsonjameson.com
Hey everyone,

Sorry if this question has been posted in elsewhere, but I am wondering what software I should use to explore/test/build Darkcoin source code. I normally code in Java and use Eclipse IDE for that, but am completely unfamiliar with the set-up and tools to code/test C++ and QT code. I may do some Darkcoin related coding projects in the future (mainly exploring multi-sig possibilities) and want to know the preferred way to set up a Darkcoin code/test environment. Thanks!
 
  • Like
Reactions: fernando and moli

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
I'm not using an IDE at all, because the text editors of IDEs usually suck, but Qt Creator is a pretty decent IDE if you like it, and easy to get started with Qt.

I use sublime text 3 for editing and gdb for debugging.
 
  • Like
Reactions: fernando

crowning

Well-known Member
May 29, 2014
1,414
1,997
183
Alpha Centauri Bc
for c++ you can also use Eclipse CDT, but integrating the project and dependencies into eclipse is probably not that easy without precise knowledge of all needed librarys
I used a 2-step approach under Ubuntu:

  1. Install the libraries needed to build Darkcoin by hand.
    They are listed in doc/build-unix.md (darkcoind) and doc/readme-qt.rst (darkcoin-qt)
  2. Install Eclipse for C++, then
    - sync repository with git (go to Window->Open Perspective and select "Git") and sync with https://github.com/darkcoin/darkcoin.git
    - create new project (go to File->New->Other and select "Makefile Project with Existing Code" and select the downloaded git-repository folder from above as source)
    - build everything with Project->Build Project
    - create a run configuration (go to Run->Run Configurations, select the created binary (e.g. darkcoin-qt), enter optional arguments (like -datadir=/home/darkuser/.darkcoin/testnet) and run your wallet from there.
Works as designed :)

PS: HowTo with some additional screenshots created:
http://wiki.darkcoin.qa/pages/viewpage.action?pageId=2097329
 
Last edited by a moderator:

acidburn

Active Member
May 26, 2014
467
175
113
I pre
I used a 2-step approach under Ubuntu:

  1. Install the libraries needed to build Darkcoin by hand.
    They are listed in doc/build-unix.md (darkcoind) and doc/readme-qt.rst (darkcoin-qt)
  2. Install Eclipse for C++, then
    - sync repository with git (go to Window->Open Perspective and select "Git") and sync with https://github.com/darkcoin/darkcoin.git
    - create new project (go to File->New->Other and select "Makefile Project with Existing Code" and select the downloaded git-repository folder from above as source)
    - build everything with Project->Build Project
    - create a run configuration (go to Run->Run Configurations, select the created binary (e.g. darkcoin-qt), enter optional arguments (like -datadir=/home/darkuser/.darkcoin/testnet) and run your wallet from there.
Works as designed :)

PS: HowTo with some additional screenshots created:
http://wiki.darkcoin.qa/pages/viewpage.action?pageId=2097329
sume this should work under windows too?
 

crowning

Well-known Member
May 29, 2014
1,414
1,997
183
Alpha Centauri Bc
I pre

sume this should work under windows too?
Most probably not. You _can_ build everything with MinGW, but you won't be able to integrate MinGW into a Windows-native Eclipse.
Maybe it's possible to run a Linux Eclipse directly under MinGW, but I've never tried that.

If you need Windows binaries the best way is to use flare's HowTo here: http://wiki.darkcoin.qa/pages/viewpage.action?pageId=1015935

flare : your attachments are not there anymore (even before I cleaned up the folders, so don't blame me :)). Could you please re-upload them?
 

fernando

Powered by Dash
Dash Core Team
Moderator
Foundation Member
May 9, 2014
1,527
2,058
283
If you make any multisig experiment, please post about it, I'm super interested. I can't code, but I have been playing a lot with them lately.