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 11:14:18 +0200

Hi,

On Thu, Aug 13, 2009 at 11:06 AM, Josep Bau<address@hidden> wrote:
> Hi,
> Thanks a lot. I run the 'make' and 'make install' with no problems.
> Sorry to bother but I'm trying now to run the test file in the reference
> manual (erdos renyi game) but I get errors.
> I copied the libigraph.a file to the main directory that also contains
> igraph.h and igraph_test.c and typed this on cygwin:
>
> $ gcc igraph_test.c -I./src/ -L./src -o igraph_test

are you sure that the DLL file is in ./src? If it is really there then
try a different argument order, i.e. put 'igraph_test.c' at the end of
the command line.

Gabor

> I get this:
>
> /cygdrive/c/Users/Compaq/AppData/Local/Temp/ccOpNk3D.o:igraph_test.c:(.text+0x60
> ): undefined reference to `_igraph_erdos_renyi_game'
> /cygdrive/c/Users/Compaq/AppData/Local/Temp/ccOpNk3D.o:igraph_test.c:(.text+0x9a
> ): undefined reference to `_igraph_diameter'
> /cygdrive/c/Users/Compaq/AppData/Local/Temp/ccOpNk3D.o:igraph_test.c:(.text+0xb8
> ): undefined reference to `_igraph_destroy'
> collect2: ld returned 1 exit status
>
> Pep
>
> 2009/8/12 Gábor Csárdi <address@hidden>
>>
>> Yes, this seems to be a known bug:
>> https://bugs.launchpad.net/igraph/+bug/380622
>>
>> A workaround is to install the GMP package as well, I think it is
>> included in cygwin, do ./configure again, it should find GMP and then
>> the compilation should be fine.
>>
>> Best,
>> Gabor
>>
>> On Wed, Aug 12, 2009 at 3:52 PM, Josep Bau<address@hidden> wrote:
>> > Ooops, you're right!
>> > Thanks. Now I got it working but it's still not finishing the job. I get
>> > this at the end:
>> > Any clue?
>> >
>> > In file included from bliss_graph.hh:32,
>> >                  from bliss_partition.cc:21:
>> > bliss_bignum.hh: In member function `int
>> > igraph::BigNum::tostring(char**)':
>> > bliss_bignum.hh:77: error: `fabsl' undeclared (first use this function)
>> > bliss_bignum.hh:77: error: (Each undeclared identifier is reported only
>> > once
>> > for
>> >  each function it appears in.)
>> > make[3]: *** [libigraph_la-bliss_partition.lo] Error 1
>> > make[3]: Leaving directory `/home/Compaq/igraph-0.5.2/src'
>> > make[2]: *** [all] Error 2
>> > make[2]: Leaving directory `/home/Compaq/igraph-0.5.2/src'
>> > make[1]: *** [all-recursive] Error 1
>> > make[1]: Leaving directory `/home/Compaq/igraph-0.5.2'
>> > make: *** [all] Error 2
>> >
>> > 2009/8/12 Tamas Nepusz <address@hidden>
>> >>
>> >> Hi,
>> >>
>> >> > MAKE Version 4.0  Copyright (c) 1987, 1996 Borland International
>> >> It seems that you are using Borland make. Please install GNU make and
>> >> try with that. There should be a package for that in Cygwin.
>> >>
>> >> --
>> >> Tamas
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>>
>>
>> _______________________________________________
>> 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]