Giter Club home page Giter Club logo

hdac's Introduction

Hdac Core

Hdac is licensed under the GPLv3 open source license. We also offer commercial licenses for those wishing to integrate Hdac into a proprietary software solution.

Copyright (c) 2017 Hdac Technology AG
License: GNU General Public License version 3, see COPYING

Portions copyright (c) 2009-2016 The Bitcoin Core developers
Portions copyright many others - see individual files

Portions copyright (c) 2014-2017 Coin Sciences Ltd
Portions copyright many others - see individual files

System requirements

C++ compilers are memory-hungry, 
so it is recommended to have at least 1 GB of memory available when compiling Hdac.

Linux BUILD ( on Ubuntu 16.04 x64 )

  1. Install dependencies
sudo apt-get update
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudo apt-get install libboost-all-dev
sudo apt-get install git
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
  1. Compile Hdac for Ubuntu (64-bit)
./build.sh
  1. If you are having trouble compiling, please try below
./clean.sh
./autogen.sh
./configure
make
  1. run

This will build hdacd, hdac-cli and hdac-util in the src directory.

The release is built with GCC after which strip hdacd strings the debug symbols, which reduces the executable size by about 90%.

  1. Clean build
./clean.sh

BUILD for Windows 7 or 10 ( on Ubuntu 16.04 )

  1. Install dependencies
sudo apt-get update
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev g++-mingw-w64-x86-64 mingw-w64-x86-64-dev curl
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo apt-get install git
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
  1. Compile Hdac for Windows (64-bit)
./win_build.sh    
  1. If you are having trouble compiling, please try below
./clean.sh
./autogen.sh
cd depends
make HOST=x86_64-w64-mingw32 -j4
cd ..
./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 --enable-cxx --disable-shared --enable-static --with-pic
make
  1. run

This will build hdacd.exe, hdac-cli.exe and hdac-util.exe in the src directory.

Linux BUILD ( on CentOS 7 x86_64 )

  1. Install dependencies
 yum groupinstall "Development Tools"
 yum install wget
  1. Compile Hdac for CentOS 7 (64-bit)
./build.sh
  1. run

This will build hdacd, hdac-cli and hdac-util in the src directory.

  1. Clean build
./clean.sh

BUILD for Windows 7 or 10 (on CentOS 7 )

  1. Install dependencies
 yum groupinstall "Development Tools"
 yum install wget
 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
 yum install mingw64-*
  1. Compile Hdac for Windows
./win_build.sh     
  1. run

This will build hdacd.exe, hdac-cli.exe and hdac-util.exe in the src directory.

Mac Build Notes (on MacOS Sierra)

  1. Install dependencies
Install XCode and XCode command line tools
Install git from git-scm
Install brew (follow instructions on brew.sh)
brew install autoconf automake berkeley-db4 libtool boost openssl pkg-config rename
  1. Compile Hdac for Mac (64-bit)
./mac_build.sh
  1. If you are having trouble compiling, please try below
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
./autogen.sh
./configure --with-gui=no --with-libs=no --with-miniupnpc=no
make
  1. run

This will build hdacd, hdac-cli and hdac-util in the src directory.

Running Core Daemon

/doc/RUN.md contains relevant infomation on How to run Hdac on your native platform. ( Linux, windows, Mac OS )

hdac's People

Contributors

smlee-hdactech avatar rachoa avatar hdactech avatar sobae avatar sebastianbassen avatar namynez avatar nakjinkim avatar verdure0448 avatar evergreenmt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.