Official repository for CAPD::DynSys library.
CAPD main webpage: http://capd.ii.uj.edu.pl
Full documentation: http://capd.ii.uj.edu.pl/html/
https://sourceforge.net/projects/capd/files/
Please check system requirements
http://capd.ii.uj.edu.pl/html/capd_requirements.html
Clone the repository:
git clone https://github.com/CAPDGroup/CAPD
Enter the repository, create the build folder, configure the library and then build:
cd CAPD
mkdir build
cd build
cmake ..
make
The above commands will build only the library (without tests or examples).
Options that can be passed to cmake:
-DCAPD_ENABLE_MULTIPRECISION=ON- enable multiprecision support,-DCAPD_BUILD_ALL=ON- include tests and example programs into build,-DCAPD_BUILD_EXAMPLES=ON- include example programs into build. In order to build and launch tests, look into section "Building and executing tests".
For detailed decription on how to build the library see
http://capd.ii.uj.edu.pl/html/capd_compilation.html
We recommend to use
capd-config --cflags --libs
script, which is located in build/bin directory after successful build of the library. One-file user programs can be built by
g++ main.cpp `<path>capd-config --cflags --libs` -o main
where <path> is a path to capd-config script. For multifile projects we recommend to use makefile (in capdMake/examples/projectStarter one can find such makefile template). For details see
http://capd.ii.uj.edu.pl/html/user_programs.html
In order to build and execute tests, it necessary to run cmake command with option -DCAPD_BUILD_TESTS=ON, then build the tests and execute them with commands:
cmake .. -DCAPD_BUILD_TESTS=ON
make
make testwhen in CAPD/build directory.
This step is optional. In order to install the library simply call
make install
when in CAPD/build folder. You can specify the directory where the library should be installed with option CMAKE_INSTALL_PREFIX that must be set when calling cmake command. For Linux users: it might be necessary to use sudo make install instead of make install if you specify the installation directory that requires super user access rights.