http://www.cs.uleth.ca/~rice/cudd.html has an example makefile (http://
www.cs.uleth.ca/~rice/CUDDcode/Makefile) modified to link to the CUDD
libraries.
The library lines need to be added to the ATPG build line;
-L$(DIR)/cudd -L$(DIR)/mtr -L$(DIR)/st -L$(DIR)/util -L$(DIR)/epd -
lcudd -lmtr -lst -lutil -lepd
Also if you want to include cudd.h and until.h like #define <cudd.h>
you need to include the following flag to whichever file is including
cudd or util;
-I$(DIR)/include
Both assume you have DIR defined to the root of the CUDD directory.
Another issue people where having was building input.c when including
until.h. I think there are naming conflicts until.h introduces. If you
are having problems with this, I would recommend putting your CUDD
code in a seperate c file and include cudd.h and util.h into that
file. Then you only need to include a header to your newly created c
file in input.c.
Brendon
Michael
On Fri, Feb 19, 2010 at 2:01 AM, Adam Greenfield