Clone this wiki locally
Welcome to the Cashlib wiki!
Cashlib does not require any installation but has some dependencies. If those are not installed properly, the "make" command will give errors. Therefore, you should first install the following:
i) Open SSL development library
ii) Boost development libraries
iii) GNU Multi-Precision Arithmetic Library (GMP)
iv) ANTLR development library
Install the following packages using Synaptic Package Manager with any extra dependencies accepted during installation. No configuration will be necessary.
The exact library package names might contain version numbers, and hence may differ slightly from what is provided above. Alternatively, you may install libboost-all instead of parts.
Default Pardus 2011 install does not come with even basic packages needed. Therefore, use the Pisi Package Manager to install the following packages:
If you cannot find any of these packages, add this repository in the settings: http://pakete.pardususer.de/pardus-2011/x86_64/pisi-index.xml.xz
###MAC OS X LION INSTALL###
Install Xcode using the Mac App Store
Install MacPorts from http://www.macports.org/
Open up a Terminal and run the following commands:
sudo port install pkgconfig
sudo port install openssl
sudo port install boost
sudo port install gmp
sudo port install antlr
Once all these dependencies are installed, you need to download Cashlib from github using the following command:
git clone git://github.com/brownie/cashlib.git
Then, change the directory to cashlib/src and run
Hopefully, you will get no errors. Now you can use the
command to run some test scripts on cashlib, and obtain performance measurements.
- I receive a compiler error regarding boost libraries
Newer boost libraries do not use the "-mt" suffix for multithreading support. Edit the makefile, and remove all "-mt" suffixes.