This repository includes the CUDD (Colorado University Decision Diagram) library version 3.0.0. Follow these steps to compile and install it for use with the examples.
Ensure you have the following installed on your system:
make- A C/C++ compiler (
gcc/g++orclang/clang++)
On Ubuntu/Debian:
sudo apt-get update
sudo apt-get install build-essential-
Navigate to the CUDD directory:
cd cudd-3.0.0 -
Run
maketo build the library:make
Note: If you prefer to use
clang, you can run:make CXX=clang++ GCC=clang
-
Verification: After the build completes, check that the library file
libcudd.ahas been created in thelibdirectory:ls lib/libcudd.a
The one_arm and two_arm examples in this repository are configured to link against this locally built CUDD library. You do not need to install it to your system directories (like /usr/local/lib).