Download a ZIP
Here’s a downloadable link to version 2.3.1 of full RAPID-MIX API repository:
http://gitlab.doc.gold.ac.uk/rapid-mix/RAPID-MIX_API/repository/2.3.1/archive.zip
This archive is updated with major, stable versions. For the most current code, use GIT. Older versions are archived here.
Installing with GIT
clone the repository
1 |
git clone http://gitlab.doc.gold.ac.uk/rapid-mix/RAPID-MIX_API.git |
install and update dependancies
Navigate your main repository directory and type the following command:
1 |
git submodule update --init --recursive |
This pulls the following RAPID-MIX dependancies:
- RapidLib
- XMM
- PiPo
- GVF
- RepoVizz2 Client (NB: this has its own dependancies. See instructions here).
Building with CMake
Navigate to /RAPID-MIX_API and run the shell script: ./rmix_build_test.sh
Or, run this in a terminal:
1 2 3 4 |
mkdir build cd build cmake .. make |
This builds a dynamic library called libRAPID-MIX_API, a test app called rapidmixTest, and the helloRapidMix example. The source for the test app is in tests/rapidmixTest.cpp.
CMake can also build IDE projects. To do this for XCode:
1 2 3 |
mkdir xcode_build cd xcode_build cmake .. -G Xcode |
This can work for any of the CMake generators.
Third party libraries
The RAPID-MIX API depends on jsoncpp for JSON file I/O, SVM is implemented using LIBSVM, and the units tests rely on the Catch testing framework.
These libraries are distributed with this software.