Reccomendations for Darkcoin Dev. Tools

souptacular

Member
Foundation Member
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!
 
I generally run Windows 7, but am familiar running Unix Operating Systems. I have a VM that is running a fresh Ubuntu install I can use if needed.
 
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.
 
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 :smile:

PS: HowTo with some additional screenshots created:
http://wiki.darkcoin.qa/pages/viewpage.action?pageId=2097329
 
Last edited by a moderator:
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 :smile:

PS: HowTo with some additional screenshots created:
http://wiki.darkcoin.qa/pages/viewpage.action?pageId=2097329
sume this should work under windows too?
 
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 :smile:). Could you please re-upload them?
 
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.
 
Back
Top