igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] [slightly OT] statically linked executable


From: Marco
Subject: Re: [igraph] [slightly OT] statically linked executable
Date: Mon, 16 May 2011 13:49:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110506 Icedove/3.0.11

On 05/16/2011 01:26 PM, Tamas Nepusz wrote:
I am not compiling with -L, will try and let you know.
Most likely you don't need it if igraph is installed in some standard place.
If not, then make sure it points to the directory with libigraph.a.


Tamas,
thanks for the info, but it's not working.

If I compile with

gcc -ligraph trees.c -lm -o trees -L/usr/local/lib/ -I/usr/local/include/igraph -Wall -static

(/usr/local/lib/ is where libigraph.a libigraph.la libigraph.so libigraph.so.0 libigraph.so.0.0.0 are)

it is the same... a lot of errors of undefined references to igraph functions.

Thanks anyway, I'll try to fix this, but if you have ideas, please do not hesitate in throwing them my way.

Thanks,

marco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]