On 04/14/2018 12:34 AM, Arman Mohseni Kabir wrote:
> I use this command to run the code:
>
> g++ -std=c++11 -I./home/arman/ogdf/include -pthread -lm demo.cpp
> -LOGDF -LCOIN -DNDEBUG
There are several problems with that invocation.
First, I guess the correct path for your includes is
/home/arman/ogdf/include
and not
./home/arman/ogdf/include
Second, it is -lOGDF -lCOIN, not -LOGDF -LCOIN.
However, with -L you have to specify the paths where the OGDF and
COIN object files are located (e.g., -L/home/arman/ogdf/ if you have
not used an out-of-source build).
I urge you to look at the documentation in doc/build.md
Thanks
Stephan