Hi, I'm working on a project dealing with Binary-Decision-Diagram(BDD) using CUDD, which is a package for BDD manipulation.
The header files included in my main.cpp are:
1 2 3 4 5
|
#include <bits/stdc++.h>
#include "cuddObj.hh"
#include "cudd.h"
#include "util.h"
#include "cuddInt.h"
| |
They are all defined in the CUDD package file, which is in the same hierarchy with my .cpp file .
However, when I'm compiling the .cpp file in the linux server, I get a bunch of errors like:
lab3.cpp:(.text+0x134) : undefined reference to `DD::NodeReadIndex() const'
lab3.cpp:(.text+0x178) : undefined reference to `DD::getNode() const'
lab3.cpp:(.text+0x1ca) : undefined reference to `Cudd::bddOne() const'
...
|
But all of the unreferenced functions or objects are in the CUDD package file.
How should I solve this problem?
It's in a hurry! Thx in advance.
Btw, CUDD package is also in Github, here's the link :
https://github.com/ivmai/cudd