[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] compiling igraph C under linux
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] compiling igraph C under linux |
Date: |
Thu, 17 Nov 2011 16:48:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Hi,
> I am compiling a small sample igraph program as follows and getting
> the following error:
>
> $ g++ -I/usr/include/igraph igraphTest.cc
You should link to the igraph library as follows:
g++ -I/usr/include/igraph igraphTest.cc -ligraph
Best,
Tamas