-
Notifications
You must be signed in to change notification settings - Fork 13
1. Dependencies
Our software is meant to run on UNIX-like systems. If you want to run our software on Windows, we strongly recommend you to use the Cygwin DLL. Further instructions about how to install and use Cygwin can be found here.
We need some developer tools to use Cadmium 2. After installing Cygwin, open a Windows terminal (type cmd on your Windows search) and insert the following commands:
cd c:\\cygwin64
setup-x86_64.exe -q -P chere -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel -P git -P cmakeOpen a terminal and insert the following command:
xcode-select –installA software update popup window will appear asking for permission to install the command line developer tools. Click “Install” to download them and agree to the Terms of Service (after reading them, of course).
Open a terminal and insert the following commands:
sudo apt update
sudo apt install build-essential make cmake gitWe assume that you are using the Ubuntu distro of Linux. If you use another distro (e.g., Debian or CentOS), you may have to adapt the commands to the proper package manager (e.g., in CentOS you will use yum instead of apt).
If you want to develop or maintain the Cadmium 2 framework, you will need to develop good-quality tests to ensure that your changes do not break anything and that the new functionalities actually work. Tests are automatically executed on GitHub for new commits in the devel and main branches. We develop tests using the Boost.Test library. Boost is a set of useful libraries for C++ programs.
- Run Cygwin on your desktop, in administrator mode (right-click on the desktop icon and select the option “Run as administrator”; we can also use
c:\cygwin64and run the scriptcygwin.batin Administrator mode). The skeleton files will be created. - Type the following commands:
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
chere -i -t mintty -s bash
apt-cyg install libboost-develWe strongly recommend installing Boost using the Homebrew package manager. To do so, insert the following commands in a terminal:
/usr/bin/ruby –e “$(curl –fsSL https://raw.githubusercontent.com/Homebrew/install /master/install)”
brew install boostOpen a terminal and insert the following command:
sudo apt install libboost-all-devWe assume that you are using the Ubuntu distro of Linux. If you use another distro (e.g., Debian or CentOS), you may have to adapt the commands to the proper package manager (e.g., in CentOS you will use yum instead of apt).