igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] igraph compilation with Cygwin


From: Gábor Csárdi
Subject: Re: [igraph] igraph compilation with Cygwin
Date: Thu, 13 Aug 2009 12:33:47 +0200

On Thu, Aug 13, 2009 at 12:17 PM, Josep Bau<address@hidden> wrote:
> Hi,
> I tried the line suggested by Tama specifying the linking at the end but I
> got an endless list of 'undefined reference to'.

It is hard to tell without seeing it, but maybe you need to link to
libc and/or libm explicitly. I.e. supply -lc and -lm in the command
line.

Gabor

> The dll I was referring to is the one that comes with the compiled R package
> (just to try)
>
>
> 2009/8/13 Gábor Csárdi <address@hidden>
>>
>> On Thu, Aug 13, 2009 at 11:52 AM, Josep Bau<address@hidden> wrote:
>> > Hi,
>> > Different order does not work either.
>> > BTW, I did not get a dll file but a 'libigraph.a' and 'libigraph.la'.
>>
>> Oh, you just built the static library, that is also fine, but then as
>> Tamas said you need specify it at the command line.
>>
>> > I copied the 'igraph.dll' to ./src but did not work either.
>>
>> Hmmm, what DLL file if you didn't build one?
>>
>> Anyway, Tamas's suggestion should work, I missed that linking to the
>> igraph library was not specified at the command line.
>>
>> G.
>>
>> [...]
>>
>> --
>> Gabor Csardi <address@hidden>     UNIL DGM
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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